MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASGetBoolVar

Method ASGetBoolVar

Source/Objects/movementobject.cpp:4630–4632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4628}
4629
4630bool MovementObject::ASGetBoolVar(std::string name) {
4631 return *((bool*)as_context->GetVarPtr(name.c_str()));
4632}
4633
4634void MovementObject::ASSetIntVar(std::string name, int value) {
4635 *(int*)as_context->GetVarPtr(name.c_str()) = value;

Callers

nothing calls this directly

Calls 2

GetVarPtrMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected