MCPcopy Create free account
hub / github.com/crossuo/crossuo / InList

Method InList

src/Managers/CorpseManager.cpp:48–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool CCorpseManager::InList(int corpseSerial, int objectSerial)
49{
50 for (const CCorpse &item : m_List)
51 {
52 if (item.CorpseSerial == corpseSerial || item.ObjectSerial == objectSerial)
53 {
54 return true;
55 }
56 }
57
58 return false;
59}
60
61CGameObject *CCorpseManager::GetCorpseObject(int serial)
62{

Callers 2

DrawCorpseMethod · 0.80
CorpsePixelsInXYMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected