MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ShowWatch

Function ShowWatch

engine/Poseidon/Game/Commands/GameStateExtUi.cpp:2141–2149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2139 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2140 if (map)
2141 {
2142 map->ShowMap(oper1);
2143 }
2144 return NOTHING;
2145}
2146
2147GameValue ShowWatch(const GameState* state, GameValuePar oper1)
2148{
2149 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2150 if (map)
2151 {
2152 map->ShowWatch(oper1);

Callers 2

DisplayGetReadyMethod · 0.85
DisplayMapMethod · 0.85

Calls 2

ShowWatchMethod · 0.80
MapMethod · 0.45

Tested by

no test coverage detected