MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Put

Method Put

engine/Poseidon/Network/NetworkMsgContext.cpp:607–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607// Raw message
608
609void NetworkMessageRaw::Put(bool value, NetworkCompressionType compression)
610{
611 switch (compression)
612 {
613 case NCTNone:
614 case NCTDefault:
615 Write(&value, sizeof(bool));
616 break;
617 default:
618 LOG_ERROR(Network, "Unsupported compression method {}", (int)compression);
619 break;
620 }
621}
622

Callers 5

SendMsgRemoteMethod · 0.45
SendMsgQueueMethod · 0.45
SendMsgRawMethod · 0.45
EncodeMsgItemMethod · 0.45

Calls 8

saturateFunction · 0.85
PutFunction · 0.85
GetIdMethod · 0.80
toIntMethod · 0.80
toIntFunction · 0.50
GetLengthMethod · 0.45
CountMethod · 0.45
EncodeMethod · 0.45

Tested by

no test coverage detected