Table of Contents

Class TranslationExtensions

Namespace
Uncreated.Warfare
Assembly
Uncreated.Warfare.dll

Extensions for translating Translation objects.

public static class TranslationExtensions
Inheritance
TranslationExtensions
Inherited Members

Methods

Translate(Translation, bool, bool)

Translate a 0-arg translation using default language and settings.

public static string Translate(this Translation translation, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation
imgui bool
forTerminal bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, ICommandUser, bool)

Translate a 0-arg translation for a user.

public static string Translate(this Translation translation, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation
user ICommandUser
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, ICommandUser, out Color, bool)

Translate a 0-arg translation for a user and output the background color of the message.

public static string Translate(this Translation translation, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, LanguageInfo, bool)

Translate a 0-arg translation for a given language.

public static string Translate(this Translation translation, LanguageInfo language, bool imgui = false)

Parameters

translation Translation
language LanguageInfo
imgui bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, LanguageInfo, out Color, bool)

Translate a 0-arg translation for a given language and output the background color of the message.

public static string Translate(this Translation translation, LanguageInfo language, out Color color, bool imgui = false)

Parameters

translation Translation
language LanguageInfo
color Color
imgui bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, WarfarePlayer, bool)

Translate a 0-arg translation for a player.

public static string Translate(this Translation translation, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation
player WarfarePlayer
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, WarfarePlayer, out Color, bool)

Translate a 0-arg translation for a player and output the background color of the message.

public static string Translate(this Translation translation, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, in LanguageSet, bool)

Translate a 0-arg translation for a set of players.

public static string Translate(this Translation translation, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation
set LanguageSet
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, in LanguageSet, out Color, bool)

Translate a 0-arg translation for a set of players and output the background color of the message.

public static string Translate(this Translation translation, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(Translation, out Color, bool, bool)

Translate a 0-arg translation using default language and settings and output the background color of the message.

public static string Translate(this Translation translation, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation
color Color
imgui bool
forTerminal bool

Returns

string

Exceptions

ArgumentException

The translation has arguments.

Translate(ITranslationArgument, ITranslationService, ICommandUser, ArgumentFormat, bool, TranslationOptions)

Shortcut for translating a ITranslationArgument manually using a user's translation settings.

public static string Translate(this ITranslationArgument argument, ITranslationService translationService, ICommandUser user, ArgumentFormat format = default, bool canUseIMGUI = false, TranslationOptions options = TranslationOptions.None)

Parameters

argument ITranslationArgument
translationService ITranslationService
user ICommandUser
format ArgumentFormat

Format information for the translation. This can just be a string.

canUseIMGUI bool
options TranslationOptions

Returns

string

Translate(ITranslationArgument, ITranslationService, LanguageInfo?, CultureInfo?, TimeZoneInfo?, ArgumentFormat, bool, TranslationOptions)

Shortcut for translating a ITranslationArgument manually using the given language and culture settings.

public static string Translate(this ITranslationArgument argument, ITranslationService translationService, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, ArgumentFormat format = default, bool imgui = false, TranslationOptions options = TranslationOptions.None)

Parameters

argument ITranslationArgument
translationService ITranslationService
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
format ArgumentFormat

Format information for the translation. This can just be a string.

imgui bool
options TranslationOptions

Returns

string

Translate(ITranslationArgument, ITranslationService, WarfarePlayer, ArgumentFormat, bool, TranslationOptions)

Shortcut for translating a ITranslationArgument manually using a player's translation settings.

public static string Translate(this ITranslationArgument argument, ITranslationService translationService, WarfarePlayer player, ArgumentFormat format = default, bool canUseIMGUI = false, TranslationOptions options = TranslationOptions.None)

Parameters

argument ITranslationArgument
translationService ITranslationService
player WarfarePlayer
format ArgumentFormat

Format information for the translation. This can just be a string.

canUseIMGUI bool
options TranslationOptions

Returns

string

Translate(ITranslationArgument, ITranslationService, in LanguageSet, ArgumentFormat, bool, TranslationOptions)

Shortcut for translating a ITranslationArgument manually using a set of player's settings.

public static string Translate(this ITranslationArgument argument, ITranslationService translationService, in LanguageSet set, ArgumentFormat format = default, bool canUseIMGUI = false, TranslationOptions options = TranslationOptions.None)

Parameters

argument ITranslationArgument
translationService ITranslationService
set LanguageSet
format ArgumentFormat

Format information for the translation. This can just be a string.

canUseIMGUI bool
options TranslationOptions

Returns

string

Translate(ITranslationArgument, ITranslationService, ArgumentFormat, bool, TranslationOptions)

Shortcut for translating a ITranslationArgument manually using the default language and culture settings.

public static string Translate(this ITranslationArgument argument, ITranslationService translationService, ArgumentFormat format = default, bool imgui = false, TranslationOptions options = TranslationOptions.None)

Parameters

argument ITranslationArgument
translationService ITranslationService
format ArgumentFormat

Format information for the translation. This can just be a string.

imgui bool
options TranslationOptions

Returns

string

Translate<T0>(Translation<T0>, T0, bool, bool)

Translate a 1-arg translation using default language and settings.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0>
arg0 T0
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, ICommandUser, bool)

Translate a 1-arg translation for a user.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0>
arg0 T0
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, ICommandUser, out Color, bool)

Translate a 1-arg translation for a user and output the background color of the message.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0>
arg0 T0
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 1-arg translation for a set of players.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0>
arg0 T0
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 1-arg translation for a set of players and output the background color of the message.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0>
arg0 T0
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, WarfarePlayer, bool)

Translate a 1-arg translation for a player.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0>
arg0 T0
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, WarfarePlayer, out Color, bool)

Translate a 1-arg translation for a player and output the background color of the message.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0>
arg0 T0
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, in LanguageSet, bool)

Translate a 1-arg translation for a set of players.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0>
arg0 T0
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, in LanguageSet, out Color, bool)

Translate a 1-arg translation for a set of players and output the background color of the message.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0>
arg0 T0
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0

Translate<T0>(Translation<T0>, T0, out Color, bool, bool)

Translate a 1-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0>(this Translation<T0> translation, T0 arg0, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0>
arg0 T0
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, bool, bool)

Translate a 10-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, ICommandUser, bool)

Translate a 10-arg translation for a user.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, ICommandUser, out Color, bool)

Translate a 10-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 10-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 10-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, WarfarePlayer, bool)

Translate a 10-arg translation for a player.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, WarfarePlayer, out Color, bool)

Translate a 10-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, in LanguageSet, bool)

Translate a 10-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, in LanguageSet, out Color, bool)

Translate a 10-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, out Color, bool, bool)

Translate a 10-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
arg9 T9
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8
T9

Translate<T0, T1>(Translation<T0, T1>, T0, T1, bool, bool)

Translate a 2-arg translation using default language and settings.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, ICommandUser, bool)

Translate a 2-arg translation for a user.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, ICommandUser, out Color, bool)

Translate a 2-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 2-arg translation for a set of players.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 2-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, WarfarePlayer, bool)

Translate a 2-arg translation for a player.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, WarfarePlayer, out Color, bool)

Translate a 2-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, in LanguageSet, bool)

Translate a 2-arg translation for a set of players.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, in LanguageSet, out Color, bool)

Translate a 2-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1>(Translation<T0, T1>, T0, T1, out Color, bool, bool)

Translate a 2-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1>(this Translation<T0, T1> translation, T0 arg0, T1 arg1, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1>
arg0 T0
arg1 T1
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, bool, bool)

Translate a 3-arg translation using default language and settings.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, ICommandUser, bool)

Translate a 3-arg translation for a user.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, ICommandUser, out Color, bool)

Translate a 3-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 3-arg translation for a set of players.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 3-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, WarfarePlayer, bool)

Translate a 3-arg translation for a player.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, WarfarePlayer, out Color, bool)

Translate a 3-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, in LanguageSet, bool)

Translate a 3-arg translation for a set of players.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, in LanguageSet, out Color, bool)

Translate a 3-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2>(Translation<T0, T1, T2>, T0, T1, T2, out Color, bool, bool)

Translate a 3-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2>(this Translation<T0, T1, T2> translation, T0 arg0, T1 arg1, T2 arg2, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2>
arg0 T0
arg1 T1
arg2 T2
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, bool, bool)

Translate a 4-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, ICommandUser, bool)

Translate a 4-arg translation for a user.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, ICommandUser, out Color, bool)

Translate a 4-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 4-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 4-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, WarfarePlayer, bool)

Translate a 4-arg translation for a player.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, WarfarePlayer, out Color, bool)

Translate a 4-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, in LanguageSet, bool)

Translate a 4-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, in LanguageSet, out Color, bool)

Translate a 4-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3>(Translation<T0, T1, T2, T3>, T0, T1, T2, T3, out Color, bool, bool)

Translate a 4-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3>(this Translation<T0, T1, T2, T3> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, bool, bool)

Translate a 5-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, ICommandUser, bool)

Translate a 5-arg translation for a user.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, ICommandUser, out Color, bool)

Translate a 5-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 5-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 5-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, WarfarePlayer, bool)

Translate a 5-arg translation for a player.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, WarfarePlayer, out Color, bool)

Translate a 5-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, in LanguageSet, bool)

Translate a 5-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, in LanguageSet, out Color, bool)

Translate a 5-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4>(Translation<T0, T1, T2, T3, T4>, T0, T1, T2, T3, T4, out Color, bool, bool)

Translate a 5-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4>(this Translation<T0, T1, T2, T3, T4> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, bool, bool)

Translate a 6-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, ICommandUser, bool)

Translate a 6-arg translation for a user.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, ICommandUser, out Color, bool)

Translate a 6-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 6-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 6-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, WarfarePlayer, bool)

Translate a 6-arg translation for a player.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, WarfarePlayer, out Color, bool)

Translate a 6-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, in LanguageSet, bool)

Translate a 6-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, in LanguageSet, out Color, bool)

Translate a 6-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5>(Translation<T0, T1, T2, T3, T4, T5>, T0, T1, T2, T3, T4, T5, out Color, bool, bool)

Translate a 6-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5>(this Translation<T0, T1, T2, T3, T4, T5> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, bool, bool)

Translate a 7-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, ICommandUser, bool)

Translate a 7-arg translation for a user.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, ICommandUser, out Color, bool)

Translate a 7-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 7-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 7-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, WarfarePlayer, bool)

Translate a 7-arg translation for a player.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, WarfarePlayer, out Color, bool)

Translate a 7-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, in LanguageSet, bool)

Translate a 7-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, in LanguageSet, out Color, bool)

Translate a 7-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6>(Translation<T0, T1, T2, T3, T4, T5, T6>, T0, T1, T2, T3, T4, T5, T6, out Color, bool, bool)

Translate a 7-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6>(this Translation<T0, T1, T2, T3, T4, T5, T6> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, bool, bool)

Translate a 8-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, ICommandUser, bool)

Translate a 8-arg translation for a user.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, ICommandUser, out Color, bool)

Translate a 8-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 8-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 8-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, WarfarePlayer, bool)

Translate a 8-arg translation for a player.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, WarfarePlayer, out Color, bool)

Translate a 8-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, in LanguageSet, bool)

Translate a 8-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, in LanguageSet, out Color, bool)

Translate a 8-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7>(Translation<T0, T1, T2, T3, T4, T5, T6, T7>, T0, T1, T2, T3, T4, T5, T6, T7, out Color, bool, bool)

