internal BuffRemoveSingleEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill, uint id, ArcDPSEnums.IFF iff) : base(by, to, time, removedDuration, buffSkill)
 {
     _iff         = iff;
     BuffInstance = id;
 }
 internal BuffApplyEvent(AgentItem by, AgentItem to, long time, int duration, SkillItem buffSkill, uint id, bool addedActive) : base(by, to, time, buffSkill, id)
 {
     AppliedDuration = duration;
     _addedActive    = addedActive;
 }
示例#3
0
 internal void SetMaster(AgentItem master)
 {
     Master = master;
 }
 internal AbstractBuffApplyEvent(AgentItem by, AgentItem to, long time, SkillItem buffSkill, uint id) : base(buffSkill, time)
 {
     By           = by;
     To           = to;
     BuffInstance = id;
 }
 internal void ReplaceAgentsFromID(AgentItem agentItem)
 {
     _allAgentsList.RemoveAll(x => x.ID == agentItem.ID);
     _allAgentsList.Add(agentItem);
     Refresh();
 }
 /// <summary>
 /// Returns list of breakbar damage taken events by Agent
 /// </summary>
 /// <param name="key"></param> Agent
 /// <returns></returns>
 public IReadOnlyList <AbstractBreakbarDamageEvent> GetBreakbarDamageTakenData(AgentItem key)
 {
     if (_breakbarDamageTakenData.TryGetValue(key, out List <AbstractBreakbarDamageEvent> res))
     {
         return(res);
     }
     return(new List <AbstractBreakbarDamageEvent>());
 }
 internal void OverrideID(int ID, AgentItem agentItem)
 {
     _allAgentsList.RemoveAll(x => x.ID == ID);
     _allAgentsList.Add(agentItem);
     Refresh();
 }
示例#8
0
 protected AbstractMovementEvent(CombatItem evtcItem, AgentData agentData) : base(evtcItem.Time)
 {
     AgentItem = agentData.GetAgent(evtcItem.SrcAgent);
     _dstAgent = evtcItem.DstAgent;
     _value    = evtcItem.Value;
 }
 internal BuffRemoveManualEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill) : base(by, to, time, removedDuration, buffSkill)
 {
 }
 internal BuffRemoveAllEvent(AgentItem by, AgentItem to, long time, int removedDuration, SkillItem buffSkill, int removedStacks, int lastRemovedDuration) : base(by, to, time, removedDuration, buffSkill)
 {
     _lastRemovedDuration = lastRemovedDuration;
     RemovedStacks        = removedStacks;
 }