Table of Contents

Class RarityColorAddon

Namespace
Uncreated.Warfare.Translations.Addons
Assembly
Uncreated.Warfare.dll
public sealed class RarityColorAddon : IArgumentAddon
Inheritance
RarityColorAddon
Implements
Inherited Members

Properties

DisplayName

public string DisplayName { get; }

Property Value

string

Instance

public static RarityColorAddon Instance { get; }

Property Value

RarityColorAddon

Methods

Apply(string, Asset?, ITranslationValueFormatter, in ValueFormatParameters)

public static string Apply(string text, Asset? asset, ITranslationValueFormatter formatter, in ValueFormatParameters args)

Parameters

text string
asset Asset
formatter ITranslationValueFormatter
args ValueFormatParameters

Returns

string

ApplyAddon(ITranslationValueFormatter, string, TypedReference, in ValueFormatParameters)

public string ApplyAddon(ITranslationValueFormatter formatter, string text, TypedReference value, in ValueFormatParameters args)

Parameters

formatter ITranslationValueFormatter
text string
value TypedReference
args ValueFormatParameters

Returns

string

Operators

implicit operator ArgumentFormat(RarityColorAddon)

public static implicit operator ArgumentFormat(RarityColorAddon addon)

Parameters

addon RarityColorAddon

Returns

ArgumentFormat