MCPcopy Create free account
hub / github.com/Segs/Segs / sendStateMode

Function sendStateMode

Projects/CoX/Servers/MapServer/EntityUpdateCodec.cpp:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void sendStateMode(const Entity &src, BitStream &bs)
84{
85 // if(state_mode & 2) then RespawnIfDead, AliveEnough==true, close some windows
86 PUTDEBUG("before sendStateMode");
87 bs.StoreBits(1,src.m_has_state_mode);
88 PUTDEBUG("before sendStateMode 2");
89 if(src.m_has_state_mode)
90 storePackedBitsConditional(bs, 3, uint32_t(src.m_state_mode));
91
92 PUTDEBUG("after sendStateMode");
93}
94
95void storeInterpolationTree(const Entity &/*src*/,BitStream &bs)
96{

Callers 1

serializetoFunction · 0.85

Calls 2

StoreBitsMethod · 0.45

Tested by

no test coverage detected