MCPcopy Create free account
hub / github.com/dabing1022/Blog / SetID

Method SetID

GameAI/Game/BaseGameEntity.cpp:23–31  ·  view source on GitHub ↗

----------------------------- SetID ----------------------------------------- this must be called within each constructor to make sure the ID is set correctly. It verifies that the value passed to the method is greater or equal to the next valid ID, before setting the ID and incrementing the next valid ID -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected