示例#1
0
    void CommonInit()
    {
//		IsInactive = false;
        mSeasonEvent = null;
        mNewsEvent   = null;
        mGameEvent   = null;

//		GetInfos();
        if (InitPlayerInfo())
        {
            return;
        }

        if (IsPack)
        {
            if (IsFirstPack)
            {
                transform.GetComponent <PlayerCardAnimation>().AppearPack(mProductCode);
            }
            else
            {
//				if(mPageState == PAGE_STATE.PREV)
//					transform.GetComponent<PlayerCardAnimation>().PrevPage();
//				else
//					transform.GetComponent<PlayerCardAnimation>().NextPage();
            }
        }
        else
        {
            transform.GetComponent <PlayerCardAnimation>().AppearBack();
        }

        InitNewType();
    }
示例#2
0
 public void SetAnalysis()
 {
     if (mSeasonEvent == null)
     {
         mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason2);
         NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent);
     }
     else
     {
         InitAnalysis();
     }
 }
示例#3
0
 void GetInfos()
 {
     mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason);
     NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent);
 }
示例#4
0
 void GetInfos()
 {
     mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason);
     NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent);
 }
示例#5
0
    void CommonInit()
    {
        //		IsInactive = false;
        mSeasonEvent = null;
        mNewsEvent = null;
        mGameEvent = null;

        //		GetInfos();
        if(InitPlayerInfo()) return;

        if(IsPack){
            if(IsFirstPack){
                transform.GetComponent<PlayerCardAnimation>().AppearPack(mProductCode);
            } else{
        //				if(mPageState == PAGE_STATE.PREV)
        //					transform.GetComponent<PlayerCardAnimation>().PrevPage();
        //				else
        //					transform.GetComponent<PlayerCardAnimation>().NextPage();
            }
        } else
            transform.GetComponent<PlayerCardAnimation>().AppearBack();

        InitNewType();
    }
示例#6
0
 public void SetAnalysis()
 {
     if(mSeasonEvent == null){
         mSeasonEvent = new PlayerSeasonInfoEvent(ReceivedSeason2);
         NetMgr.PlayerSeasonInfo(mPlayerId, mSeasonEvent);
     } else{
         InitAnalysis();
     }
 }