Table of Contents

Struct NamingBatchBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Server to client: names for a set of IDs of one kind, in answer to NamingRequestBatchBroadcast.

public struct NamingBatchBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

IDs and Names are parallel and the same length. An EMPTY name is an answer too: the lookup ran and no such entity exists. The client drops what was waiting on it instead of holding it for a name that is never coming. A lookup that could not run (the database did not answer) is left out, and the client asks again. No character or guild can have an empty name, so the empty string cannot be mistaken for one.

Fields

IDs

The IDs answered.

public long[] IDs

Field Value

long[]

MaxEntries

Most entries one reply carries. A larger answer is split across replies.

public const int MaxEntries = 128

Field Value

int

Names

The name of the ID at the same index, or empty when no such entity exists.

public string[] Names

Field Value

string[]

Type

Type of the naming system (e.g., character, guild) every ID belongs to.

public NamingSystemType Type

Field Value

NamingSystemType