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

Method ASSetBoolVar

Source/Objects/movementobject.cpp:4646–4648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4644}
4645
4646void MovementObject::ASSetBoolVar(std::string name, bool value) {
4647 *(bool*)as_context->GetVarPtr(name.c_str()) = value;
4648}
4649
4650void MovementObject::Dispose() {
4651 as_context->CallScriptFunction(as_funcs.dispose);

Callers

nothing calls this directly

Calls 2

GetVarPtrMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected