Class OutputArgument
An output argument passed to a script function.
Implements
Inherited Members
Namespace: GTA.Native
Assembly: ScriptHookVDotNet3.dll
Syntax
public class OutputArgument : IDisposable
Constructors
| Improve this Doc View SourceOutputArgument()
Initializes a new instance of the OutputArgument class for script functions that output data into pointers.
Declaration
public OutputArgument()
OutputArgument(Object)
Initializes a new instance of the OutputArgument class with an initial value for script functions that require the pointer to data instead of the actual data.
Declaration
public OutputArgument(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value to set the data of this OutputArgument to. |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
Finalize()
Frees the unmanaged resources associated with this OutputArgument.
Declaration
protected void Finalize()
GetResult<T>()
Gets the value of data stored in this OutputArgument.
Declaration
public T GetResult<T>()
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |