Table of Contents

Struct PlayerId

Namespace
TaleWorlds.PlayerServices
Assembly
TaleWorlds.PlayerServices.dll
public struct PlayerId : IComparable<PlayerId>, IEquatable<PlayerId>
Implements
Inherited Members
Extension Methods

Constructors

PlayerId(byte, string)

public PlayerId(byte providedType, string guid)

Parameters

providedType byte
guid string

PlayerId(byte, ulong, ulong)

public PlayerId(byte providedType, ulong id1, ulong id2)

Parameters

providedType byte
id1 ulong
id2 ulong

PlayerId(byte, ulong, ulong, ulong)

public PlayerId(byte providedType, ulong reservedBig, ulong id1, ulong id2)

Parameters

providedType byte
reservedBig ulong
id1 ulong
id2 ulong

PlayerId(byte[])

public PlayerId(byte[] data)

Parameters

data byte[]

PlayerId(Guid)

public PlayerId(Guid guid)

Parameters

guid Guid

PlayerId(ulong, ulong, ulong, ulong)

public PlayerId(ulong part1, ulong part2, ulong part3, ulong part4)

Parameters

part1 ulong
part2 ulong
part3 ulong
part4 ulong

Properties

Empty

public static PlayerId Empty { get; }

Property Value

PlayerId

Id1

public ulong Id1 { get; }

Property Value

ulong

Id2

public ulong Id2 { get; }

Property Value

ulong

IsValid

public bool IsValid { get; }

Property Value

bool

Part1

public ulong Part1 { get; }

Property Value

ulong

Part2

public ulong Part2 { get; }

Property Value

ulong

Part3

public ulong Part3 { get; }

Property Value

ulong

Part4

public ulong Part4 { get; }

Property Value

ulong

ProvidedType

public PlayerIdProvidedTypes ProvidedType { get; }

Property Value

PlayerIdProvidedTypes

Methods

CompareTo(PlayerId)

public int CompareTo(PlayerId other)

Parameters

other PlayerId

Returns

int

Deserialize(IReader)

public void Deserialize(IReader reader)

Parameters

reader IReader

Equals(object)

public override bool Equals(object o)

Parameters

o object

Returns

bool

Equals(PlayerId)

public bool Equals(PlayerId other)

Parameters

other PlayerId

Returns

bool

FromString(string)

public static PlayerId FromString(string id)

Parameters

id string

Returns

PlayerId

GetHashCode()

public override int GetHashCode()

Returns

int

Serialize(IWriter)

public void Serialize(IWriter writer)

Parameters

writer IWriter

ToByteArray()

public byte[] ToByteArray()

Returns

byte[]

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PlayerId, PlayerId)

public static bool operator ==(PlayerId a, PlayerId b)

Parameters

a PlayerId
b PlayerId

Returns

bool

operator !=(PlayerId, PlayerId)

public static bool operator !=(PlayerId a, PlayerId b)

Parameters

a PlayerId
b PlayerId

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).