Class LocalizationReference
Runtime representation of localization cross-reference metadata.
Defines how a column in a Database table references a Localization table.
Inheritance
LocalizationReference
Assembly: Glitch9.AIDevKit.Sheets.dll
Syntax
[Serializable]
public sealed class LocalizationReference
Constructors
|
Edit this page
View Source
LocalizationReference()
Declaration
public LocalizationReference()
Properties
|
Edit this page
View Source
IsValid
Declaration
public bool IsValid { get; }
Property Value
|
Edit this page
View Source
TargetKeyPart
Declaration
public string TargetKeyPart { get; }
Property Value
|
Edit this page
View Source
TargetLocale
Declaration
public Locale TargetLocale { get; }
Property Value
|
Edit this page
View Source
TargetTableName
Declaration
public string TargetTableName { get; }
Property Value
|
Edit this page
View Source
UseCrossReferencing
Declaration
public bool UseCrossReferencing { get; }
Property Value
Methods
|
Edit this page
View Source
BuildFullKey(string)
Builds the full localization key by combining source key with target key part.
Declaration
public string BuildFullKey(string sourceKey)
Parameters
| Type |
Name |
Description |
| string |
sourceKey |
The source row key (e.g., "sword")
|
Returns
| Type |
Description |
| string |
Full key (e.g., "sword.desc" or "sword" if targetKeyPart is empty)
|
|
Edit this page
View Source
ToLocalizationKey(string)
Creates a LocalizationKey from this reference using the provided source key.
Declaration
public LocalizationId ToLocalizationKey(string sourceKey)
Parameters
| Type |
Name |
Description |
| string |
sourceKey |
|
Returns
Extension Methods