Tags: pedroroma/Mirror
Tags
fix: properly stop client and server in OnApplicationQuit so that cli… …ents still get a chance to send then 'quit' packet instead of just timing out. Also fixes a bug where OnStopServer/OnStopClient were not called when stopping the Editor. (MirrorNetworking#936)
perf: use 0 for null strings (MirrorNetworking#926) * Use 0 for null strings * Fix test * No need for special case for "" * No need for special case for "" * Update Assets/Mirror/Runtime/NetworkReader.cs Co-Authored-By: Paul Pacheco <[email protected]>
perf: Use 0 for null byte arrays (MirrorNetworking#925) * Use 0 for null byte arrays * Update Assets/Mirror/Runtime/NetworkWriter.cs Co-Authored-By: Paul Pacheco <[email protected]> * Update comments * Update Assets/Mirror/Runtime/NetworkReader.cs Co-Authored-By: Paul Pacheco <[email protected]> * Update Assets/Mirror/Runtime/NetworkReader.cs Co-Authored-By: Paul Pacheco <[email protected]>
feat: network writer pool to avoid expensive allocations (MirrorNetwo… …rking#928)
perf: return the contents of the writer as an array segment (MirrorNe… …tworking#916) * Return the contents of the writer as an array segment * Use a safer ToArraySegment method and add some comments * refactor: for readability and debuggability * Test that ToArraySegment works * Updated with master * Update NetworkWriter.cs
perf: remove BinaryWriter, it allocates like crazy (MirrorNetworking#929 ) * perf: remove BinaryWriter, it allocates like crazy * useless comment * Update NetworkWriter.cs
fix: ArraySegment<byte> work in Messages (MirrorNetworking#919) Add ArraySegment<byte> tests and make them pass
PreviousNext