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

Function sendBuffs

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

end of anonoymous namespace

Source from the content-addressed store, hash-verified

400////////////////////////////////////////////////////////////////////////////////////////////
401} // end of anonoymous namespace
402void sendBuffs(const Entity &src, BitStream &bs)
403{
404 bs.StorePackedBits(5, src.m_buffs.size());
405 for(const Buffs &buff : src.m_buffs)
406 buff.m_buff_info.serializeto(bs);
407}
408
409void serializeto(const Entity & src, ClientEntityStateBelief &belief, BitStream &bs )
410{

Callers 2

sendBuffsConditionalFunction · 0.85

Calls 3

StorePackedBitsMethod · 0.45
sizeMethod · 0.45
serializetoMethod · 0.45

Tested by

no test coverage detected