mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
TODO
This commit is contained in:
parent
5efcd8f113
commit
e7110d3015
@ -932,6 +932,7 @@ internal void Serialize(bool initialState, NetworkWriter ownerWriter, NetworkWri
|
|||||||
// 7 components fit into 1 byte. (previously 7 bytes)
|
// 7 components fit into 1 byte. (previously 7 bytes)
|
||||||
// 11 components fit into 2 bytes. (previously 11 bytes)
|
// 11 components fit into 2 bytes. (previously 11 bytes)
|
||||||
// 16 components fit into 3 bytes. (previously 16 bytes)
|
// 16 components fit into 3 bytes. (previously 16 bytes)
|
||||||
|
// TODO imer: client knows amount of comps, write N bytes instead
|
||||||
Compression.CompressVarUInt(ownerWriter, ownerMask);
|
Compression.CompressVarUInt(ownerWriter, ownerMask);
|
||||||
Compression.CompressVarUInt(observersWriter, observerMask);
|
Compression.CompressVarUInt(observersWriter, observerMask);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user