mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/PacketIO: Followup e84736a4f7
This commit is contained in:
@@ -92,12 +92,26 @@ struct MovementInfo
|
||||
// advflying
|
||||
struct AdvFlying
|
||||
{
|
||||
AdvFlying() : forwardVelocity(0.0f), upVelocity(0.0f) {}
|
||||
|
||||
float forwardVelocity;
|
||||
float upVelocity;
|
||||
};
|
||||
|
||||
struct Drive
|
||||
{
|
||||
Drive() : speed(0.0f), movementAngle(0.0f), accelerating(false), drifting(false) {}
|
||||
|
||||
float speed;
|
||||
float movementAngle;
|
||||
bool accelerating;
|
||||
bool drifting;
|
||||
};
|
||||
|
||||
Optional<AdvFlying> advFlying;
|
||||
|
||||
Optional<Drive> driveStatus;
|
||||
|
||||
Optional<ObjectGuid> standingOnGameObjectGUID;
|
||||
|
||||
uint32 GetMovementFlags() const { return flags; }
|
||||
|
||||
Reference in New Issue
Block a user