AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "MoveSplineFlag.h"
Public Types | |
enum | eFlags { None = 0x00000000 , Done = 0x00000100 , Falling = 0x00000200 , No_Spline = 0x00000400 , Parabolic = 0x00000800 , Walkmode = 0x00001000 , Flying = 0x00002000 , OrientationFixed = 0x00004000 , Final_Point = 0x00008000 , Final_Target = 0x00010000 , Final_Angle = 0x00020000 , Catmullrom = 0x00040000 , Cyclic = 0x00080000 , Enter_Cycle = 0x00100000 , Animation = 0x00200000 , Frozen = 0x00400000 , TransportEnter = 0x00800000 , TransportExit = 0x01000000 , Unknown7 = 0x02000000 , Unknown8 = 0x04000000 , OrientationInversed = 0x08000000 , Unknown10 = 0x10000000 , Unknown11 = 0x20000000 , Unknown12 = 0x40000000 , Unknown13 = 0x80000000 , Mask_Final_Facing = Final_Point | Final_Target | Final_Angle , Mask_Animations = 0xFF , Mask_No_Monster_Move = Mask_Final_Facing | Mask_Animations | Done , Mask_CatmullRom = Flying | Catmullrom , Mask_Unused = No_Spline | Enter_Cycle | Frozen | Unknown7 | Unknown8 | Unknown10 | Unknown11 | Unknown12 | Unknown13 } |
Public Member Functions | |
uint32 & | raw () |
const uint32 & | raw () const |
MoveSplineFlag () | |
MoveSplineFlag (uint32 f) | |
MoveSplineFlag (const MoveSplineFlag &f) | |
MoveSplineFlag (MoveSplineFlag &&)=default | |
MoveSplineFlag & | operator= (const MoveSplineFlag &)=default |
MoveSplineFlag & | operator= (MoveSplineFlag &&)=default |
bool | isSmooth () const |
bool | isLinear () const |
bool | isFacing () const |
uint8 | getAnimationId () const |
bool | hasAllFlags (uint32 f) const |
bool | hasFlag (uint32 f) const |
uint32 | operator& (uint32 f) const |
uint32 | operator| (uint32 f) const |
std::string | ToString () const |
void | operator&= (uint32 f) |
void | operator|= (uint32 f) |
void | EnableAnimation (uint8 anim) |
void | EnableParabolic () |
void | EnableFalling () |
void | EnableFlying () |
void | EnableCatmullRom () |
void | EnableFacingPoint () |
void | EnableFacingAngle () |
void | EnableFacingTarget () |
void | EnableTransportEnter () |
void | EnableTransportExit () |
Public Attributes | |
uint8 | animId: 8 |
bool | done: 1 |
bool | falling: 1 |
bool | no_spline: 1 |
bool | parabolic: 1 |
bool | walkmode: 1 |
bool | flying: 1 |
bool | orientationFixed: 1 |
bool | final_point: 1 |
bool | final_target: 1 |
bool | final_angle: 1 |
bool | catmullrom: 1 |
bool | cyclic: 1 |
bool | enter_cycle: 1 |
bool | animation: 1 |
bool | frozen: 1 |
bool | transportEnter: 1 |
bool | transportExit: 1 |
bool | unknown7: 1 |
bool | unknown8: 1 |
bool | orientationInversed: 1 |
bool | unknown10: 1 |
bool | unknown11: 1 |
bool | unknown12: 1 |
bool | unknown13: 1 |
|
inline |
|
default |
|
inline |
References Animation, Falling, Mask_Animations, Parabolic, and raw().
Referenced by Movement::MoveSplineInit::SetAnimation().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Animation, Falling, Flying, Mask_Animations, Parabolic, and raw().
Referenced by Movement::MoveSplineInit::SetFall().
|
inline |
References Catmullrom, Falling, Flying, and raw().
Referenced by Movement::MoveSplineInit::SetFly().
|
inline |
References Animation, Falling, Mask_Animations, Parabolic, and raw().
Referenced by Movement::MoveSplineInit::SetParabolic().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References isSmooth().
|
inline |
References Mask_CatmullRom, and raw().
Referenced by Movement::MoveSpline::init_spline(), and isLinear().
|
default |
|
default |
|
inline |
Referenced by EnableAnimation(), EnableCatmullRom(), EnableFacingAngle(), EnableFacingPoint(), EnableFacingTarget(), EnableFalling(), EnableFlying(), EnableParabolic(), EnableTransportEnter(), EnableTransportExit(), hasAllFlags(), hasFlag(), isFacing(), isSmooth(), MoveSplineFlag(), operator&(), operator&=(), operator|(), operator|=(), ToString(), and Movement::PacketBuilder::WriteCreate().
std::string Movement::MoveSplineFlag::ToString | ( | ) | const |
References Movement::g_SplineFlag_names, Movement::print_flags(), and raw().
Referenced by Movement::MoveSpline::ToString().
bool Movement::MoveSplineFlag::animation |
uint8 Movement::MoveSplineFlag::animId |
Referenced by getAnimationId(), and Movement::MoveSpline::GetAnimationType().
bool Movement::MoveSplineFlag::catmullrom |
Referenced by Movement::MoveSplineInit::Launch().
bool Movement::MoveSplineFlag::cyclic |
bool Movement::MoveSplineFlag::done |
bool Movement::MoveSplineFlag::enter_cycle |
Referenced by Movement::PacketBuilder::WriteCommonMonsterMovePart().
bool Movement::MoveSplineFlag::falling |
bool Movement::MoveSplineFlag::final_angle |
bool Movement::MoveSplineFlag::final_point |
bool Movement::MoveSplineFlag::final_target |
Referenced by Movement::MoveSpline::ToString(), and Movement::PacketBuilder::WriteCreate().
bool Movement::MoveSplineFlag::flying |
Referenced by Movement::MoveSplineInit::Launch(), and Movement::MoveSplineInit::MoveSplineInit().
bool Movement::MoveSplineFlag::frozen |
bool Movement::MoveSplineFlag::no_spline |
bool Movement::MoveSplineFlag::orientationFixed |
Referenced by Movement::MoveSplineInit::SetOrientationFixed().
bool Movement::MoveSplineFlag::orientationInversed |
bool Movement::MoveSplineFlag::parabolic |
bool Movement::MoveSplineFlag::transportEnter |
bool Movement::MoveSplineFlag::transportExit |
bool Movement::MoveSplineFlag::unknown10 |
bool Movement::MoveSplineFlag::unknown11 |
bool Movement::MoveSplineFlag::unknown12 |
bool Movement::MoveSplineFlag::unknown13 |
bool Movement::MoveSplineFlag::unknown7 |
bool Movement::MoveSplineFlag::unknown8 |
bool Movement::MoveSplineFlag::walkmode |