Struct SteamNetworkingMicroseconds
- Namespace
- MarymoorStudios.Core.Steamworks
- Assembly
- MarymoorStudios.Core.Steamworks.dll
public readonly struct SteamNetworkingMicroseconds : IEquatable<SteamNetworkingMicroseconds>, IComparable<SteamNetworkingMicroseconds>
- Implements
- Inherited Members
Constructors
SteamNetworkingMicroseconds(long)
public SteamNetworkingMicroseconds(long id)
Parameters
id
long
Properties
Id
The underlying value.
public long Id { get; }
Property Value
Invalid
The invalid id.
public static long Invalid { get; }
Property Value
IsValid
True if not Invalid.
public bool IsValid { get; }
Property Value
Methods
CompareTo(SteamNetworkingMicroseconds)
Value-based comparison.
public int CompareTo(SteamNetworkingMicroseconds other)
Parameters
Returns
Equals(SteamNetworkingMicroseconds)
Value-based equality.
public bool Equals(SteamNetworkingMicroseconds other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)
Value-based equality.
public static bool operator ==(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)
Parameters
Returns
operator >(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)
Value-based comparison.
public static bool operator >(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)
Parameters
Returns
operator >=(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)
Value-based comparison.
public static bool operator >=(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)
Parameters
Returns
operator !=(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)
Value-based equality.
public static bool operator !=(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)
Parameters
Returns
operator <(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)
Value-based comparison.
public static bool operator <(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)
Parameters
Returns
operator <=(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)
Value-based comparison.
public static bool operator <=(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)