Class InteractionsService
Inheritance
System.Object
InteractionsService
Implements
System.IDisposable
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.Interactions
Assembly: AltV.Net.Interactions.dll
Syntax
public class InteractionsService : IDisposable
Methods
| Improve this Doc View SourceAdd(IInteraction)
Declaration
public void Add(IInteraction interaction)
Parameters
Type | Name | Description |
---|---|---|
IInteraction | interaction |
CreateBuilder(InteractionsServiceOptions)
Declaration
public static InteractionsServiceBuilder CreateBuilder(InteractionsServiceOptions serviceOptions = null)
Parameters
Type | Name | Description |
---|---|---|
InteractionsServiceOptions | serviceOptions |
Returns
Type | Description |
---|---|
InteractionsServiceBuilder |
Dispose()
Declaration
public void Dispose()
Find(UInt64, Vector3, Int32)
Declaration
public Task<IInteraction[]> Find(ulong type, Vector3 position, int dimension)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | type | |
System.Numerics.Vector3 | position | |
System.Int32 | dimension |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IInteraction[]> |
Remove(IInteraction)
Declaration
public void Remove(IInteraction interaction)
Parameters
Type | Name | Description |
---|---|---|
IInteraction | interaction |
Trigger(UInt64, IPlayer, Object)
Declaration
public void Trigger(ulong type, IPlayer player, object argument = null)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | type | |
IPlayer | player | |
System.Object | argument |
TriggerAll(IPlayer, Object)
Declaration
public void TriggerAll(IPlayer player, object argument)
Parameters
Type | Name | Description |
---|---|---|
IPlayer | player | |
System.Object | argument |
TriggerMultiple(IPlayer, Object, UInt64[])
Declaration
public void TriggerMultiple(IPlayer player, object argument, params ulong[] types)
Parameters
Type | Name | Description |
---|---|---|
IPlayer | player | |
System.Object | argument | |
System.UInt64[] | types |
Implements
System.IDisposable