示例#1
0
 private void OnCombat(string logFileName, string characterName, CombatEventType combatEvent)
 {
     if (ProcessCombat != null)
     {
         ProcessCombat.Invoke(this, new ProcessCombatEventArgs(logFileName, characterName, combatEvent));
     }
 }
示例#2
0
    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;
    }
示例#3
0
 public RawCombatEventArgs(CombatEvent combatEvent, CombatEventType eventType)
 {
     this.CombatEvent = combatEvent;
     this.EventType   = eventType;
 }
示例#4
0
 public ProcessCombatEventArgs(string logFileName, string characterName, CombatEventType combatEvent)
 {
     LogFileName   = logFileName;
     CharacterName = characterName;
     CombatEvent   = combatEvent;
 }