mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Improving DatLoader for third-party apps * Adding some missing filetypes (thanks OptimShi!) * Adding more enums, using SmartArray * Re-adding loadCell * Reverting to UInt32
20 lines
508 B
C#
20 lines
508 B
C#
namespace ACE.Server.Physics.Animation
|
|
{
|
|
public class AnimData
|
|
{
|
|
public uint AnimID;
|
|
public int LowFrame;
|
|
public int HighFrame;
|
|
public float Framerate;
|
|
|
|
public AnimData() { }
|
|
|
|
public AnimData(DatLoader.Entity.AnimData animData, float speed = 1.0f)
|
|
{
|
|
AnimID = animData.AnimId;
|
|
LowFrame = animData.LowFrame;
|
|
HighFrame = animData.HighFrame;
|
|
Framerate = animData.Framerate * speed;
|
|
}
|
|
}
|
|
}
|