Struct SteamNetworkingIdentity
- Namespace
- MarymoorStudios.Core.Steamworks
- Assembly
- MarymoorStudios.Core.Steamworks.dll
public struct SteamNetworkingIdentity : IEquatable<SteamNetworkingIdentity>
- Implements
- Inherited Members
Constructors
SteamNetworkingIdentity()
public SteamNetworkingIdentity()
Fields
MaxGenericBytesCount
public const int MaxGenericBytesCount = 32
Field Value
MaxGenericString
public const int MaxGenericString = 32
Field Value
MaxString
public const int MaxString = 128
Field Value
MaxXboxPairwiseID
public const int MaxXboxPairwiseID = 33
Field Value
Size
public int Size
Field Value
Type
public ESteamNetworkingIdentityType Type
Field Value
UnknownRawString
public SteamNetworkingIdentity.UnknownRawStringType UnknownRawString
Field Value
Properties
IsFakeIP
public bool IsFakeIP { get; }
Property Value
IsLocalHost
public bool IsLocalHost { get; }
Property Value
IsValid
public readonly bool IsValid { get; }
Property Value
PSNID
public ulong PSNID { get; set; }
Property Value
SteamID
public CSteamID SteamID { get; set; }
Property Value
SteamID64
public ulong SteamID64 { get; set; }
Property Value
Methods
Clear()
public void Clear()
Equals(SteamNetworkingIdentity)
Value-based equality.
public readonly bool Equals(SteamNetworkingIdentity other)
Parameters
other
SteamNetworkingIdentity
Returns
Equals(object?)
public override readonly bool Equals(object? obj)
Parameters
obj
object
Returns
GetFakeIPType()
public ESteamNetworkingFakeIPType GetFakeIPType()
Returns
GetGenericString()
public string? GetGenericString()
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
GetIPAddr()
public SteamNetworkingIPAddr? GetIPAddr()
Returns
GetIPv4()
public uint GetIPv4()
Returns
GetXboxPairwiseID()
public string? GetXboxPairwiseID()
Returns
SetGenericBytes(ReadOnlySpan<byte>)
public bool SetGenericBytes(ReadOnlySpan<byte> data)
Parameters
data
ReadOnlySpan<byte>
Returns
SetGenericString(string)
public bool SetGenericString(string s)
Parameters
s
string
Returns
SetIPAddr(SteamNetworkingIPAddr)
public void SetIPAddr(SteamNetworkingIPAddr addr)
Parameters
SetIPv4Addr(uint, ushort)
public void SetIPv4Addr(uint nIPv4, ushort nPort)
Parameters
SetLocalHost()
public void SetLocalHost()
SetXboxPairwiseID(string)
public bool SetXboxPairwiseID(string s)
Parameters
s
string
Returns
ToString()
public override string ToString()
Returns
TryParseString(string, out SteamNetworkingIdentity)
public static bool TryParseString(string s, out SteamNetworkingIdentity address)
Parameters
s
stringaddress
SteamNetworkingIdentity
Returns
Operators
operator ==(SteamNetworkingIdentity, SteamNetworkingIdentity)
Value-based equality.
public static bool operator ==(SteamNetworkingIdentity left, SteamNetworkingIdentity right)
Parameters
left
SteamNetworkingIdentityright
SteamNetworkingIdentity
Returns
operator !=(SteamNetworkingIdentity, SteamNetworkingIdentity)
Value-based equality.
public static bool operator !=(SteamNetworkingIdentity left, SteamNetworkingIdentity right)
Parameters
left
SteamNetworkingIdentityright
SteamNetworkingIdentity