Interface IInteraction
Assembly: AltV.Net.Interactions.dll
Syntax
public interface IInteraction
Properties
|
Improve this Doc
View Source
Dimension
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Id
Declaration
Property Value
| Type |
Description |
| System.UInt64 |
|
|
Improve this Doc
View Source
Position
Declaration
Vector3 Position { get; }
Property Value
| Type |
Description |
| System.Numerics.Vector3 |
|
|
Improve this Doc
View Source
Range
Declaration
Property Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
RangeSquared
Declaration
uint RangeSquared { get; }
Property Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
Type
Declaration
Property Value
| Type |
Description |
| System.UInt64 |
|
Methods
|
Improve this Doc
View Source
OnInteraction(IPlayer, Vector3, Int32, Object)
Declaration
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 |
True if you don't want that other interactions are triggered as well
|