BVB Source Codes

CRYENGINE Show IBreakReplicatorListener.h Source code

Return Download CRYENGINE: download IBreakReplicatorListener.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.    Description:  network breakability: listen to interesting physical events from the game
  8.    -------------------------------------------------------------------------
  9.    History:
  10.    - 22/01/2007   10:34 : Created by Craig Tiller
  11. *************************************************************************/
  12. #ifndef __IBREAKREPLICATORLISTENER_H__
  13. #define __IBREAKREPLICATORLISTENER_H__
  14.  
  15. #pragma once
  16.  
  17. struct IBreakReplicatorListener;
  18. typedef _smart_ptr<IBreakReplicatorListener> IBreakReplicatorListenerPtr;
  19. struct IProceduralBreakType;
  20. typedef _smart_ptr<IProceduralBreakType>     IProceduralBreakTypePtr;
  21.  
  22. struct IBreakReplicatorListener : public _reference_target_t
  23. {
  24.         virtual const char* GetName() = 0;
  25.  
  26.         virtual bool        AttemptAbsorb(const IProceduralBreakTypePtr& pBT) = 0;
  27.  
  28.         virtual bool        AcceptUpdateMesh(const EventPhysUpdateMesh*) = 0;
  29.         virtual bool        AcceptCreateEntityPart(const EventPhysCreateEntityPart*) = 0;
  30.         virtual bool        AcceptRemoveEntityParts(const EventPhysRemoveEntityParts*) = 0;
  31.         virtual bool        AcceptJointBroken(const EventPhysJointBroken*) = 0;
  32.  
  33.         virtual void        OnSpawn(IEntity* pEntity, SEntitySpawnParams& params) = 0;
  34.         virtual void        OnRemove(IEntity* pEntity) = 0;
  35.  
  36.         virtual void        EndEvent(INetContext* pNetContext) = 0;
  37.  
  38.         virtual void        OnPostStep() = 0;
  39.         virtual void        OnStartFrame() = 0;
  40.         virtual bool        OnEndFrame() = 0;
  41.         virtual void        OnTimeout() = 0;
  42. };
  43.  
  44. #endif
  45.  
downloadIBreakReplicatorListener.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top