This commit is contained in:
vis2k 2022-10-10 14:52:19 +02:00
parent 5efcd8f113
commit e7110d3015

View File

@ -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);