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

Method TestFlagField

TombEngine/Game/items.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87bool ItemInfo::TestFlagField(int id, short flags) const
88{
89 if (id < 0 || id > 7)
90 return false;
91
92 return (ItemFlags[id] == flags);
93}
94
95short ItemInfo::GetFlagField(int id) const
96{

Callers 7

LizardControlFunction · 0.80
GetLizardTargetPositionFunction · 0.80
SpawnLizardFunction · 0.80
PunaControlFunction · 0.80
PunaHitFunction · 0.80
CanTargetPlayerFunction · 0.80
ControlWingedMutantFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected