Ejemplo n.º 1
0
 public override void OnMsg(CptcM2CNtf_ChangeHp msg, int origHpVal)
 {
     if (!this.mainStage.HpChangeInfo.ContainsKey(msg.m_dwRoleId))
     {
         this.mainStage.HpChangeInfo[msg.m_dwRoleId] = new List <KeyValuePair <int, int> >();
     }
     this.mainStage.HpChangeInfo[msg.m_dwRoleId].Add(new KeyValuePair <int, int>(msg.m_btHp, origHpVal));
     if (!this.mainStage.BeAttackerList.Contains(msg.m_dwRoleId))
     {
         Debug.Log("HP Add" + msg.m_dwRoleId);
         this.mainStage.BeAttackerList.Add(msg.m_dwRoleId);
     }
 }
Ejemplo n.º 2
0
 public virtual void OnMsg(CptcM2CNtf_ChangeHp msg, int origHpVal)
 {
 }
Ejemplo n.º 3
0
 public void OnMsg(CptcM2CNtf_ChangeHp msg, int orgiHpVal)
 {
     this.GetCurrentShow().OnMsg(msg, orgiHpVal);
 }