ace/Source/ACE.Server/Physics/Animation/MovementStruct.cs
gmriggs 7622d272fd
Fixing jump in multiplayer, refactoring movement and animation systems for network and game layers (#1070)
* Fixing jump in multiplayer, refactoring movement and animation systems for network and game layers

* Fixing stamina dropping to 0 while running

* Fixing some monsters getting stuck if they wakeup during idle emote

* Reverting position

* Fixing magic aftercast speed
2018-10-23 00:16:53 -04:00

31 lines
743 B
C#

using ACE.Entity.Enum;
using ACE.Server.Physics.Common;
namespace ACE.Server.Physics.Animation
{
public class MovementStruct
{
public MovementType Type;
public uint Motion;
public uint ObjectId;
public uint TopLevelId;
public Position Position;
public float Radius;
public float Height;
public MovementParameters Params;
public MovementStruct() { }
public MovementStruct(MovementType type)
{
Type = type;
}
public MovementStruct(MovementType type, uint motion, MovementParameters movementParams)
{
Type = type;
Motion = motion;
Params = movementParams;
}
}
}