static Misc() { MenuM.AddGroupLabel("Miscellaneous"); MenuM.Add("autoshield", new CheckBox("autoshield URFMODE")); MenuM.Add("UseWint", new CheckBox("Use W to dangerous spells")); MenuM.Add("UseWhea", new Slider("Use Auto W to health", 70, 1, 100)); MenuM.Add("UseWman", new Slider("Use Auto W min mana", 50, 1, 100)); }
static Misc() { MenuM.AddGroupLabel("Ek ayarlar"); MenuM.Add("autoshield", new CheckBox("URF de Otomatik Kalkan")); MenuM.Add("UseWint", new CheckBox("Tehlikeli büyülerde W")); MenuM.Add("UseWhea", new Slider("otomatik W için canım az %", 70, 1, 100)); MenuM.Add("UseWman", new Slider("Otomatik W için manam şundan fazla %", 50, 1, 100)); }
static Drawing() { MenuM.AddGroupLabel("Gösterge Ayarları"); _drawQ = MenuM.Add("drawQ", new CheckBox("Q Menzili", false)); _drawW = MenuM.Add("drawW", new CheckBox("W Menzili", false)); _drawE = MenuM.Add("drawE", new CheckBox("E Menzili", false)); _drawR = MenuM.Add("drawR", new CheckBox("R Menzili", false)); _healthbar = MenuM.Add("healthbar", new CheckBox("Canbarı gösterimi")); }
static Drawing() { MenuM.AddGroupLabel("Spell ranges"); _drawQ = MenuM.Add("drawQ", new CheckBox("Q range", false)); _drawW = MenuM.Add("drawW", new CheckBox("W range", false)); _drawE = MenuM.Add("drawE", new CheckBox("E range", false)); _drawR = MenuM.Add("drawR", new CheckBox("R range", false)); _healthbar = MenuM.Add("healthbar", new CheckBox("Healthbar overlay")); }
/// <summary> /// 将数据行中的数据添加到对象中 /// </summary> /// <param name="row">数据行</param> /// <param name="alias">表别名</param> /// <returns>数据</returns> public static MenuM AddDataToObject(DataRow row, string alias) { MenuM result = new MenuM(); result.MNID = row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_ID, alias)].ConvertToInt32(); result.MNTID = row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_TID, alias)].ConvertToInt32(); result.MNPID = (row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_PID, alias)].ConvertToInt32()); result.Name = (row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_NAME, alias)].ToString()); result.Link = row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_LINK, alias)].ToString(); result.Order = row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_ORDER, alias)].ConvertToInt32(); result.Level = row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_LEVEL, alias)].ConvertToInt32(); // result.SetOnOff(row[CommonMethods.CombineFieldAlias(TableStructM.Info_Menu.MN_ONOFF, alias)].ConvertToInt32()); return(result); }
static Misc() { MenuM.AddGroupLabel("Ek Ayar"); MenuM.Add("UseWint", new CheckBox("Tehlikeli durumlarda W Kullan")); }
static Misc() { MenuM.AddGroupLabel("Miscellaneous"); MenuM.Add("UseWint", new CheckBox("Use W to interrupt dangerous spells")); }