Class AsyncScriptRpcEvent
Inheritance
System.Object
AsyncScriptRpcEvent
Assembly: AltV.Net.Async.dll
Syntax
public class AsyncScriptRpcEvent : IScriptRPCEvent
Constructors
|
Improve this Doc
View Source
AsyncScriptRpcEvent(IPlayer, UInt16)
Declaration
public AsyncScriptRpcEvent(IPlayer target, ushort answerId)
Parameters
| Type |
Name |
Description |
| IPlayer |
target |
|
| System.UInt16 |
answerId |
|
Properties
|
Improve this Doc
View Source
ScriptRPCNativePointer
Declaration
public IntPtr ScriptRPCNativePointer { get; }
Property Value
| Type |
Description |
| System.IntPtr |
|
Methods
|
Improve this Doc
View Source
Answer(Object)
Declaration
public bool Answer(object answer)
Parameters
| Type |
Name |
Description |
| System.Object |
answer |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
AnswerWithError(String)
Declaration
public bool AnswerWithError(string error)
Parameters
| Type |
Name |
Description |
| System.String |
error |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
WillAnswer()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|