Table of Contents

Struct TranslationData

Namespace
Uncreated.Warfare.Translations
Assembly
Uncreated.Warfare.dll
public readonly struct TranslationData
Inherited Members

Constructors

TranslationData(string?, string?[]?, bool)

public TranslationData(string? description, string?[]? parameterDescriptions, bool isPriorityTranslation)

Parameters

description string
parameterDescriptions string[]
isPriorityTranslation bool

Properties

Description

public string? Description { get; }

Property Value

string

IsPriorityTranslation

Whether or not to export this translation in a translation pack. Would be false in cases such as admin commands, when normal players wouldn't see the translations.

public bool IsPriorityTranslation { get; }

Property Value

bool

ParameterDescriptions

public string?[]? ParameterDescriptions { get; }

Property Value

string[]