Skip to content

Instantly share code, notes, and snippets.

@LordJZ
Created June 27, 2011 17:22
Show Gist options
  • Save LordJZ/1049314 to your computer and use it in GitHub Desktop.
Save LordJZ/1049314 to your computer and use it in GitHub Desktop.
4.1
[Flags]
public enum MovementFlags : uint
{
None = 0x00000000,
Forward = 0x00000001,
Backward = 0x00000002,
StrafeLeft = 0x00000004,
StrafeRight = 0x00000008,
TurnLeft = 0x00000010,
TurnRight = 0x00000020,
PitchUp = 0x00000040,
PitchDown = 0x00000080,
WalkMode = 0x00000100,
OnTransport = 0x00000200,
GravityDisabled = 0x00000400,
Root = 0x00000800,
Falling = 0x00001000,
FallingFar = 0x00002000,
PendingStop = 0x00004000,
PendingStrafeStop = 0x00008000,
PendingForward = 0x00010000,
PendingBackward = 0x00020000,
PendingStrafeLeft = 0x00040000,
PendingStrafeRight = 0x00080000,
PendingRoot = 0x00100000,
Swimming = 0x00200000,
Ascending = 0x00400000,
Descending = 0x00800000,
CanFly = 0x01000000,
Flying = 0x02000000,
SplineElevation = 0x04000000,
SplineEnabled = 0x08000000,
WaterWalking = 0x10000000,
SafeFall = 0x20000000,
Hover = 0x40000000,
UnderWaterWalking_unk=0x80000000,
}
[Flags]
public enum MovementFlags2 : ushort
{
None = 0x0000,
Unknown1 = 0x0001,
Unknown2 = 0x0002,
CollisionDisabled = 0x0004,
FullSpeedTurning = 0x0008,
FullSpeedPitching = 0x0010,
AlwaysAllowPitching = 0x0020,
Unknown4 = 0x0040,
Unknown5 = 0x0080,
Unknown6 = 0x0100,
Unknown7 = 0x0200,
InterpolatedPlayerMovement = 0x0400,
InterpolatedPlayerTurning = 0x0800,
InterpolatedPlayerPitching = 0x1000,
Unknown8 = 0x2000,
CanTransitionBetweenSwimAndFly = 0x4000,
Unknown10 = 0x8000,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment