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
PlayerId(byte, ulong, ulong)
public PlayerId(byte providedType, ulong id1, ulong id2)
Parameters
PlayerId(byte, ulong, ulong, ulong)
public PlayerId(byte providedType, ulong reservedBig, ulong id1, ulong id2)
Parameters
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
Properties
Empty
public static PlayerId Empty { get; }
Property Value
Id1
public ulong Id1 { get; }
Property Value
Id2
public ulong Id2 { get; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
Part1
public ulong Part1 { get; }
Property Value
Part2
public ulong Part2 { get; }
Property Value
Part3
public ulong Part3 { get; }
Property Value
Part4
public ulong Part4 { get; }
Property Value
ProvidedType
public PlayerIdProvidedTypes ProvidedType { get; }
Property Value
Methods
CompareTo(PlayerId)
public int CompareTo(PlayerId other)
Parameters
other
PlayerId
Returns
Deserialize(IReader)
public void Deserialize(IReader reader)
Parameters
reader
IReader
Equals(object)
public override bool Equals(object o)
Parameters
o
object
Returns
Equals(PlayerId)
public bool Equals(PlayerId other)
Parameters
other
PlayerId
Returns
FromString(string)
public static PlayerId FromString(string id)
Parameters
id
string
Returns
GetHashCode()
public override int GetHashCode()
Returns
Serialize(IWriter)
public void Serialize(IWriter writer)
Parameters
writer
IWriter
ToByteArray()
public byte[] ToByteArray()
Returns
- byte[]
ToString()
public override string ToString()
Returns
Operators
operator ==(PlayerId, PlayerId)
public static bool operator ==(PlayerId a, PlayerId b)
Parameters
Returns
operator !=(PlayerId, PlayerId)
public static bool operator !=(PlayerId a, PlayerId b)
Parameters
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).