|
|
@ -14,8 +14,6 @@
|
|
|
|
#include <memory>
|
|
|
|
#include <memory>
|
|
|
|
#include "Script/Script.hpp"
|
|
|
|
#include "Script/Script.hpp"
|
|
|
|
#include "Player.hpp"
|
|
|
|
#include "Player.hpp"
|
|
|
|
//#include <boost/unordered_map.hpp>
|
|
|
|
|
|
|
|
//#include <boost/shared_ptr.hpp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -28,7 +26,6 @@ namespace mwmp
|
|
|
|
static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept;
|
|
|
|
static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept;
|
|
|
|
static void AddProcessor(WorldProcessor *processor) noexcept;
|
|
|
|
static void AddProcessor(WorldProcessor *processor) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
//typedef boost::unordered_map<unsigned char, boost::shared_ptr<WorldProcessor> > processors_t;
|
|
|
|
|
|
|
|
typedef std::unordered_map<unsigned char, std::unique_ptr<WorldProcessor> > processors_t;
|
|
|
|
typedef std::unordered_map<unsigned char, std::unique_ptr<WorldProcessor> > processors_t;
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
static processors_t processors;
|
|
|
|
static processors_t processors;
|
|
|
|