2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-19 21:25:26 +00:00
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CScriptCounter : public CEntity
|
|
|
|
{
|
2017-07-07 12:23:20 +00:00
|
|
|
s32 x34_initial;
|
|
|
|
s32 x38_current;
|
|
|
|
s32 x3c_max;
|
|
|
|
bool x40_autoReset;
|
2016-04-19 21:25:26 +00:00
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptCounter(TUniqueId, std::string_view name, const CEntityInfo& info,
|
2017-07-07 12:23:20 +00:00
|
|
|
s32, s32, bool, bool);
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
2017-07-07 12:23:20 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
2016-04-19 21:25:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|