1 #ifndef __PLAYERMANAGER_H__ 2 #define __PLAYERMANAGER_H__ 4 #include <boost/unordered_map.hpp> 20 typedef unordered_map<u32, PlayerCharacterPtr> PlayerMap;
43 void OnRecvMove(
u32 Uuid,
float X,
float Y,
float Z,
float Rot);
68 #endif // #ifndef __PLAYERMANAGER_H__ Definition: PlayerManager.h:15
void BroadcastPacketWithRange(PacketBase *pPacket, const Vector3D &Center, float Range, Client *pIgnoreClient=NULL)
Definition: PlayerManager.cpp:96
void Remove(u32 Uuid)
Definition: PlayerManager.cpp:55
void OnRecvMove(u32 Uuid, float X, float Y, float Z, float Rot)
Definition: PlayerManager.cpp:73
u32 GetCount() const
Definition: PlayerManager.h:52
~PlayerManager()
Definition: PlayerManager.h:28
int s32
Definition: TypeDefs.h:9
unsigned int u32
Definition: TypeDefs.h:10
void BroadcastPacket(PacketBase *pPacket, Client *pIgnoreClient=NULL)
Definition: PlayerManager.cpp:85
クライアントクラス
Definition: Client.h:26
プレイヤーリストパケット
Definition: PacketPlayerList.h:20
void GetAllAsCharacterPtr(std::vector< CharacterPtr > &OutList) const
Definition: PlayerManager.cpp:114
Definition: PacketBase.h:9
PlayerCharacterPtr Get(u32 Uuid) const
Definition: PlayerManager.cpp:65
PlayerManager()
Definition: PlayerManager.cpp:11
weak_ptr< PlayerCharacter > PlayerCharacterPtr
Definition: WeakPtrDefine.h:13
void Poll(s32 DeltaTime)
Definition: PlayerManager.cpp:16
void Add(u32 Uuid, PlayerCharacterPtr pPlayer)
Definition: PlayerManager.cpp:37