Class ScriptRpcEvent
Inheritance
System.Object
ScriptRpcEvent
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Shared.Elements.Entities
Assembly: AltV.Net.Shared.dll
Syntax
public class ScriptRpcEvent : IScriptRPCEvent
Constructors
| Improve this Doc View SourceScriptRpcEvent(ISharedCore, IntPtr, UInt16, Boolean)
Declaration
public ScriptRpcEvent(ISharedCore core, IntPtr clientScriptRPCNativePointer, ushort answerId, bool clientSide)
Parameters
Type | Name | Description |
---|---|---|
ISharedCore | core | |
IntPtr | clientScriptRPCNativePointer | |
System.UInt16 | answerId | |
System.Boolean | clientSide |
Properties
| Improve this Doc View SourceCore
Declaration
public ISharedCore Core { get; }
Property Value
Type | Description |
---|---|
ISharedCore |
ScriptRPCNativePointer
Declaration
public IntPtr ScriptRPCNativePointer { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Methods
| Improve this Doc View SourceAnswer(Object)
Declaration
public bool Answer(object answer)
Parameters
Type | Name | Description |
---|---|---|
System.Object | answer |
Returns
Type | Description |
---|---|
System.Boolean |
AnswerWithError(String)
Declaration
public bool AnswerWithError(string error)
Parameters
Type | Name | Description |
---|---|---|
System.String | error |
Returns
Type | Description |
---|---|
System.Boolean |
WillAnswer()
Declaration
public bool WillAnswer()
Returns
Type | Description |
---|---|
System.Boolean |