public override void Refresh(object data)
 {
     if (this.mData == data)
     {
         this.RefreshState();
         return;
     }
     this.mData = (GUIGuildMinesRewardDescData)data;
     this.Refresh();
 }
 public GUIGuildMinesRewardDescData(bool isTarget, OreInfo info, GUIGuildMinesRewardDescData.TakeRewardCallback cb)
 {
     this.isTarget = isTarget;
     this.mInfo = info;
     this.TakeRewardEvent = cb;
 }
 private void OnTakeMinesRewardClick(GUIGuildMinesRewardDescData data)
 {
     Globals.Instance.EffectSoundMgr.Play("ui/ui_001");
     if (data == null)
     {
         return;
     }
     if (Globals.Instance.Player.GuildSystem.GuildMines.RewardTime - Globals.Instance.Player.GetTimeStamp() < 0)
     {
         GameUIManager.mInstance.ShowMessageTipByKey("guildMines25", 0f, 0f);
         return;
     }
     MC2S_TakeOreReward mC2S_TakeOreReward = new MC2S_TakeOreReward();
     mC2S_TakeOreReward.Index = data.mInfo.ID;
     Globals.Instance.CliSession.Send(1024, mC2S_TakeOreReward);
 }