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

Method TestFlags

TombEngine/Game/items.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool ItemInfo::TestFlags(int id, short flags) const
80{
81 if (id < 0 || id > 7)
82 return false;
83
84 return (ItemFlags[id] & flags) != 0;
85}
86
87bool ItemInfo::TestFlagField(int id, short flags) const
88{

Callers 6

GetLizardItemNumberFunction · 0.80
PunaControlFunction · 0.80
PunaHitFunction · 0.80
SpawnShieldFunction · 0.80
SpawnShockwaveExplosionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected