22 #ifndef STARTREK_ACTION_H 23 #define STARTREK_ACTION_H 25 #include "common/serializer.h" 40 ACTION_TOUCHED_WARP = 6,
41 ACTION_TOUCHED_HOTSPOT = 7,
42 ACTION_TIMER_EXPIRED = 8,
44 ACTION_DONE_ANIM = 10,
45 ACTION_DONE_WALK = 12,
49 ACTION_FINISHED_ANIMATION = 10,
50 ACTION_FINISHED_WALKING = 12,
65 byte activeObject()
const {
68 byte passiveObject()
const {
72 bool operator==(
const Action &a)
const {
73 return type == a.type && b1 == a.b1 && b2 == a.b2 && b3 == a.b3;
76 uint32 getBitmask()
const {
89 uint32 toUint32()
const {
90 return (type << 24) | (b1 << 16) | (b2 << 8) | (b3 << 0);
Definition: serializer.h:79