MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / ProcessEvent

Method ProcessEvent

Code/CryEngine/CryEntitySystem/DynamicResponseProxy.cpp:55–62  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

53
54//////////////////////////////////////////////////////////////////////////
55void CDynamicResponseProxy::ProcessEvent(SEntityEvent& event)
56{
57 if (event.event == ENTITY_EVENT_RESET)
58 {
59 SET_DRS_USER_SCOPED("DrsProxy Reset Event");
60 m_pResponseActor->GetLocalVariables()->SetVariableValue("Name", m_pResponseActor->GetName());
61 }
62}
63
64//////////////////////////////////////////////////////////////////////////
65bool CDynamicResponseProxy::NeedSerialize()

Callers

nothing calls this directly

Calls 3

SetVariableValueMethod · 0.45
GetLocalVariablesMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected