/// <summary> /// /// </summary> /// <param name="customText"></param> /// <param name="internalName"></param> public CustomNativeMenu(CustomText customText, string internalName) : this() { CustomText = customText; InternalName = internalName; Title = GetMenuTitleInScaledText(); Subtitle = GetMenuSubtitle(); Description = GetMenuDescription(); }
/// <summary> /// /// </summary> /// <param name="customText"></param> /// <param name="internalName"></param> /// <param name="banner"></param> public CustomNativeMenu(CustomText customText, string internalName, I2Dimensional banner) : this(customText, internalName) { Banner = banner; }
/// <summary> /// Returns a localized description value of a list item. /// </summary> /// <param name="itemName">Item name.</param> /// <param name="valueName">Value name.</param> /// <returns>Localized description value.</returns> public string GetItemValueDescription(string itemName, string valueName) { return(CustomText.GetItemValueDescription(InternalName, itemName, valueName)); }
/// <summary> /// Returns a localized title value of a list item. /// </summary> /// <param name="itemName">Item name.</param> /// <param name="valueName">Value name.</param> /// <returns>Localized title value.</returns> public string GetItemValueTitle(string itemName, string valueName) { return(CustomText.GetItemValueTitle(InternalName, itemName, valueName)); }
/// <summary> /// Returns a localized item title. /// </summary> /// <param name="itemName">Item name to be localized.</param> /// <returns>Localized item name.</returns> public string GetItemTitle(string itemName) { return(CustomText.GetItemTitle(InternalName, itemName)); }
/// <summary> /// Returns the localized menu subtitle. /// </summary> /// <returns>Localized menu subtitle.</returns> public string GetMenuSubtitle() { return(CustomText.GetMenuSubtitle(InternalName)); }
/// <summary> /// Returns the localized menu description. /// </summary> /// <returns>Localized menu description.</returns> public string GetMenuDescription() { return(CustomText.GetMenuDescription(InternalName)); }