Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ is_instance
Method
is_instance
library/modules/Screen.cpp:747–750 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
745
}
746
747
bool dfhack_viewscreen::is_instance(df::viewscreen *screen)
748
{
749
return dfhack_screens.count(screen) != 0;
750
}
751
752
dfhack_viewscreen *dfhack_viewscreen::try_cast(df::viewscreen *screen)
753
{
Callers
3
getViewscreenByIdentity
Method · 0.80
virtual_cast
Function · 0.80
getMapViewport
Function · 0.80
Calls
1
count
Method · 0.45
Tested by
no test coverage detected