Class LocalizationBucket.TranslationRequestDto
DTO for requesting translations.
Inheritance
System.Object
LocalizationBucket.TranslationRequestDto
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GlitchedPolygons.Localization
Assembly: UnityGlitchedLocaleClientDocs.dll
Syntax
protected sealed class TranslationRequestDto
Fields
| Improve this Doc View SourceKeys
The keys of all the translations you want to download from the localization server.
Declaration
public List<string> Keys
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
LastFetchUTC
[OPTIONAL] Unix-timestamp of when we requested translations for this LocalizationBucket for the last time.
This is to avoid over-fetching data and reduce bandwidth if possible (ideally, the backend only ever returns stuff that's changed since the last fetch).
Declaration
public long? LastFetchUTC
Field Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Locales
The list of locales for which to download the translations.
Declaration
public List<string> Locales
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
ReadAccessPassword
[OPTIONAL] Read-access password (if the user account matching above UserId has one set up).
Declaration
public string ReadAccessPassword
Field Value
Type | Description |
---|---|
System.String |
UserId
Glitched Locale Server User ID.
Declaration
public string UserId
Field Value
Type | Description |
---|---|
System.String |