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

Method ASGetFloatVar

Source/Objects/movementobject.cpp:4626–4628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4624}
4625
4626float MovementObject::ASGetFloatVar(std::string name) {
4627 return *((float*)as_context->GetVarPtr(name.c_str()));
4628}
4629
4630bool MovementObject::ASGetBoolVar(std::string name) {
4631 return *((bool*)as_context->GetVarPtr(name.c_str()));

Callers

nothing calls this directly

Calls 2

GetVarPtrMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected