Table of Contents

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

long

Invalid

The invalid id.

public static long Invalid { get; }

Property Value

long

IsValid

True if not Invalid.

public bool IsValid { get; }

Property Value

bool

Methods

CompareTo(SteamNetworkingMicroseconds)

Value-based comparison.

public int CompareTo(SteamNetworkingMicroseconds other)

Parameters

other SteamNetworkingMicroseconds

Returns

int

Equals(SteamNetworkingMicroseconds)

Value-based equality.

public bool Equals(SteamNetworkingMicroseconds other)

Parameters

other SteamNetworkingMicroseconds

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)

Value-based equality.

public static bool operator ==(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)

Parameters

left SteamNetworkingMicroseconds
right SteamNetworkingMicroseconds

Returns

bool

operator >(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)

Value-based comparison.

public static bool operator >(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)

Parameters

left SteamNetworkingMicroseconds
right SteamNetworkingMicroseconds

Returns

bool

operator >=(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)

Value-based comparison.

public static bool operator >=(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)

Parameters

left SteamNetworkingMicroseconds
right SteamNetworkingMicroseconds

Returns

bool

operator !=(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)

Value-based equality.

public static bool operator !=(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)

Parameters

left SteamNetworkingMicroseconds
right SteamNetworkingMicroseconds

Returns

bool

operator <(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)

Value-based comparison.

public static bool operator <(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)

Parameters

left SteamNetworkingMicroseconds
right SteamNetworkingMicroseconds

Returns

bool

operator <=(SteamNetworkingMicroseconds, SteamNetworkingMicroseconds)

Value-based comparison.

public static bool operator <=(SteamNetworkingMicroseconds left, SteamNetworkingMicroseconds right)

Parameters

left SteamNetworkingMicroseconds
right SteamNetworkingMicroseconds

Returns

bool