Translate a 8-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, bool, bool)

Translate a 9-arg translation using default language and settings.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, ICommandUser, bool)

Translate a 9-arg translation for a user.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
user ICommandUser
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, ICommandUser, out Color, bool)

Translate a 9-arg translation for a user and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a 9-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a 9-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, WarfarePlayer, bool)

Translate a 9-arg translation for a player.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
player WarfarePlayer
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, WarfarePlayer, out Color, bool)

Translate a 9-arg translation for a player and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, in LanguageSet, bool)

Translate a 9-arg translation for a set of players.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
set LanguageSet
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, in LanguageSet, out Color, bool)

Translate a 9-arg translation for a set of players and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>, T0, T1, T2, T3, T4, T5, T6, T7, T8, out Color, bool, bool)

Translate a 9-arg translation using default language and settings and output the background color of the message.

public static string Translate<T0, T1, T2, T3, T4, T5, T6, T7, T8>(this Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8> translation, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation<T0, T1, T2, T3, T4, T5, T6, T7, T8>
arg0 T0
arg1 T1
arg2 T2
arg3 T3
arg4 T4
arg5 T5
arg6 T6
arg7 T7
arg8 T8
color Color
imgui bool
forTerminal bool

Returns

string

Type Parameters

T0
T1
T2
T3
T4
T5
T6
T7
T8

UnsafeTranslate(Translation, object[], bool, bool)

Translate a translation using default language and settings using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation
formatting object[]
imgui bool
forTerminal bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], ICommandUser, bool)

Translate a translation for a user using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, ICommandUser user, bool canUseIMGUI = false)

Parameters

translation Translation
formatting object[]
user ICommandUser
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], ICommandUser, out Color, bool)

Translate a translation for a user and output the background color of the message using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, ICommandUser user, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation
formatting object[]
user ICommandUser
color Color
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], LanguageInfo?, CultureInfo?, TimeZoneInfo?, bool)

Translate a translation for a set of players using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, bool imgui = false)

Parameters

translation Translation
formatting object[]
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
imgui bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], LanguageInfo?, CultureInfo?, TimeZoneInfo?, out Color, bool)

Translate a translation for a set of players and output the background color of the message using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, LanguageInfo? language, CultureInfo? culture, TimeZoneInfo? timeZone, out Color color, bool imgui = false)

Parameters

translation Translation
formatting object[]
language LanguageInfo
culture CultureInfo
timeZone TimeZoneInfo
color Color
imgui bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], WarfarePlayer, bool)

Translate a translation for a player using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, WarfarePlayer player, bool canUseIMGUI = false)

Parameters

translation Translation
formatting object[]
player WarfarePlayer
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], WarfarePlayer, out Color, bool)

Translate a translation for a player and output the background color of the message using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, WarfarePlayer player, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation
formatting object[]
player WarfarePlayer
color Color
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], in LanguageSet, bool)

Translate a translation for a set of players using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, in LanguageSet set, bool canUseIMGUI = false)

Parameters

translation Translation
formatting object[]
set LanguageSet
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], in LanguageSet, out Color, bool)

Translate a translation for a set of players and output the background color of the message using an object[] instead of generic arguments.

public static string UnsafeTranslate(this Translation translation, object[] formatting, in LanguageSet set, out Color color, bool canUseIMGUI = false)

Parameters

translation Translation
formatting object[]
set LanguageSet
color Color
canUseIMGUI bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.

UnsafeTranslate(Translation, object[], out Color, bool, bool)

Translate a translation using default language and settings and output the background color of the message.

public static string UnsafeTranslate(this Translation translation, object[] formatting, out Color color, bool imgui = false, bool forTerminal = false)

Parameters

translation Translation
formatting object[]
color Color
imgui bool
forTerminal bool

Returns

string

Exceptions

ArgumentException

Arguments in formatting aren't convertible to the type the translation is expecting.