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); } }
public virtual void OnMsg(CptcM2CNtf_ChangeHp msg, int origHpVal) { }
public void OnMsg(CptcM2CNtf_ChangeHp msg, int orgiHpVal) { this.GetCurrentShow().OnMsg(msg, orgiHpVal); }