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

Method NewType

engine/Evaluator/express.cpp:2185–2193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2183}
2184
2185void GameState::NewType(const char* name, GameType val, CreateGameDataFunction* func, RString tname)
2186{
2187 GameTypeType en;
2188 en.name = name;
2189 en.value = int(val);
2190 en.createFunction = func;
2191 en.typeName = tname;
2192 _typeNames.Add(en);
2193}
2194
2195void GameState::NewNularOps(const GameNular* f, int count)
2196{

Callers 1

GameStateExt.cppFile · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected