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

Function ShowWarrant

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

Source from the content-addressed store, hash-verified

2179 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2180 if (map)
2181 {
2182 map->ShowNotepad(oper1);
2183 }
2184 return NOTHING;
2185}
2186
2187GameValue ShowWarrant(const GameState* state, GameValuePar oper1)
2188{
2189 DisplayMap* map = dynamic_cast<DisplayMap*>(GWorld->Map());
2190 if (map)
2191 {
2192 map->ShowWarrant(oper1);

Callers 2

DisplayMainMapMethod · 0.85
DisplayMapMethod · 0.85

Calls 2

ShowWarrantMethod · 0.80
MapMethod · 0.45

Tested by

no test coverage detected