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

Method ASSetIntVar

Source/Objects/movementobject.cpp:4634–4636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4632}
4633
4634void MovementObject::ASSetIntVar(std::string name, int value) {
4635 *(int*)as_context->GetVarPtr(name.c_str()) = value;
4636}
4637
4638void MovementObject::ASSetArrayIntVar(std::string name, int index, int value) {
4639 *(int*)as_context->GetArrayVarPtr(name, index) = value;

Callers

nothing calls this directly

Calls 2

GetVarPtrMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected