Class Interaction
Inheritance
System.Object
Interaction
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.Interactions
Assembly: AltV.Net.Interactions.dll
Syntax
public class Interaction : IInteraction
Constructors
| Improve this Doc View SourceInteraction(UInt64, UInt64, Vector3, Int32, UInt32)
Declaration
public Interaction(ulong type, ulong id, Vector3 position, int dimension, uint range)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | type | |
System.UInt64 | id | |
System.Numerics.Vector3 | position | |
System.Int32 | dimension | |
System.UInt32 | range |
Properties
| Improve this Doc View SourceDimension
Declaration
public int Dimension { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Id
Declaration
public ulong Id { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Position
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
System.Numerics.Vector3 |
Range
Declaration
public uint Range { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
RangeSquared
Declaration
public uint RangeSquared { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Type
Declaration
public ulong Type { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Methods
| Improve this Doc View SourceOnInteraction(IPlayer, Vector3, Int32, Object)
Declaration
public virtual bool OnInteraction(IPlayer player, Vector3 interactionPosition, int interactionDimension, object argument)
Parameters
Type | Name | Description |
---|---|---|
IPlayer | player | |
System.Numerics.Vector3 | interactionPosition | |
System.Int32 | interactionDimension | |
System.Object | argument |
Returns
Type | Description |
---|---|
System.Boolean |