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

Method IdxSendRaw

engine/Poseidon/Network/NetworkMsgContext.cpp:515–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513 size = valTyped.GetVal().Size();
514 return TMOK;
515}
516
517TMError NetworkMessageContext::IdxSendRaw(int index, void* value, int size)
518{
519 NET_ERROR(_sending);
520 TRANSFER_FORMAT
521 NET_ERROR(item.type == NDTRawData);
522 _msg->values[index] = RefNetworkDataTyped<AutoArray<char>>(value, size);
523 return TMOK;
524}
525

Callers 2

TransferMsgMethod · 0.80
TransferMsgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected