BVB Source Codes

CRYENGINE Show GroupManager.h Source code

Return Download CRYENGINE: download GroupManager.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __GroupManager_h__
  4. #define __GroupManager_h__
  5.  
  6. #include "Group.h"
  7.  
  8. class CGroupManager
  9. {
  10. public:
  11.         CGroupManager();
  12.         ~CGroupManager();
  13.  
  14.         void                  Reset(EObjectResetType type);
  15.         void                  Update(float updateTime);
  16.  
  17.         void                  AddGroupMember(const GroupID& groupID, tAIObjectID objectID);
  18.         void                  RemoveGroupMember(const GroupID& groupID, tAIObjectID objectID);
  19.  
  20.         Group&                GetGroup(const GroupID& groupID);
  21.         const Group&          GetGroup(const GroupID& groupID) const;
  22.  
  23.         uint32                GetGroupMemberCount(const GroupID& groupID) const;
  24.  
  25.         Group::NotificationID NotifyGroup(const GroupID& groupID, tAIObjectID senderID, const char* name);
  26.  
  27.         void                  Serialize(TSerialize ser);
  28.  
  29. private:
  30.         typedef std::unordered_map<GroupID, Group, stl::hash_uint32> Groups;
  31.         Groups                m_groups;
  32.  
  33.         Group::NotificationID m_notifications;
  34. };
  35.  
  36. #endif //__GroupManager_h__
  37.  
downloadGroupManager.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