2015-08-17 05:26:58 +00:00
|
|
|
#ifndef __RETRO_CSTATEMANAGER_HPP__
|
|
|
|
#define __RETRO_CSTATEMANAGER_HPP__
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include "CBasics.hpp"
|
2015-08-19 05:48:57 +00:00
|
|
|
#include "ScriptObjectSupport.hpp"
|
2015-08-17 05:26:58 +00:00
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
namespace Retro
|
|
|
|
{
|
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
|