Exemplo n.º 1
0
 public void InitUI(long id, ShowHeroEffectType type, HeroOrSoul tp, int index)
 {
     mType  = type;
     mID    = id;
     mIndex = index;
     mTp    = tp;
 }
Exemplo n.º 2
0
 protected override void OnRelease()
 {
     base.OnRelease();
     mStar      = 0;
     mID        = 0;
     mIndex     = 0;
     mCount     = 0;
     mAttribute = 0;
     mTp        = HeroOrSoul.None;
     mDes       = null;
     mType      = ShowHeroEffectType.None;
     modle      = null;
 }
Exemplo n.º 3
0
 protected override void SetUI(params object[] uiParams)
 {
     if (uiParams[0] != null)
     {
         mID = long.Parse(uiParams[0].ToString());
     }
     if (uiParams[1] != null)
     {
         mType = (ShowHeroEffectType)uiParams[1];
     }
     if (uiParams[2] != null)
     {
         mTp = (HeroOrSoul)uiParams[2];
     }
     if (uiParams[3] != null)
     {
         mIndex = int.Parse(uiParams[3].ToString());
     }
     base.SetUI(uiParams);
 }