コード例 #1
0
 //登陆是接收
 public void BossHp(WorldBossHpMsg_22_6 bossHp)
 {
     this.currHp = bossHp.currHp;
     this.fullHp = bossHp.fullHp;
     this.hurt   = bossHp.damage;
     DataUpdate(this.UPDATE_ATTACK);
     DataUpdate(this.UPDATE_BOSS_HP);
 }
コード例 #2
0
        //boss血量
        private void Fun_22_6(INetData data)
        {
            WorldBossHpMsg_22_6 message = new WorldBossHpMsg_22_6();

            message.read(data.GetMemoryStream());
            Singleton <BossMode> .Instance.BossHp(message);

            Log.info(this, "Fun_22_6 Boss血量 .........................." + "damage: " + message.damage + " curr : " + message.currHp + " full: " + message.fullHp);
        }