Struct CallbackHandle
This is used to hold a reference for callback purposes.
Namespace: TycoonTerrain.Core
Assembly: TycoonTerrainAssembly.dll
Syntax
public struct CallbackHandle
Constructors
CallbackHandle(Int32)
Initializes a new instance of the CallbackHandle struct.
Declaration
public CallbackHandle(int id)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | The identifier. |
Properties
IsValid
Returns whether the current callback handle is valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Equals(Object)
Determines whether the specified Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The Object to compare with this instance. |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |