Example #1
0
 public BoneStatus GetBoneStatus(int source, int unitId, int frame)
 {
     if (source == 0)
     {
         if (CharCommon.ContainsKey(frame))
         {
             return(CharCommon[frame]);
         }
     }
     else if (source == 1)
     {
         if (PlayerAnimation.ContainsKey(unitId) && PlayerAnimation[unitId].ContainsKey(frame))
         {
             return(PlayerAnimation[unitId][frame]);
         }
     }
     return(null);
 }
Example #2
0
 public void Clear()
 {
     CharCommon.Clear();
     PlayerAnimation.Clear();
 }