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

Method FindLayer

src/GameObjects/GameObject.cpp:625–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625CGameItem *CGameObject::FindLayer(int layer) const
626{
627 QFOR(obj, m_Items, CGameItem *)
628 {
629 if (obj->Layer == layer)
630 {
631 return obj;
632 }
633 }
634 return nullptr;
635}
636
637bool CGameObject::Caller()
638{

Callers 15

OpenBackpackMethod · 0.80
QFORFunction · 0.80
InitToolTipMethod · 0.80
UpdateContentMethod · 0.80
PrepareContentMethod · 0.80
UpdateContentMethod · 0.80
OnLeftMouseButtonUpMethod · 0.80
CountItemBackPackMethod · 0.80
PACKET_HANDLERFunction · 0.80
DrawCharacterMethod · 0.80
CharacterPixelsInXYMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected