Example #1
0
 public CItemAniInfo GetItemAniInfoByID(uint nType)
 {
     if (s_ItemAniInfoMap != null && s_ItemAniInfoMap.Contains(nType))
     {
         return((CItemAniInfo)s_ItemAniInfoMap[nType]);
     }
     return(null);
 }
Example #2
0
 public CSceneInfo GetSceneByID(byte nID)
 {
     if (s_SceneInfoMap != null && s_SceneInfoMap.Contains(nID))
     {
         return((CSceneInfo)s_SceneInfoMap[nID]);
     }
     else
     {
         return(null);
     }
 }
Example #3
0
 public CModelInfo GetModelByID(byte nID)
 {
     if (s_ModelInfoMap != null && s_ModelInfoMap.Contains(nID))
     {
         return((CModelInfo)s_ModelInfoMap[nID]);
     }
     else
     {
         return(null);
     }
 }
Example #4
0
 public CSkinInfo GetSkinInfoByID(uint nType)
 {
     if (s_SkinInfoMap != null && s_SkinInfoMap.Contains(nType))
     {
         return((CSkinInfo)s_SkinInfoMap[nType]);
     }
     else
     {
         return(null);
     }
 }
Example #5
0
 public CItemInfo GetByID(uint nType)
 {
     if (s_ItemInfoMap != null && s_ItemInfoMap.Contains(nType))
     {
         return((CItemInfo)s_ItemInfoMap[nType]);
     }
     else
     {
         return(null);
     }
 }
Example #6
0
 public CMusicInfo GetMusicByID(UInt16 nID)
 {
     if (nID > 0 && s_MusicInfoMap != null && s_MusicInfoMap.Contains(nID))
     {
         return((CMusicInfo)s_MusicInfoMap[nID]);
     }
     else
     {
         return(null);
     }
 }
Example #7
0
 public CItemInfo GetByNumType(ItemNumerical_Type numType)
 {
     if (s_ItemInfoMap_Numerical != null && s_ItemInfoMap_Numerical.Contains(numType))
     {
         return((CItemInfo)s_ItemInfoMap_Numerical[numType]);
     }
     else
     {
         return(null);
     }
 }