1 #ifndef __ANPANMANAGER_H__ 2 #define __ANPANMANAGER_H__ 4 #include <boost/unordered_map.hpp> 5 #include <boost/function.hpp> 20 typedef shared_ptr<Anpan> AnpanSharedPtr;
21 typedef unordered_map<unsigned int, AnpanSharedPtr> AnpanMap;
22 typedef boost::function<void(unsigned int, AnpanPtr)> SpawnFunc;
23 typedef std::vector<AnpanPopArea *> AnpanPopAreaList;
37 void Poll(
int DeltaTime);
63 unsigned int NextUuid;
69 AnpanPopAreaList PopAreaList;
73 void SpawnAnpan(AnpanSharedPtr pAnpan);
76 void Update(
int DeltaTime);
80 #endif // #ifndef __ANPANMANAGER_H__ weak_ptr< Anpan > AnpanPtr
Definition: WeakPtrDefine.h:16
アンパンリストパケット
Definition: PacketAnpanList.h:20
void Spawn(u32 MasterId, const Vector3D &Position)
Definition: AnpanManager.cpp:70
AnpanManager()
Definition: AnpanManager.cpp:11
AnpanPtr Get(u32 Uuid) const
Definition: AnpanManager.cpp:49
void GetAllAsCharacterPtr(std::vector< CharacterPtr > &OutList) const
Definition: AnpanManager.cpp:78
~AnpanManager()
Definition: AnpanManager.cpp:17
Definition: AnpanManager.h:15
Definition: AnpanPopArea.h:14
void Poll(int DeltaTime)
Definition: AnpanManager.cpp:39
unsigned int u32
Definition: TypeDefs.h:10
u32 GetCount() const
Definition: AnpanManager.h:49
void MakeListPacket(PacketAnpanList &Packet)
Definition: AnpanManager.cpp:57
void SetSpawnCallback(const SpawnFunc &InOnSpawn)
Definition: AnpanManager.h:43
void Initialize(u32 AreaId)
Definition: AnpanManager.cpp:26