mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
[General] Compress strings used in Worldstate packets
This commit is contained in:
parent
154a9ce5a6
commit
9cb9d4b7ca
@ -28,7 +28,7 @@ void PacketClientScriptSettings::Packet(RakNet::BitStream *newBitstream, bool se
|
|||||||
|
|
||||||
for (auto &&clientScriptId : worldstate->synchronizedClientScriptIds)
|
for (auto &&clientScriptId : worldstate->synchronizedClientScriptIds)
|
||||||
{
|
{
|
||||||
RW(clientScriptId, send);
|
RW(clientScriptId, send, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t clientGlobalsCount;
|
uint32_t clientGlobalsCount;
|
||||||
@ -46,6 +46,6 @@ void PacketClientScriptSettings::Packet(RakNet::BitStream *newBitstream, bool se
|
|||||||
|
|
||||||
for (auto &&clientGlobalId : worldstate->synchronizedClientGlobalIds)
|
for (auto &&clientGlobalId : worldstate->synchronizedClientGlobalIds)
|
||||||
{
|
{
|
||||||
RW(clientGlobalId, send);
|
RW(clientGlobalId, send, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,6 @@ void PacketWorldCollisionOverride::Packet(RakNet::BitStream *newBitstream, bool
|
|||||||
|
|
||||||
for (auto &&enforcedCollisionRefId : worldstate->enforcedCollisionRefIds)
|
for (auto &&enforcedCollisionRefId : worldstate->enforcedCollisionRefIds)
|
||||||
{
|
{
|
||||||
RW(enforcedCollisionRefId, send);
|
RW(enforcedCollisionRefId, send, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user