SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Classes | Public Member Functions | Public Attributes | Protected Attributes | List of all members
EntityManager Class Reference

#include <EntityStorage.h>

Collaboration diagram for EntityManager:
Collaboration graph

Public Member Functions

 EntityManager ()
void sendDebuggedEntities (BitStream &tgt) const
void sendGlobalEntDebugInfo (BitStream &tgt) const
void sendDeletes (BitStream &tgt, MapClientSession &client) const
 send the Entity removals to bring the world-state beliefs between server and client into sync More...
void sendEntities (BitStream &tgt, MapClientSession &target, bool is_incremental) const
void InsertPlayer (Entity *)
EntityCreatePlayer ()
EntityCreateNpc (const GameDataStore &data, const Parse_NPC &tpl, int idx, int variant)
EntityCreateGeneric (const GameDataStore &data, const Parse_NPC &tpl, int idx, int variant, EntType type)
EntityCreateCritter (const GameDataStore &data, const Parse_NPC &tpl, int idx, int variant, int level)
void removeEntityFromActiveList (Entity *ent)
size_t active_entities ()
ACE_Thread_Mutex & getEntitiesMutex ()

Public Attributes

EntityStore m_store
lEntity m_live_entlist

Protected Attributes

ACE_Thread_Mutex m_mutex

Member Function Documentation

◆ active_entities()

size_t EntityManager::active_entities ( )
Here is the caller graph for this function:

◆ getEntitiesMutex()

ACE_Thread_Mutex& EntityManager::getEntitiesMutex ( )

Member Data Documentation

◆ m_live_entlist

lEntity EntityManager::m_live_entlist

◆ m_mutex

ACE_Thread_Mutex EntityManager::m_mutex

◆ m_store

EntityStore EntityManager::m_store

The documentation for this class was generated from the following files: