Example #1
0
 private void HandlePraisePlayerCmd(CommandParser.Command param)
 {
     ulong gUID = 0uL;
     ulong.TryParse(param.GetParam(1), out gUID);
     MC2S_PraisePlayer mC2S_PraisePlayer = new MC2S_PraisePlayer();
     mC2S_PraisePlayer.GUID = gUID;
     Globals.Instance.CliSession.Send(300, mC2S_PraisePlayer);
 }
Example #2
0
 private void WorshipBtn(int index)
 {
     Globals.Instance.EffectSoundMgr.Play("ui/ui_001");
     int @int = GameConst.GetInt32(128);
     if (Globals.Instance.Player.Data.Praise < @int && Globals.Instance.Player.Data.Praise >= 0)
     {
         this.TxtChsngeAni(index);
     }
     else
     {
         GameUIManager.mInstance.ShowMessageTip(Singleton<StringManager>.Instance.GetString("worshiptxt4"), 0f, 0f);
     }
     if (Globals.Instance.Player.Data.Praise < @int)
     {
         MC2S_PraisePlayer mC2S_PraisePlayer = new MC2S_PraisePlayer();
         mC2S_PraisePlayer.GUID = this.famePlayerInfo[index].GUID;
         Globals.Instance.CliSession.Send(300, mC2S_PraisePlayer);
     }
 }