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

Method TransferMsgSimple

engine/Poseidon/Network/NetworkMsg.cpp:911–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909 ITRANSF(id)
910 return TMOK;
911}
912
913TMError MagazineNetworkInfo::TransferMsgSimple(NetworkMessageContext& ctx)
914{
915 NET_ERROR(dynamic_cast<const IndicesMagazine*>(ctx.GetIndices()))
916 const IndicesMagazine* indices = static_cast<const IndicesMagazine*>(ctx.GetIndices());
917
918 ITRANSF(ammo)
919 ITRANSF(creator)
920 ITRANSF(id)
921
922 return TMOK;
923}
924

Callers 2

CalculateErrorMethod · 0.80

Calls 1

GetIndicesMethod · 0.45

Tested by

no test coverage detected