Class MyContractUpdateDelegate
Delegate used for custom update event.
Inheritance
System.Object
MyContractUpdateDelegate
Assembly: VRage.Game.dll
Syntax
public sealed class MyContractUpdateDelegate : MulticastDelegate
Constructors
MyContractUpdateDelegate(Object, IntPtr)
Declaration
public MyContractUpdateDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(Int64, MyCustomContractStateEnum, MyTimeSpan, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(long contractId, MyCustomContractStateEnum newState, MyTimeSpan currentTime, AsyncCallback callback, object object)
Parameters
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Invoke(Int64, MyCustomContractStateEnum, MyTimeSpan)
Declaration
public virtual void Invoke(long contractId, MyCustomContractStateEnum newState, MyTimeSpan currentTime)
Parameters