Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bfbbdecomp/bfbb
/ NPCIsTheLocker
Method
NPCIsTheLocker
src/SB/Game/zNPCSupport.cpp:179–189 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
}
178
179
S32 NPCWidget::NPCIsTheLocker(const zNPCCommon* npc)
180
{
181
if ((S32)IsLocked() == 0)
182
{
183
return 0;
184
}
185
else
186
{
187
return npc == npc_ownerlock ? 1 : 0;
188
}
189
}
190
191
S32 NPCWidget::IsVisible()
192
{
Callers
2
Off
Method · 0.95
Process
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected