Skip to main content

ReportDetail

class

Declaration

[ProtocolSupport(767, 776)]
public sealed class ReportDetail : IProtocolType<ReportDetail>
NamespaceMcProtoNet.Protocol
AssemblyMcProtoNet.Protocol.dll
Sourcesrc/McProtoNet.Protocol/Generated/Types/ReportDetail.cs#L5 ↗

Implements: IProtocolType<ReportDetail>

Constructors

SignatureDescription
ReportDetail(string key, string value)-

ReportDetail(string, string)

public ReportDetail(string key, string value)

Parameters: key (String), value (String)

Properties

SignatureDescription
string Key-
string Value-

Key

public string Key { get; }

Returns: String

Value

public string Value { get; }

Returns: String

Methods

SignatureDescription
static ReportDetail Read(ref MinecraftPrimitiveReader reader, int protocolVersion)Reads a value of type ReportDetail from the specified reader.
void Write(MinecraftPrimitiveWriter writer, int protocolVersion)Writes the current value to the specified writer.

Read(ref MinecraftPrimitiveReader, int)

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

Reads a value of type ReportDetail from the specified reader.

Parameters: reader (MinecraftPrimitiveReader), protocolVersion (Int32)

Returns: ReportDetail - The value that was read.

Write(MinecraftPrimitiveWriter, int)

public void Write(MinecraftPrimitiveWriter writer, int protocolVersion)

Writes the current value to the specified writer.

Parameters: writer (MinecraftPrimitiveWriter), protocolVersion (Int32)