private void OnCombat(string logFileName, string characterName, CombatEventType combatEvent) { if (ProcessCombat != null) { ProcessCombat.Invoke(this, new ProcessCombatEventArgs(logFileName, characterName, combatEvent)); } }
public CombatEvent(CombatSkillExecuter triggeringSkillExecutor, CombatEventType eventType, CombatUnit eventTarget) { CombatResolver resolver = triggeringSkillExecutor.Resolver; Executer = triggeringSkillExecutor; Skill = triggeringSkillExecutor.ExecutedSkill; User = triggeringSkillExecutor.Owner; Party = User.CombatParty; Phase = Skill.SkillDefinition.PerformedPhase; Event = eventType; Target = eventTarget; }
public RawCombatEventArgs(CombatEvent combatEvent, CombatEventType eventType) { this.CombatEvent = combatEvent; this.EventType = eventType; }
public ProcessCombatEventArgs(string logFileName, string characterName, CombatEventType combatEvent) { LogFileName = logFileName; CharacterName = characterName; CombatEvent = combatEvent; }