本文整理汇总了C#中LeagueSharp.Common.Orbwalking.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# Orbwalking.ToString方法的具体用法?C# Orbwalking.ToString怎么用?C# Orbwalking.ToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LeagueSharp.Common.Orbwalking
的用法示例。
在下文中一共展示了Orbwalking.ToString方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddModeMenu
public static Menu AddModeMenu(this Menu mainMenu, Orbwalking.OrbwalkingMode Mode)
{
var modeMenu = new Menu($"[iSR] {Mode}", $"iseriesr.{ObjectManager.Player.ChampionName.ToLower()}.{Mode.ToString().ToLower()}");
{
mainMenu.AddSubMenu(modeMenu);
}
return modeMenu;
}
示例2: AddManaManager
public static MenuItem AddManaManager(this Menu mainMenu, SpellSlot slot, Orbwalking.OrbwalkingMode Mode, int defMana = 0)
{
var mmMenu =
mainMenu.Children.FirstOrDefault(
m =>
m.Name.ToLower().Contains(
$"iseriesr.{ObjectManager.Player.ChampionName.ToLower()}.{Mode.ToString().ToLower()}.mm"));
if (mmMenu == null)
{
mmMenu = mainMenu.AddManaManagerMenu(Mode);
}
return mmMenu.AddSlider(
$"iseriesr.{ObjectManager.Player.ChampionName.ToLower()}.{Mode.ToString().ToLower()}.mm.{slot.ToString().ToLower()}",
$"{slot} Mana {Mode}", defMana, 0, 100);
}
示例3: AddManaManagerMenu
private static Menu AddManaManagerMenu(this Menu mainMenu, Orbwalking.OrbwalkingMode Mode)
{
var manaManager = new Menu("Mana Manager", $"iseriesr.{ObjectManager.Player.ChampionName.ToLower()}.{Mode.ToString().ToLower()}.mm");
{
mainMenu.AddSubMenu(manaManager);
}
return manaManager;
}
示例4: AddSkill
public static MenuItem AddSkill(this Menu mainMenu, SpellSlot slot, Orbwalking.OrbwalkingMode Mode, bool defaultValue = true, int defMana = 20, bool addMM = true)
{
if (addMM)
{
mainMenu.AddManaManager(slot, Mode, defMana);
}
return mainMenu.AddBool($"iseriesr.{ObjectManager.Player.ChampionName.ToLower()}.{Mode.ToString().ToLower()}.{slot.ToString().ToLower()}", $"Use {slot}", defaultValue);
}
示例5: Initialize
public static void Initialize(Menu menu, Orbwalking.OrbwalkingMode mode)
{
menu.AddMItem(mode.ToString(), new Slider(ManaSettings[mode]), (sender, args) => ManaSettings[mode] = args.GetNewValue<Slider>().Value).ProcStoredValueChanged<Slider>();
}
示例6: DongerSkill
public static void DongerSkill(this Menu menu, Skills skill, Orbwalking.OrbwalkingMode mode)
{
var vhrname = string.Format("dz191.vhr.{0}.use{1}", mode.ToString().ToLower(), skill.ToString().ToLower());
var pradaname = string.Format("useprada{0}", skill.ToString().ToLower());
menu.Item(vhrname).SetValue(!HijackedMenu.Item(pradaname).GetValue<bool>());
}