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(); }
public Team() { LeagueOfTeam = new League(); Name = string.Empty; Players = new ITeamPlayer[0]; }