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

Method SetMemberVector

CryGame/ScriptObjectPlayer.cpp:239–247  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

237
238//////////////////////////////////////////////////////////////////////////
239void CScriptObjectPlayer::SetMemberVector( SOP_MEMBER_LUA_TABLES member,const Vec3 &vec )
240{
241 IScriptObject *pVec = m_memberSO[member];
242 pVec->BeginSetGetChain();
243 pVec->SetValueChain("x",vec.x);
244 pVec->SetValueChain("y",vec.y);
245 pVec->SetValueChain("z",vec.z);
246 pVec->EndSetGetChain();
247}
248
249void CScriptObjectPlayer::SetPlayer(CPlayer *pPlayer)
250{

Callers

nothing calls this directly

Calls 3

BeginSetGetChainMethod · 0.80
SetValueChainMethod · 0.80
EndSetGetChainMethod · 0.80

Tested by

no test coverage detected