Struct ValueFormatParameters
- Namespace
- Uncreated.Warfare.Translations
- Assembly
- Uncreated.Warfare.dll
public readonly ref struct ValueFormatParameters
- Inherited Members
Constructors
ValueFormatParameters(CultureInfo, LanguageInfo, TimeZoneInfo, TranslationOptions, ArgumentFormat)
public ValueFormatParameters(CultureInfo culture, LanguageInfo language, TimeZoneInfo timeZone, TranslationOptions options, ArgumentFormat format)
Parameters
cultureCultureInfolanguageLanguageInfotimeZoneTimeZoneInfooptionsTranslationOptionsformatArgumentFormat
ValueFormatParameters(CultureInfo, LanguageInfo, TimeZoneInfo, TranslationOptions, ArgumentFormat, Team)
public ValueFormatParameters(CultureInfo culture, LanguageInfo language, TimeZoneInfo timeZone, TranslationOptions options, ArgumentFormat format, Team team)
Parameters
cultureCultureInfolanguageLanguageInfotimeZoneTimeZoneInfooptionsTranslationOptionsformatArgumentFormatteamTeam
ValueFormatParameters(CultureInfo, LanguageInfo, TimeZoneInfo, TranslationOptions, ArgumentFormat, WarfarePlayer)
public ValueFormatParameters(CultureInfo culture, LanguageInfo language, TimeZoneInfo timeZone, TranslationOptions options, ArgumentFormat format, WarfarePlayer player)
Parameters
cultureCultureInfolanguageLanguageInfotimeZoneTimeZoneInfooptionsTranslationOptionsformatArgumentFormatplayerWarfarePlayer
ValueFormatParameters(int, CultureInfo, LanguageInfo, TimeZoneInfo, TranslationOptions, in ArgumentFormat, Team?, WarfarePlayer?, Func<int, object?>?, int)
public ValueFormatParameters(int argument, CultureInfo culture, LanguageInfo language, TimeZoneInfo timeZone, TranslationOptions options, in ArgumentFormat format, Team? team, WarfarePlayer? player, Func<int, object?>? argumentAccessor, int argumentCount)
Parameters
argumentintcultureCultureInfolanguageLanguageInfotimeZoneTimeZoneInfooptionsTranslationOptionsformatArgumentFormatteamTeamplayerWarfarePlayerargumentAccessorFunc<int, object>argumentCountint
ValueFormatParameters(int, in TranslationArguments, in ArgumentFormat, Func<int, object?>?, int)
public ValueFormatParameters(int argument, in TranslationArguments args, in ArgumentFormat format, Func<int, object?>? argumentAccessor, int argumentCount)
Parameters
argumentintargsTranslationArgumentsformatArgumentFormatargumentAccessorFunc<int, object>argumentCountint
ValueFormatParameters(in ValueFormatParameters, TranslationOptions)
public ValueFormatParameters(in ValueFormatParameters parameters, TranslationOptions flags)
Parameters
parametersValueFormatParametersflagsTranslationOptions
Fields
Argument
public readonly int Argument
Field Value
ArgumentAccessor
public readonly Func<int, object?>? ArgumentAccessor
Field Value
ArgumentCount
public readonly int ArgumentCount
Field Value
Culture
public readonly CultureInfo Culture
Field Value
Format
public readonly ArgumentFormat Format
Field Value
Language
public readonly LanguageInfo Language
Field Value
Options
public readonly TranslationOptions Options
Field Value
Player
public readonly WarfarePlayer? Player
Field Value
Team
public readonly Team? Team
Field Value
TimeZone
public readonly TimeZoneInfo TimeZone
Field Value
Properties
IMGUI
If unity rich text should be used over TMPro rich text.
public bool IMGUI { get; }