public void Initialize()
    {
        FightClassSettings.Load();

        _fightClassSettings = FightClassSettings.CurrentSetting;
        //Get Team Player
        ITeamPlayer teamPlayer = TeamPlayerFactory.GetByClass(wManager.Wow.ObjectManager.ObjectManager.Me.WowClass);

        //Set custom class
        _customClass = teamPlayer.GetRotationByTeamRole(_fightClassSettings.TeamRole);

        //init custom class
        _customClass.Initialize();
    }
Example #2
0
    public void Initialize()
    {
        FightClassSettings.Load();

        ClassManager.LoadAbilities();

        FightEvents.OnFightStart += FightEvents_OnFightStart;
        FightEvents.OnFightEnd   += FightEvents_OnFightEnd;
        Radar3D.OnDrawEvent      += Radar3D_OnDrawEvent;

        EventsLua.AttachEventLua(LuaEventsId.PLAYER_TARGET_CHANGED, e => EventsLua_OnEventLuaPlayerTargetChanged());

        robotManager.Events.FiniteStateMachineEvents.OnRunState += FiniteStateMachineEvents_OnRunState;

        Logging.Write($"[{ FightClassSettings.Name }] loaded");

        Process();
    }
Example #3
0
 public void ShowConfiguration()
 {
     FightClassSettings.Load();
     FightClassSettings.CurrentSetting.ToForm();
     FightClassSettings.CurrentSetting.Save();
 }