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

Function GetNetIdObj

engine/Poseidon/Game/Commands/GameStateExtWorld.cpp:1369–1378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1367}
1368
1369GameValue GetNetIdObj(const GameState* state, GameValuePar oper1)
1370{
1371 Object* obj = GetObject(oper1);
1372 if (!obj)
1373 {
1374 return NOTHING;
1375 }
1376
1377 return NetObjToNetId(obj);
1378}
1379
1380GameValue GetObjFromNetId(const GameState* state, GameValuePar oper)
1381{

Callers

nothing calls this directly

Calls 2

NetObjToNetIdFunction · 0.85
GetObjectFunction · 0.70

Tested by

no test coverage detected