Struct MessageNames
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
Properties
Flash
public string? Flash { get; init; }
Property Value
Shockwave
public string? Shockwave { get; init; }
Property Value
Unity
public string? Unity { get; init; }
Property Value
Methods
Equals(MessageNames)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MessageNames other)
Parameters
other
MessageNamesAn object to compare with this object.
Returns
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
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
ClientTypename
string