Пример #1
0
 public void GuWuInfo(WorldBossGuwuMsg_22_4 guwu)
 {
     if (guwu.type == AttackGuwuId)
     {
         this.AttackTime = guwu.count;
     }
     else
     {
         this.CritTime = guwu.count;
     }
     DataUpdate(this.UPDATE_GUWU_INFO);
 }
Пример #2
0
        //鼓舞
        private void Fun_22_4(INetData data)
        {
            WorldBossGuwuMsg_22_4 message = new WorldBossGuwuMsg_22_4();

            message.read(data.GetMemoryStream());
            if (message.code == 0)
            {
                Singleton <BossMode> .Instance.GuWuInfo(message);
            }
            else
            {
                ErrorCodeManager.ShowError(message.code);
            }
            Log.info(this, "Fun_22_4 鼓舞");
        }