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(); }
void ReceivedSeason2() { if (mGameEvent == null) { mGameEvent = new PlayerGameInfoEvent(InitAnalysis); NetMgr.PlayerGameInfo(mPlayerId, mGameEvent); } else { InitAnalysis(); } }
public void SetGameLog() { if (mGameEvent == null) { mGameEvent = new PlayerGameInfoEvent(InitGameLog); NetMgr.PlayerGameInfo(mPlayerId, mGameEvent); } else { InitGameLog(); } }
void ReceivedSeason() { mGameEvent = new PlayerGameInfoEvent(ReceivedGame); NetMgr.PlayerGameInfo(mPlayerId, mGameEvent); }
void ReceivedSeason2() { if(mGameEvent == null){ mGameEvent = new PlayerGameInfoEvent(InitAnalysis); NetMgr.PlayerGameInfo(mPlayerId, mGameEvent); } else{ InitAnalysis(); } }
void ReceivedSeason() { mGameEvent = new PlayerGameInfoEvent(ReceivedGame); NetMgr.PlayerGameInfo(mPlayerId, mGameEvent); }
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(); }
public void SetGameLog() { if(mGameEvent == null){ mGameEvent = new PlayerGameInfoEvent(InitGameLog); NetMgr.PlayerGameInfo(mPlayerId, mGameEvent); } else{ InitGameLog(); } }