Ejemplo n.º 1
0
        public LvlSlider(Menu menu, int level, CustomLvlSeq cus)
        {
            this.level = level;
            s = new Slider(" ", 0, 0, 5);
            this.cus = cus;
            level += 1;
            skills = new string[]
            {
                "Level " + level + ": Not set", "Level " + level + ": Q", "Level " + level + ": W",
                "Level " + level + ": E", "Level " + level + ": R", "Level " + level + ": Not set"
            };
            s.DisplayName = skills[s.CurrentValue];
            s.OnValueChange += s_OnValueChange;

            menu.Add(level + ObjectManager.Player.ChampionName + "d", s);
        }
Ejemplo n.º 2
0
        public LvlSlider(Menu menu, int level, CustomLvlSeq cus)
        {
            this.level = level;
            s          = new Slider(" ", 0, 0, 5);
            this.cus   = cus;
            level     += 1;
            skills     = new string[]
            {
                "Level " + level + ": Not set", "Level " + level + ": Q", "Level " + level + ": W",
                "Level " + level + ": E", "Level " + level + ": R", "Level " + level + ": Not set"
            };
            s.DisplayName    = skills[s.CurrentValue];
            s.OnValueChange += s_OnValueChange;

            menu.Add(level + ObjectManager.Player.ChampionName + "d", s);
        }