Skip to main content

ChatTypeParameterType

struct

Declaration​

[ProtocolSupport(766, 777)]
public readonly record struct ChatTypeParameterType : IProtocolType<ChatTypeParameterType>
NamespaceMcProtoNet.Protocol
AssemblyMcProtoNet.Protocol.dll
Sourcesrc/McProtoNet.Protocol/Generated/Enums/ChatTypeParameterType.cs#L8 ↗

Implements: IProtocolType<ChatTypeParameterType>

Constructors​

SignatureDescription
ChatTypeParameterType(int Value)-

ChatTypeParameterType(int)​

public ChatTypeParameterType(int Value)

Parameters: Value (int)

Properties​

SignatureDescription
int Value-

Value​

public int Value { get; init; }

Returns: int

Fields​

SignatureDescription
static ChatTypeParameterType Content-
static ChatTypeParameterType Sender-
static ChatTypeParameterType Target-

Content​

public static readonly ChatTypeParameterType Content

Returns: ChatTypeParameterType

Sender​

public static readonly ChatTypeParameterType Sender

Returns: ChatTypeParameterType

Target​

public static readonly ChatTypeParameterType Target

Returns: ChatTypeParameterType

Methods​

SignatureDescription
static ChatTypeParameterType Read(ref MinecraftPrimitiveReader reader, int protocolVersion)Reads a value of type ChatTypeParameterType from the specified reader.
string ToString()Returns the fully qualified type name of this instance.
string ToString(int protocolVersion)-
void Write(MinecraftPrimitiveWriter writer, int protocolVersion)Writes the current value to the specified writer.

Read(ref MinecraftPrimitiveReader, int)​

public static ChatTypeParameterType Read(ref MinecraftPrimitiveReader reader, int protocolVersion)

Reads a value of type ChatTypeParameterType from the specified reader.

Parameters: reader (MinecraftPrimitiveReader), protocolVersion (int)

Returns: ChatTypeParameterType - The value that was read.

ToString()​

public override string ToString()

Returns the fully qualified type name of this instance.

Returns: string - The fully qualified type name.

ToString(int)​

public string ToString(int protocolVersion)

Parameters: protocolVersion (int)

Returns: string

Write(MinecraftPrimitiveWriter, int)​

public void Write(MinecraftPrimitiveWriter writer, int protocolVersion)

Writes the current value to the specified writer.

Parameters: writer (MinecraftPrimitiveWriter), protocolVersion (int)

Operators​

SignatureDescription
static explicit operator int(ChatTypeParameterType value)-
static explicit operator ChatTypeParameterType(int value)-

explicit operator int(ChatTypeParameterType)​

public static explicit operator int(ChatTypeParameterType value)

Parameters: value (ChatTypeParameterType)

Returns: int

explicit operator ChatTypeParameterType(int)​

public static explicit operator ChatTypeParameterType(int value)

Parameters: value (int)

Returns: ChatTypeParameterType