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

Method GetNetworkId

engine/Poseidon/World/Simulation/Simul.cpp:1493–1503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1491}
1492
1493NetworkId Entity::GetNetworkId() const
1494{
1495 if ((ObjectType)Object::_type == Primary)
1496 {
1497 return Object::GetNetworkId();
1498 }
1499 else
1500 {
1501 return _networkId;
1502 }
1503}
1504
1505NetworkMessageType Entity::GetNMType(NetworkMessageClass cls) const
1506{

Callers

nothing calls this directly

Calls 1

GetNetworkIdFunction · 0.85

Tested by

no test coverage detected