Table of Contents

Struct MessageNames

Namespace
Xabbo.Messages
Assembly
Xabbo.Common.dll

Defines an association of message names between clients.

public readonly record struct MessageNames : IEquatable<MessageNames>
Implements
Inherited Members

Constructors

MessageNames(string?, string?, string?)

Defines an association of message names between clients.

public MessageNames(string? Unity = null, string? Flash = null, string? Shockwave = null)

Parameters

Unity string
Flash string
Shockwave string

Properties

Flash

public string? Flash { get; init; }

Property Value

string

Shockwave

public string? Shockwave { get; init; }

Property Value

string

Unity

public string? Unity { get; init; }

Property Value

string

Methods

Equals(MessageNames)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(MessageNames other)

Parameters

other MessageNames

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

GetName(ClientType)

public string? GetName(ClientType client)

Parameters

client ClientType

Returns

string

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

WithName(ClientType, string)

public MessageNames WithName(ClientType client, string name)

Parameters

client ClientType
name string

Returns

MessageNames