Struct ScheduledTickHandle
Assembly: ScyllaCore.dll
Syntax
public readonly struct ScheduledTickHandle : IEquatable<ScheduledTickHandle>
Constructors
ScheduledTickHandle(int)
Wraps a scheduler-assigned ID into a handle.
Declaration
public ScheduledTickHandle(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
Properties
ID
Sequential identifier assigned by the originating scheduler.
Declaration
Property Value
IsValid
True when this handle holds a non-default identifier.
Declaration
public bool IsValid { get; }
Property Value
Methods
Equals(ScheduledTickHandle)
Returns true when this handle's ID equals other's ID.
Declaration
public bool Equals(ScheduledTickHandle other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(ScheduledTickHandle, ScheduledTickHandle)
Returns true when both handles refer to the same scheduled entry.
Declaration
public static bool operator ==(ScheduledTickHandle a, ScheduledTickHandle b)
Parameters
Returns
operator !=(ScheduledTickHandle, ScheduledTickHandle)
Returns true when the handles refer to different scheduled entries.
Declaration
public static bool operator !=(ScheduledTickHandle a, ScheduledTickHandle b)
Parameters
Returns
Implements