//----------------------------------------------------------------------------- bool CNetworkedPhysicsEntity::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); CRY_ASSERT_MESSAGE(false, "CCTFFlag::ReloadExtension not implemented"); return false; }
bool CRuntimeAreaObject::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); CRY_ASSERT_MESSAGE(false, "CRuntimeAreaObject::ReloadExtension not implemented"); return false; }
//------------------------------------------------------------------------ bool CInventory::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); Destroy(); return true; }
bool CDangerousRigidBody::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); CRY_ASSERT_MESSAGE(false, "CDangerousRigidBody::ReloadExtension not implemented"); return true; }
bool CVicinityDependentObjectMover::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); VICINITYDEPENDENTOBJECTMOVER::RegisterEvents( *this, *pGameObject ); CRY_ASSERT_MESSAGE( false, "CVicinityDependentObjectMover::ReloadExtension not implemented" ); return false; }
bool CSmartMine::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); SM::RegisterEvents( *this, *pGameObject ); CRY_ASSERT_MESSAGE(false, "CSmartMine::ReloadExtension not implemented"); return false; }
bool CBoundingContainer::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); BC::RegisterEvents( *this, *pGameObject ); CRY_ASSERT_MESSAGE(false, "CBoundingContainer::ReloadExtension not implemented"); return false; }
//------------------------------------------------------------------------ bool CScriptControlledPhysics::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); if (IPhysicalEntity *pPE=GetEntity()->GetPhysics()) { SCP::RegisterEvents(*this,*pGameObject); } else { pGameObject->UnRegisterExtForEvents( this, NULL, 0 ); } CRY_ASSERT_MESSAGE(false, "CScriptControlledPhysics::ReloadExtension not implemented"); return false; }
bool CMonoActor::ReloadExtension( IGameObject *pGameObject, const SEntitySpawnParams ¶ms ) { CRY_ASSERT(GetGameObject() == pGameObject); ResetGameObject(); if (!GetGameObject()->CaptureView(this)) return false; if (!GetGameObject()->CaptureProfileManager(this)) return false; // Re-enable the physics post step callback and CollisionLogging (were cleared during ResetGameObject()). GetGameObject()->EnablePhysicsEvent( true, eEPE_OnPostStepImmediate | eEPE_OnCollisionLogged); if (!GetGameObject()->BindToNetwork()) return false; gEnv->pGameFramework->GetIActorSystem()->RemoveActor(params.prevId); gEnv->pGameFramework->GetIActorSystem()->AddActor(GetEntityId(), this); SetAspectProfile(eEA_Physics, eAP_NotPhysicalized); return true; }
bool CDeflectorShield::ReloadExtension(IGameObject * pGameObject, const SEntitySpawnParams ¶ms) { ResetGameObject(); DS::RegisterEvents( *this, *pGameObject ); return true; }
bool CLipSync_TransitionQueue::ReloadExtension(IGameObject* pGameObject, const SEntitySpawnParams ¶ms) { ResetGameObject(); return true; }
//------------------------------------------------------------------------ bool CMPPath::ReloadExtension( IGameObject * pGameObject, const SEntitySpawnParams ¶ms ) { ResetGameObject(); CRY_ASSERT(!"CMPPath::ReloadExtension not implemented"); return false; }
bool CWaterPuddle::ReloadExtension(IGameObject * pGameObject, const SEntitySpawnParams ¶ms) { ResetGameObject(); return true; }