本文整理汇总了C#中LeagueSharp.AddSubMenu方法的典型用法代码示例。如果您正苦于以下问题:C# LeagueSharp.AddSubMenu方法的具体用法?C# LeagueSharp.AddSubMenu怎么用?C# LeagueSharp.AddSubMenu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LeagueSharp
的用法示例。
在下文中一共展示了LeagueSharp.AddSubMenu方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
ShowPingMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_SHOWPING_MAIN"), "SAssembliesMiscsShowPing"));
ShowPingMisc.MenuItems.Add(
ShowPingMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsShowPingActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return ShowPingMisc;
}
示例2: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
FowWardPlacementWard.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("WARDS_FOWWARDPLACEMENT_MAIN"), "SAssembliesWardsFowWardPlacement"));
FowWardPlacementWard.MenuItems.Add(
FowWardPlacementWard.Menu.AddItem(new MenuItem("SAssembliesWardsFowWardPlacementActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return FowWardPlacementWard;
}
示例3: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
CloneTracker.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TRACKERS_CLONE_MAIN"), "SAssembliesTrackersClone"));
CloneTracker.MenuItems.Add(
CloneTracker.Menu.AddItem(new MenuItem("SAssembliesTrackersCloneActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return CloneTracker;
}
示例4: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
var newMenu = Menu.GetSubMenu(menu, "SAssembliesDetectorsSharedExperience");
if (newMenu == null)
{
SharedExperienceDetector.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("DETECTORS_SHAREDEXPERIENCE_MAIN"), "SAssembliesDetectorsSharedExperience"));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceResetTime", Language.GetString("DETECTORS_SHAREDEXPERIENCE_RESETTIME")).SetValue(new Slider(60, 120, 1)));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceTrackRange", Language.GetString("DETECTORS_SHAREDEXPERIENCE_TRACKRANGE")).SetValue(new Slider(2000, 10000, 100)));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperiencePingTimes", Language.GetString("GLOBAL_PING_TIMES")).SetValue(new Slider(0, 5, 0)));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperiencePingType", Language.GetString("GLOBAL_PING_TYPE")).SetValue(new StringList(new[]
{
Language.GetString("GLOBAL_PING_TYPE_NORMAL"),
Language.GetString("GLOBAL_PING_TYPE_DANGER"),
Language.GetString("GLOBAL_PING_TYPE_ENEMYMISSING"),
Language.GetString("GLOBAL_PING_TYPE_ONMYWAY"),
Language.GetString("GLOBAL_PING_TYPE_FALLBACK"),
Language.GetString("GLOBAL_PING_ASSISTME")
})));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceLocalPing", Language.GetString("GLOBAL_PING_LOCAL")).SetValue(true));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceChat", Language.GetString("GLOBAL_CHAT")).SetValue(false));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceNotification", Language.GetString("GLOBAL_NOTIFICATION")).SetValue(false));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceVoice", Language.GetString("GLOBAL_VOICE")).SetValue(false));
SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceDrawing", Language.GetString("GLOBAL_DRAWING")).SetValue(false));
SharedExperienceDetector.CreateActiveMenuItem("SAssembliesDetectorsSharedExperienceActive", () => new SharedExperience());
}
return SharedExperienceDetector;
}
示例5: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
VisionRange.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("RANGES_VISION_MAIN"), "SAssembliesRangesVision"));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionMode", Language.GetString("RANGES_ALL_MODE")).SetValue(new StringList(new[]
{
Language.GetString("RANGES_ALL_MODE_ME"),
Language.GetString("RANGES_ALL_MODE_ENEMY"),
Language.GetString("RANGES_ALL_MODE_BOTH")
}))));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayMe", Language.GetString("RANGES_VISION_ME")).SetValue(false)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayChampion", Language.GetString("RANGES_VISION_CHAMPION")).SetValue(false)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayTurret", Language.GetString("RANGES_VISION_TURRET")).SetValue(false)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayMinion", Language.GetString("RANGES_VISION_MINION")).SetValue(false)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayWard", Language.GetString("RANGES_VISION_WARD")).SetValue(false)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionColorMe", Language.GetString("RANGES_ALL_COLORME")).SetValue(Color.Indigo)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionColorEnemy", Language.GetString("RANGES_ALL_COLORENEMY")).SetValue(Color.Indigo)));
VisionRange.MenuItems.Add(
VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return VisionRange;
}
示例6: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
WaypointTracker.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TRACKERS_WAYPOINT_MAIN"), "SAssembliesTrackersWaypoint"));
WaypointTracker.MenuItems.Add(
WaypointTracker.Menu.AddItem(new MenuItem("SAssembliesTrackersWaypointActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return WaypointTracker;
}
示例7: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
AutoIgniteActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOIGNITE_MAIN"), "SAssembliesActivatorsAutoIgnite"));
AutoIgniteActivator.MenuItems.Add(
AutoIgniteActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoIgniteActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return AutoIgniteActivator;
}
示例8: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
GankDetector.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("DETECTORS_GANK_MAIN"), "SAssembliesDetectorsGank"));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankPingTimes", Language.GetString("GLOBAL_PING_TIMES")).SetValue(new Slider(0, 5, 0))));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankPingType", Language.GetString("GLOBAL_PING_TYPE")).SetValue(new StringList(new[]
{
Language.GetString("GLOBAL_PING_TYPE_NORMAL"),
Language.GetString("GLOBAL_PING_TYPE_DANGER"),
Language.GetString("GLOBAL_PING_TYPE_ENEMYMISSING"),
Language.GetString("GLOBAL_PING_TYPE_ONMYWAY"),
Language.GetString("GLOBAL_PING_TYPE_FALLBACK"),
Language.GetString("GLOBAL_PING_ASSISTME")
}))));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankLocalPing", Language.GetString("GLOBAL_PING_LOCAL")).SetValue(true)));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankChat", Language.GetString("GLOBAL_CHAT")).SetValue(false)));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankNotification", Language.GetString("GLOBAL_NOTIFICATION")).SetValue(false)));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankTrackRangeMin", Language.GetString("DETECTORS_GANK_RANGE_MIN")).SetValue(new Slider(1, 10000, 1))));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankTrackRangeMax", Language.GetString("DETECTORS_GANK_RANGE_MAX")).SetValue(new Slider(1, 10000, 1))));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankDisableTime", Language.GetString("DETECTORS_GANK_DISABLETIME")).SetValue(new Slider(20, 180, 1))));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankShowJungler", Language.GetString("DETECTORS_GANK_SHOWJUNGLER")).SetValue(false)));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankVoice", Language.GetString("GLOBAL_VOICE")).SetValue(false)));
GankDetector.MenuItems.Add(
GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return GankDetector;
}
示例9: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
AutoShieldActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOSHIELD_MAIN"), "SAssembliesActivatorsAutoShield"));
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(
new MenuItem("SAssembliesActivatorsAutoShieldBlockAA", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_AA")).SetValue(false)));
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldBlockCC", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_CC")).SetValue(false)));
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(
new MenuItem("SAssembliesActivatorsAutoShieldBlockDamageAmount", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_DMG")).SetValue(
new StringList(new[] { "Medium", "High", "Extreme" }))));
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(
new MenuItem("SAssembliesActivatorsAutoShieldBlockMinDamageAmount", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_DMG_MIN")).SetValue(
new Slider(50, 2000, 1))));
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldBlockableSpellsActive", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_SPECIFIC_SPELL")).SetValue(false)));
AutoShieldActivatorBlockableSpells.Menu =
AutoShieldActivator.Menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_BLOCKABLE_SPELL"),
"SAssembliesActivatorsAutoShieldBlockableSpells"));
foreach (var spell in AutoShield.GetBlockableSpells())
{
AutoShieldActivatorBlockableSpells.MenuItems.Add(
AutoShieldActivatorBlockableSpells.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldBlockableSpells" + spell, spell).SetValue(false)));
}
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldAlly", Language.GetString("ACTIVATORS_AUTOSHIELD_ALLY")).SetValue(false)));
AutoShieldActivator.MenuItems.Add(
AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return AutoShieldActivator;
}
示例10: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
AutoBuyMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_AUTOBUY_MAIN"), "SAssembliesMiscsAutoBuy"));
AutoBuyMisc.MenuItems.Add(
AutoBuyMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsAutoBuyActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return AutoBuyMisc;
}
示例11: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
InhibitorHealth.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("HEALTHS_INHIBITOR_MAIN"), "SAssembliesHealthsInhibitor"));
InhibitorHealth.MenuItems.Add(
InhibitorHealth.Menu.AddItem(new MenuItem("SAssembliesHealthsInhibitorActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return InhibitorHealth;
}
示例12: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
SmartPingImproveMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_SMARTPINGIMPROVE_MAIN"), "SAssembliesMiscsSmartPingImprove"));
SmartPingImproveMisc.MenuItems.Add(
SmartPingImproveMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsSmartPingImproveActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return SmartPingImproveMisc;
}
示例13: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
EasyRangedJungleMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_EASYRANGEDJUNGLE_MAIN"), "SAssembliesMiscsEasyRangedJungle"));
EasyRangedJungleMisc.MenuItems.Add(
EasyRangedJungleMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsEasyRangedJungleActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return EasyRangedJungleMisc;
}
示例14: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
AutoExhaustActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOEXHAUST_MAIN"), "SAssembliesActivatorsAutoExhaust"));
AutoExhaustActivator.MenuItems.Add(
AutoExhaustActivator.Menu.AddItem(
new MenuItem("SAssembliesSActivatorsAutoExhaustAutoCast", Language.GetString("ACTIVATORS_AUTOEXHAUST_AUTOCAST")).SetValue(
new KeyBind(32, KeyBindType.Press))));
AutoExhaustActivator.MenuItems.Add(
AutoExhaustActivator.Menu.AddItem(
new MenuItem("SAssembliesSActivatorsAutoExhaustMinEnemies", Language.GetString("ACTIVATORS_AUTOEXHAUST_MIN_ENEMIES")).SetValue(
new Slider(3, 5, 1))));
AutoExhaustActivator.MenuItems.Add(
AutoExhaustActivator.Menu.AddItem(
new MenuItem("SAssembliesSActivatorsAutoExhaustAllyPercent", Language.GetString("ACTIVATORS_AUTOEXHAUST_ALLY_PERCENT")).SetValue(
new Slider(20, 100, 1))));
AutoExhaustActivator.MenuItems.Add(
AutoExhaustActivator.Menu.AddItem(
new MenuItem("SAssembliesSActivatorsAutoExhaustSelfPercent", Language.GetString("ACTIVATORS_AUTOEXHAUST_SELF_PERCENT")).SetValue(
new Slider(20, 100, 1))));
AutoExhaustActivator.MenuItems.Add(
AutoExhaustActivator.Menu.AddItem(
new MenuItem("SAssembliesSActivatorsAutoExhaustUseUltSpells", Language.GetString("ACTIVATORS_AUTOEXHAUST_ULTSPELLS")).SetValue(
false)));
AutoExhaustActivator.MenuItems.Add(
AutoExhaustActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoExhaustActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return AutoExhaustActivator;
}
示例15: SetupMenu
public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
{
MinionLocationMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_MINIONLOCATION_MAIN"), "SAssembliesMiscsMinionLocation"));
MinionLocationMisc.MenuItems.Add(
MinionLocationMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsMinionLocationActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
return MinionLocationMisc;
}