MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / SetMemberVector

Method SetMemberVector

CrySystem/ScriptObjectEntity.cpp:71–79  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

69
70//////////////////////////////////////////////////////////////////////////
71void CScriptObjectEntity::SetMemberVector( SOE_MEMBER_LUA_TABLES member,const Vec3 &vec )
72{
73 IScriptObject *pVec = m_memberSO[member];
74 pVec->BeginSetGetChain();
75 pVec->SetValueChain("x",vec.x);
76 pVec->SetValueChain("y",vec.y);
77 pVec->SetValueChain("z",vec.z);
78 pVec->EndSetGetChain();
79}
80
81void CScriptObjectEntity::SetEntity(IEntity *pEntity)
82{

Callers

nothing calls this directly

Calls 3

BeginSetGetChainMethod · 0.80
SetValueChainMethod · 0.80
EndSetGetChainMethod · 0.80

Tested by

no test coverage detected