本文整理汇总了C#中LeagueSharp.Common.Menu.AddSList方法的典型用法代码示例。如果您正苦于以下问题:C# Menu.AddSList方法的具体用法?C# Menu.AddSList怎么用?C# Menu.AddSList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LeagueSharp.Common.Menu
的用法示例。
在下文中一共展示了Menu.AddSList方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Attach
internal static void Attach(Menu menu)
{
menu.AddGroupLabel("Items");
menu.AddBool("Items.Enabled", "Use Items");
menu.AddBool("Items.UseTitanic", "Use Titanic");
menu.AddBool("Items.UseTIA", "Use Tiamat");
menu.AddBool("Items.UseHDR", "Use Hydra");
menu.AddBool("Items.UseBRK", "Use BORK");
menu.AddBool("Items.UseBLG", "Use Bilgewater");
menu.AddBool("Items.UseYMU", "Use Youmu");
menu.AddSeparator();
menu.AddGroupLabel("Combo :");
menu.AddBool("Combo.UseQ", "Use Q");
menu.AddBool("Combo.UseQ2", "Use Q2");
menu.AddBool("Combo.StackQ", "Stack Q if not in Range");
menu.AddBool("Combo.UseE", "Use E");
menu.AddBool("Combo.UseEQ", "Use EQ");
menu.AddSList("Combo.Mode", "Mode", new string[] { "Old", "Beta" }, 0);
menu.AddBool("Combo.ETower", "Use E under Tower", false);
menu.AddBool("Combo.EAdvanced", "Predict E position with Waypoints");
menu.AddBool("Combo.EToSafety", "E towards base if unhealthy", false);
menu.AddBool("Combo.UseIgnite", "Use Ignite");
menu.AddSeparator();
menu.AddGroupLabel("Ult Settings ");
foreach (var hero in HeroManager.Enemies)
{
menu.AddBool("ult" + hero.NetworkId, "Ult " + hero.ChampionName);
}
menu.AddSeparator();
menu.AddSList("Combo.UltMode", "Ult Prioritization", new string[] { "Lowest Health", "TS Priority", "Most enemies" }, 0);
menu.AddSlider("Combo.knockupremainingpct", "Knockup Remaining % for Ult", 95, 40, 100);
menu.AddBool("Combo.UseR", "Use R");
menu.AddBool("Combo.UltTower", "Ult under Tower", false);
menu.AddBool("Combo.UltOnlyKillable", "Ult only Killable", false);
menu.AddBool("Combo.RPriority", "Ult if priority 5 target is knocked up", true);
menu.AddSeparator();
menu.AddSlider("Combo.RMinHit", "Min Enemies for Ult", 1, 1, 5);
menu.AddBool("Combo.OnlyifMin", "Only Ult if minimum enemies met", false);
menu.AddSeparator();
menu.AddSlider("Combo.MinHealthUlt", "Minimum health to Ult %", 0, 0, 100);
}
示例2: Attach
internal static void Attach(Menu menu)
{
menu.AddBool("Misc.AutoR", "Auto Ultimate").Permashow();
menu.AddSlider("Misc.RMinHit", "Min Enemies for Autoult", 1, 1, 5);
menu.AddKeyBind("Misc.TowerDive", "Tower Dive Key", KeyCode("T"), KeyBindType.Press).Permashow(true, "Tower Diving Override");
menu.AddSList("Hitchance.Q", "Q Hitchance", new[] { HitChance.Low.ToString(), HitChance.Medium.ToString(), HitChance.High.ToString() }, 1);
menu.AddSlider("Misc.Healthy", "Healthy Amount HP", 20, 0, 100);
menu.AddBool("Misc.AG", "Use Q (Tornado) on Gapcloser");
menu.AddBool("Misc.Interrupter", "Use Q (Tornado) to Interrupt");
menu.AddBool("Misc.Debug", "Debug", false);
}
示例3: Attach
internal static void Attach(Menu menu)
{
menu.AddGroupLabel("Flee");
menu.AddSList("Flee.Mode", "Flee Mode", new[] { "To Nexus", "To Allies", "To Cursor" }, 2);
menu.AddBool("Flee.Smart", "Smart Flee", true);
menu.AddBool("Flee.StackQ", "Stack Q during Flee");
menu.AddBool("Flee.UseQ2", "Use Tornado", false);
menu.AddSeparator();
menu.AddGroupLabel("Misc :");
menu.AddBool("Misc.SafeE", "Safety Check for E");
menu.AddBool("Misc.AutoStackQ", "Auto Stack Q", false);
menu.AddBool("Misc.AutoR", "Auto Ultimate");
menu.AddSlider("Misc.RMinHit", "Min Enemies for Autoult", 1, 1, 5);
menu.AddSeparator();
menu.AddKeyBind("Misc.TowerDive", "Tower Dive Key", KeyCode("T"), EloBuddy.SDK.Menu.Values.KeyBind.BindTypes.HoldActive);
menu.AddSeparator();
menu.AddSList("Hitchance.Q", "Q Hitchance", new[] { HitChance.Low.ToString(), HitChance.Medium.ToString(), HitChance.High.ToString(), HitChance.VeryHigh.ToString() }, 2);
menu.AddSlider("Misc.Healthy", "Healthy Amount HP", 5, 0, 100);
menu.AddSeparator();
menu.AddBool("Misc.AG", "Use Q (Tornado) on Gapcloser");
menu.AddBool("Misc.Interrupter", "Use Q (Tornado) to Interrupt");
menu.AddBool("Misc.Walljump", "Use Walljump", false);
menu.AddBool("Misc.Debug", "Debug", false);
}