MCPcopy 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
747bool dfhack_viewscreen::is_instance(df::viewscreen *screen)
748{
749 return dfhack_screens.count(screen) != 0;
750}
751
752dfhack_viewscreen *dfhack_viewscreen::try_cast(df::viewscreen *screen)
753{

Callers 3

virtual_castFunction · 0.80
getMapViewportFunction · 0.80

Calls 1

countMethod · 0.45

Tested by

no test coverage detected