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

Method ASSetFloatVar

Source/Objects/movementobject.cpp:4642–4644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4640}
4641
4642void MovementObject::ASSetFloatVar(std::string name, float value) {
4643 *(float*)as_context->GetVarPtr(name.c_str()) = value;
4644}
4645
4646void MovementObject::ASSetBoolVar(std::string name, bool value) {
4647 *(bool*)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