MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / IsVisible

Method IsVisible

src/SB/Game/zNPCSupport.cpp:191–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191S32 NPCWidget::IsVisible()
192{
193 if (base_widge == NULL)
194 {
195 return 0;
196 }
197 else if (base_widge->baseType != 0x21)
198 {
199 return 0;
200 }
201 else
202 {
203 return xEntIsVisible((xEnt*)base_widge);
204 }
205}
206
207S32 NPCWidget::Lock(const zNPCCommon* npc)
208{

Callers 2

ProcessMethod · 0.80

Calls 1

xEntIsVisibleFunction · 0.85

Tested by

no test coverage detected