ace/Source/ACE.Server/Physics/Common/ObjCache.cs
2018-03-11 07:36:42 -05:00

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;
}
}
}