FreeRealmsLocaleTools FreeRealmsLocaleTools
FreeRealmsLocaleTools FreeRealmsLocaleTools
DocFX + Singulink = ♥

Search Results for

    Class LocaleMetadata

    Provides properties and instance methods to store metadata from a Free Realms .dir file.

    Inheritance
    object
    LocaleMetadata
    Implements
    IEquatable<LocaleMetadata>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: FreeRealmsLocaleTools.LocaleParser
    Assembly: FreeRealmsLocaleTools.dll
    Syntax
    public record LocaleMetadata : IEquatable<LocaleMetadata>

    Constructors

    Name Description
    LocaleMetadata()

    Provides properties and instance methods to store metadata from a Free Realms .dir file.

    Properties

    Name Description
    CidLength

    Gets or sets the CID length.

    Count

    Gets or sets the number of locale entries.

    Database

    Gets or sets the database URL.

    Date

    Gets or sets the date, which is typically in "ddd MMM dd HH:mm:ss zzz yyyy" format.
    For example, Thu Mar 13 10:10:13 PDT 2014.

    ExtractionDate

    Gets or sets the extraction date, which is typically in "ddd MMM dd HH:mm:ss zzz yyyy" format.
    For example, Mon Jan 09 14:48:49 PST 2012.

    ExtractionVersion

    Gets or sets the extraction version, which typically consists of a major, minor, and build number.

    Game

    Gets or sets the game.

    Locale

    Gets or sets the locale.

    MD5Checksum

    Gets or sets the MD5 checksum of the associated locale .dat file.

    T4Version

    Gets or sets the extraction version, which typically consists of a major, minor, and build number.

    TextLength

    Gets or sets the length, in bytes, of the largest locale entry's text.

    Version

    Gets or sets the version, which typically consists of a major, minor, and build number.

    Methods

    Name Description
    Create(string, IEnumerable<LocaleEntry>)

    Creates a new instance of LocaleMetadata from the specified .dat file and locale entries.

    GetDate()

    Returns the DateTime for the metadata.

    IsExtracted()

    Returns true if the metadata includes extraction properties; false otherwise.

    IsTcg()

    Returns true if the metadata refers to a TCG locale; otherwise false.

    SetProperty(string, string)

    Sets the metadata property with the given name to the specified value.

    ToString()

    Returns a string representation of the metadata as it would appear in a locale .dir file.

    Update(string, IEnumerable<LocaleEntry>)

    Creates a copy of this metadata and updates its properties with the specified .dat file and locale entries.