Ejemplo n.º 1
0
 private void OnMsgQueryOrePillageData(MemoryStream stream)
 {
     MS2C_QueryOrePillageData mS2C_QueryOrePillageData = Serializer.NonGeneric.Deserialize(typeof(MS2C_QueryOrePillageData), stream) as MS2C_QueryOrePillageData;
     if (mS2C_QueryOrePillageData.Result != 0)
     {
         GameUIManager.mInstance.ShowMessageTip("EGR", mS2C_QueryOrePillageData.Result);
         return;
     }
     this.GuildMines = mS2C_QueryOrePillageData;
     if (this.QueryOrePillageDataEvent != null)
     {
         this.QueryOrePillageDataEvent();
     }
 }
Ejemplo n.º 2
0
 public void Destroy()
 {
     this.Clear();
     this.joinGuildCD = 0;
     this.CurBossID = 0;
     this.Rank = 0;
     this.GuildBossRankDataDict.Clear();
     this.mSchoolLootDataCaches.Clear();
     this.GuildMines = null;
     this.MyOreData = null;
     this.mGWEnterData = null;
     this.IsFirst = false;
     if (Globals.Instance != null)
     {
         TeamSubSystem expr_6C = Globals.Instance.Player.TeamSystem;
         expr_6C.EquipPetEvent = (TeamSubSystem.PetUpdateCallback)Delegate.Remove(expr_6C.EquipPetEvent, new TeamSubSystem.PetUpdateCallback(this.OnEquipPetEvent));
     }
 }