2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CSTATEMANAGER_HPP__
|
|
|
|
#define __PSHAG_CSTATEMANAGER_HPP__
|
2015-08-17 05:26:58 +00:00
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include "CBasics.hpp"
|
2015-08-19 05:48:57 +00:00
|
|
|
#include "ScriptObjectSupport.hpp"
|
2015-08-17 05:26:58 +00:00
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2015-08-17 22:05:00 +00:00
|
|
|
{
|
2015-08-22 01:58:41 +00:00
|
|
|
class CScriptMailbox;
|
|
|
|
class CMapWorldInfo;
|
|
|
|
class CPlayerState;
|
|
|
|
class CWorldTransManager;
|
2015-08-17 22:05:00 +00:00
|
|
|
|
2015-08-18 05:54:43 +00:00
|
|
|
class CStateManager
|
2015-08-17 05:26:58 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CStateManager(const std::weak_ptr<CScriptMailbox>&,
|
|
|
|
const std::weak_ptr<CMapWorldInfo>&,
|
|
|
|
const std::weak_ptr<CPlayerState>&,
|
|
|
|
const std::weak_ptr<CWorldTransManager>&);
|
2015-08-19 05:48:57 +00:00
|
|
|
|
|
|
|
void GetObjectListById() const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
void GetObjectById(TUniqueId uid) const
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
void SendScriptMsg(TUniqueId uid, TEditorId eid, EScriptObjectMessage msg, EScriptObjectState state);
|
2015-08-17 05:26:58 +00:00
|
|
|
};
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
}
|
|
|
|
|
2015-08-17 05:26:58 +00:00
|
|
|
#endif
|