Table of Contents

Class Messages

Namespace
Mech3DotNet.Zbd
Assembly
Mech3DotNet.dll

Message/localisation data.

See Read(string, GameType) for reading a message .dll file.

public class Messages
Inheritance
Messages
Inherited Members

Constructors

Messages(uint, List<MessageEntry>)

public Messages(uint languageId, List<MessageEntry> entries)

Parameters

languageId uint
entries List<MessageEntry>

Fields

Converter

public static readonly TypeConverter<Messages> Converter

Field Value

TypeConverter<Messages>

entries

public List<MessageEntry> entries

Field Value

List<MessageEntry>

languageId

public uint languageId

Field Value

uint

Methods

Deserialize(Deserializer)

public static Messages Deserialize(Deserializer d)

Parameters

d Deserializer

Returns

Messages

Read(string, GameType)

Read message/localisation data from a message .dll file from the specified path.

Message data cannot be written again.

public static Messages Read(string path, GameType gameType)

Parameters

path string
gameType GameType

Returns

Messages

ReadAsDict(string, GameType)

Read message/localisation data from a message .dll file from the specified path, discarding the language ID and entry IDs.

Message data cannot be written again.

public static Dictionary<string, string> ReadAsDict(string path, GameType gameType)

Parameters

path string
gameType GameType

Returns

Dictionary<string, string>

Serialize(Messages, Serializer)

public static void Serialize(Messages v, Serializer s)

Parameters

v Messages
s Serializer