2015-08-19 05:48:57 +00:00
|
|
|
#ifndef __SCRIPT_OBJECT_SUPPORT_HPP__
|
|
|
|
#define __SCRIPT_OBJECT_SUPPORT_HPP__
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace pshag
|
2015-08-19 05:48:57 +00:00
|
|
|
{
|
|
|
|
|
2015-11-21 01:16:07 +00:00
|
|
|
enum class EScriptObjectState
|
2015-08-19 05:48:57 +00:00
|
|
|
{
|
2015-11-21 01:16:07 +00:00
|
|
|
Active,
|
|
|
|
Arrived,
|
|
|
|
Closed,
|
|
|
|
Entered,
|
|
|
|
Exited,
|
|
|
|
Inactive,
|
|
|
|
Inside,
|
|
|
|
MaxReached,
|
|
|
|
Open,
|
|
|
|
Zero,
|
|
|
|
Attack,
|
|
|
|
UNKS1,
|
|
|
|
Retreat,
|
|
|
|
Patrol,
|
|
|
|
Dead,
|
|
|
|
CameraPath,
|
|
|
|
CameraTarget,
|
|
|
|
UNKS2,
|
|
|
|
Play,
|
|
|
|
UNKS3,
|
|
|
|
DeathRattle,
|
|
|
|
UNKS4,
|
|
|
|
Damage,
|
|
|
|
UNKS6,
|
|
|
|
UNKS5,
|
|
|
|
Modify,
|
|
|
|
UNKS7,
|
|
|
|
UNKS8,
|
|
|
|
ScanDone,
|
|
|
|
UNKS9,
|
|
|
|
DFST,
|
|
|
|
ReflectedDamage,
|
|
|
|
InheritBounds
|
2015-08-19 05:48:57 +00:00
|
|
|
};
|
|
|
|
|
2015-11-21 01:16:07 +00:00
|
|
|
enum class EScriptObjectMessage
|
2015-08-19 05:48:57 +00:00
|
|
|
{
|
2015-11-21 01:16:07 +00:00
|
|
|
None = -1,
|
|
|
|
UNKM1 = 0,
|
|
|
|
Activate,
|
|
|
|
UNKM2,
|
|
|
|
Close,
|
|
|
|
Deactivate,
|
|
|
|
Decrement,
|
|
|
|
Follow,
|
|
|
|
Increment,
|
|
|
|
Next,
|
|
|
|
Open,
|
|
|
|
Reset,
|
|
|
|
ResetAndStart,
|
|
|
|
SetToMax,
|
|
|
|
SetToZero,
|
|
|
|
Start,
|
|
|
|
Stop,
|
|
|
|
StopAndReset,
|
|
|
|
ToggleActive,
|
|
|
|
UNKM3,
|
|
|
|
Action,
|
|
|
|
Play,
|
|
|
|
Alert
|
2015-08-19 05:48:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __SCRIPT_OBJECT_SUPPORT_HPP__
|