BVB Source Codes

CRYENGINE Show AIGroupProxy.h Source code

Return Download CRYENGINE: download AIGroupProxy.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __AIGroupProxy_h__
  4. #define __AIGroupProxy_h__
  5.  
  6. #pragma once
  7.  
  8. #include <CryAISystem/IAIObject.h>
  9. #include <CryAISystem/IAIGroupProxy.h>
  10.  
  11. class CAIGroupProxy :
  12.         public IAIGroupProxy
  13. {
  14.         friend class CAIProxyManager;
  15. public:
  16.         virtual void          Reset(EObjectResetType type);
  17.         virtual void          Serialize(TSerialize ser);
  18.  
  19.         virtual const char*   GetCurrentBehaviorName() const;
  20.         virtual const char*   GetPreviousBehaviorName() const;
  21.  
  22.         virtual void          Notify(uint32 notificationID, tAIObjectID senderID, const char* notification);
  23.         virtual void          SetBehaviour(const char* behaviour, bool callCDtor = true);
  24.  
  25.         virtual void          MemberAdded(tAIObjectID memberID);
  26.         virtual void          MemberRemoved(tAIObjectID memberID);
  27.  
  28.         virtual IScriptTable* GetScriptTable();
  29.  
  30. protected:
  31.         CAIGroupProxy(int groupID);
  32.         virtual ~CAIGroupProxy();
  33.  
  34.         bool CallScript(IScriptTable* table, const char* funcName);
  35.         bool CallNotification(IScriptTable* table, const char* notification, uint32 notificationID, IScriptTable* sender);
  36.         void PopulateMembersTable();
  37.  
  38.         typedef std::vector<tAIObjectID> Members;
  39.         Members          m_members;
  40.  
  41.         SmartScriptTable m_script;
  42.         SmartScriptTable m_prevBehavior;
  43.         SmartScriptTable m_behavior;
  44.         SmartScriptTable m_behaviorsTable;
  45.         SmartScriptTable m_membersTable;
  46.  
  47.         string           m_behaviorName;
  48. };
  49.  
  50. #endif
  51.  
downloadAIGroupProxy.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