mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
22 lines
532 B
C#
22 lines
532 B
C#
using System.Collections.Generic;
|
|
using ACE.Server.Physics.Animation;
|
|
|
|
namespace ACE.Server.Physics.Common
|
|
{
|
|
public static class ObjCache
|
|
{
|
|
public static Dictionary<uint, MotionTable> MotionTables;
|
|
|
|
static ObjCache()
|
|
{
|
|
MotionTables = new Dictionary<uint, MotionTable>();
|
|
}
|
|
|
|
public static MotionTable GetMotionTable(uint id)
|
|
{
|
|
MotionTable mtable = null;
|
|
MotionTables.TryGetValue(id, out mtable);
|
|
return mtable;
|
|
}
|
|
}
|
|
}
|