Search Results for

    Show / Hide Table of Contents

    Class LocalizationReference

    Runtime representation of localization cross-reference metadata. Defines how a column in a Database table references a Localization table.

    Inheritance
    object
    LocalizationReference
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Sheets
    Assembly: Glitch9.AIDevKit.Sheets.dll
    Syntax
    [Serializable]
    public sealed class LocalizationReference
    Remarks

    Example: "sword.desc" for "Description Column"

    • For "sword" row in Database Table, it points to "sword.desc" key in Localization Table.
    • If TargetKeyPart is empty, full key is same as the source Key column value.

    Constructors

    | Edit this page View Source

    LocalizationReference()

    Declaration
    public LocalizationReference()

    Properties

    | Edit this page View Source

    IsValid

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    TargetKeyPart

    Declaration
    public string TargetKeyPart { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TargetLocale

    Declaration
    public Locale TargetLocale { get; }
    Property Value
    Type Description
    Locale
    | Edit this page View Source

    TargetTableName

    Declaration
    public string TargetTableName { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    UseCrossReferencing

    Declaration
    public bool UseCrossReferencing { get; }
    Property Value
    Type Description
    bool

    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
    Type Description
    LocalizationId

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation