mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-11 07:47:42 +00:00
Start matching CScriptPlatform; more CScriptMazeNode
Former-commit-id: 135d63412c
This commit is contained in:
@@ -15,27 +15,30 @@ class CEntity {
|
||||
public:
|
||||
virtual ~CEntity();
|
||||
virtual void Accept(IVisitor& visitor) = 0;
|
||||
virtual void PreThink(float dt, CStateManager& mgr);
|
||||
virtual void Think(float dt, CStateManager& mgr);
|
||||
virtual void PreThink(f32 dt, CStateManager& mgr);
|
||||
virtual void Think(f32 dt, CStateManager& mgr);
|
||||
virtual void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr);
|
||||
virtual void SetActive(bool active);
|
||||
|
||||
CEntity(TUniqueId id, const CEntityInfo& info, bool active, const rstl::string& name);
|
||||
|
||||
void SendScriptMsgs(EScriptObjectState state, CStateManager& mgr, EScriptObjectMessage msg);
|
||||
static inline void SendScriptMsg(CStateManager& mgr, CEntity* to, TUniqueId sender, EScriptObjectMessage msg) {
|
||||
mgr.SendScriptMsg(to, sender, msg);
|
||||
}
|
||||
TUniqueId GetUniqueId() const { return x8_uid; }
|
||||
TAreaId GetAreaId() const;
|
||||
bool GetActive() const { return x30_24_active; }
|
||||
const rstl::vector<SConnection>& GetConnectionList() const { return x20_conns; }
|
||||
const rstl::vector< SConnection >& GetConnectionList() const { return x20_conns; }
|
||||
|
||||
static rstl::vector<SConnection> NullConnectionList;
|
||||
static rstl::vector< SConnection > NullConnectionList;
|
||||
|
||||
protected:
|
||||
TAreaId x4_areaId;
|
||||
TUniqueId x8_uid;
|
||||
TEditorId xc_editorId;
|
||||
rstl::string x10_name;
|
||||
rstl::vector<SConnection> x20_conns;
|
||||
rstl::vector< SConnection > x20_conns;
|
||||
bool x30_24_active : 1;
|
||||
bool x30_25_inGraveyard : 1;
|
||||
bool x30_26_scriptingBlocked : 1;
|
||||
|
||||
Reference in New Issue
Block a user