ReportDetail
class
Declaration
[ProtocolSupport(767, 776)]
public sealed class ReportDetail : IProtocolType<ReportDetail>
| Namespace | McProtoNet.Protocol |
| Assembly | McProtoNet.Protocol.dll |
| Source | src/McProtoNet.Protocol/Generated/Types/ReportDetail.cs#L5 ↗ |
Implements: IProtocolType<ReportDetail>
Constructors
| Signature | Description |
|---|---|
ReportDetail(string key, string value) | - |
ReportDetail(string, string)
public ReportDetail(string key, string value)
Parameters: key (String), value (String)
Properties
| Signature | Description |
|---|---|
string Key | - |
string Value | - |
Key
public string Key { get; }
Returns: String
Value
public string Value { get; }
Returns: String
Methods
| Signature | Description |
|---|---|
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)