예제 #1
0
 private void OnMsgGuildWarRewardUpdate(MemoryStream stream)
 {
     MS2C_GuildWarRewardUpdate mS2C_GuildWarRewardUpdate = Serializer.NonGeneric.Deserialize(typeof(MS2C_GuildWarRewardUpdate), stream) as MS2C_GuildWarRewardUpdate;
     if (this.mGWPlayerData == null)
     {
         this.mGWPlayerData = new GuildWarPlayerData();
     }
     if (this.mGWPlayerData != null)
     {
         this.mGWPlayerData.Reward = (EGuildWarReward)mS2C_GuildWarRewardUpdate.Reward;
         if (this.GuildWarRewardUpdateEvent != null)
         {
             this.GuildWarRewardUpdateEvent();
         }
     }
 }
예제 #2
0
 public void LoadData(GuildWarPlayerData gwData)
 {
     this.mGWPlayerData = gwData;
 }
예제 #3
0
 public void Clear()
 {
     this.Guild = null;
     this.Members = null;
     this.GuildList = null;
     this.GuildListForSearch = null;
     this.GuildEventList = null;
     this.GuildRankDataList = null;
     this.mGWPlayerData = null;
     this.mGWKillRankData = null;
     this.StrongHold = null;
     this.mWarStateInfo = null;
     this.LocalClientMember = null;
     this.guildBossData.Clear();
     this.StrongHoldMembers.Clear();
     this.BattleRecords.Clear();
     this.BattleSupportInfo.Clear();
     this.mInteractionMsgs.Clear();
     this.mSignRecords.Clear();
     if (Globals.Instance != null && Globals.Instance.Player != null)
     {
         Globals.Instance.Player.ShowChatGuildNewMark = false;
         Globals.Instance.Player.GuildMsgs.Clear();
     }
 }