public override void OnLoad() { Chat.Print( string.Format( "<font color=\"#40c1ff\">[AIBuddy]:</font> <font color=\"#ffffff\">{0} loaded</font>", this.MapId)); this.shopHandler = new ShopHandler(); FindChampion.FindAndSetChampion(); this.Rebuild(); this.m_shopBehaviour.Start(null); this.m_moveBehaviour.Start(null); }
// Load will be executed on Init.cs public static void Load() { //Parsing Maps switch (Game.MapId) { //Only ARAM is supported for now. case GameMapId.HowlingAbyss: MapHandler.Init(); FindChampion.FindAndSetChampion(); break; case GameMapId.CrystalScar: break; case GameMapId.TwistedTreeline: break; case GameMapId.SummonersRift: break; default: return; } }