Table of Contents

Class CheatingReport

Namespace
Uncreated.Warfare.Moderation.Reports
Assembly
Uncreated.Warfare.dll
[JsonConverter(typeof(ModerationEntryConverter))]
public class CheatingReport : Report, IModerationEntry
Inheritance
CheatingReport
Implements
Inherited Members

Properties

Shots

[JsonPropertyName("hits")]
public ShotRecord[] Shots { get; set; }

Property Value

ShotRecord[]

Methods

AddExtraInfo(DatabaseInterface, List<string>, IFormatProvider, CancellationToken)

public override Task AddExtraInfo(DatabaseInterface db, List<string> workingList, IFormatProvider formatter, CancellationToken token = default)

Parameters

db DatabaseInterface
workingList List<string>
formatter IFormatProvider
token CancellationToken

Returns

Task

GetAccuracy(ERaycastInfoType?)

public double GetAccuracy(ERaycastInfoType? type = null)

Parameters

type ERaycastInfoType?

Returns

double

GetAccuracy(out AccuracyMap, ERaycastInfoType?)

public double GetAccuracy(out AccuracyMap map, ERaycastInfoType? type = null)

Parameters

map AccuracyMap
type ERaycastInfoType?

Returns

double

GetDisplayName()

public override string GetDisplayName()

Returns

string

ReadIntl(ByteReader, ushort)

protected override void ReadIntl(ByteReader reader, ushort version)

Parameters

reader ByteReader
version ushort

ReadProperty(ref Utf8JsonReader, string, JsonSerializerOptions)

public override bool ReadProperty(ref Utf8JsonReader reader, string propertyName, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
propertyName string
options JsonSerializerOptions

Returns

bool

Write(Utf8JsonWriter, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
options JsonSerializerOptions

WriteIntl(ByteWriter)

protected override void WriteIntl(ByteWriter writer)

Parameters

writer ByteWriter