servernetadr_t
Struct servernetadr_t
Namespace: SwiftlyS2.Shared.SteamAPI
Assembly: SwiftlyS2.CS2.dll
[Serializable]
public struct servernetadr_tInherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Methods
CompareTo(servernetadr_t)
public int CompareTo(servernetadr_t other)Parameters
- other servernetadr_t
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object other)Parameters
- other object
Returns
- bool — true if
objand this instance are the same type and represent the same value; otherwise, false.
Equals(servernetadr_t)
public bool Equals(servernetadr_t other)Parameters
- other servernetadr_t
Returns
GetConnectionAddressString()
public string GetConnectionAddressString()Returns
GetConnectionPort()
public ushort GetConnectionPort()Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()Returns
- int — A 32-bit signed integer that is the hash code for this instance.
GetIP()
public uint GetIP()Returns
GetQueryAddressString()
public string GetQueryAddressString()Returns
GetQueryPort()
public ushort GetQueryPort()Returns
Init(uint, ushort, ushort)
public void Init(uint ip, ushort usQueryPort, ushort usConnectionPort)Parameters
SetConnectionPort(ushort)
public void SetConnectionPort(ushort usPort)Parameters
- usPort ushort
SetIP(uint)
public void SetIP(uint unIP)Parameters
- unIP uint
SetQueryPort(ushort)
public void SetQueryPort(ushort usPort)Parameters
- usPort ushort
ToString(uint, ushort)
public static string ToString(uint unIP, ushort usPort)Parameters
Returns
Operators
operator ==(servernetadr_t, servernetadr_t)
public static bool operator ==(servernetadr_t x, servernetadr_t y)Parameters
Returns
operator >(servernetadr_t, servernetadr_t)
public static bool operator >(servernetadr_t x, servernetadr_t y)Parameters
Returns
operator !=(servernetadr_t, servernetadr_t)
public static bool operator !=(servernetadr_t x, servernetadr_t y)Parameters
Returns
operator <(servernetadr_t, servernetadr_t)
public static bool operator <(servernetadr_t x, servernetadr_t y)Parameters
Returns