MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / TestObjectIDExists

Method TestObjectIDExists

TombEngine/Game/Hud/DrawItems/DrawItems.cpp:123–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 bool DrawItemsController::TestObjectIDExists(GAME_OBJECT_ID objectID)
124 {
125 for (auto& item : _displayItems)
126 {
127 if (item.GetObjectID() == objectID)
128 {
129 return true;
130 }
131 }
132
133 return false;
134 }
135
136 unsigned int DrawItemsController::AddItem(GAME_OBJECT_ID objectID, const Vector3& pos, const EulerAngles& orient, const Vector3& scale, int meshBits)
137 {

Callers

nothing calls this directly

Calls 1

GetObjectIDMethod · 0.45

Tested by

no test coverage detected