Class Pickup
Inherited Members
Namespace: GTA
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class Pickup : PoolObject, INativeValue, IDeletable, IExistable
Constructors
| Improve this Doc View SourcePickup(Int32)
Declaration
public Pickup(int handle)
Parameters
Type | Name | Description |
---|---|---|
Int32 | handle |
Properties
| Improve this Doc View SourceIsCollected
Gets if this Pickup has been collected.
Declaration
public bool IsCollected { get; }
Property Value
Type | Description |
---|---|
Boolean |
Position
The position of this Pickup.
Declaration
public Vector3 Position { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
| Improve this Doc View SourceDelete()
Destroys this Pickup.
Declaration
public override void Delete()
Overrides
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The Object to check. |
Returns
Type | Description |
---|---|
Boolean | true if the |
Overrides
| Improve this Doc View SourceExists()
Determines if this Pickup exists.
Declaration
public override bool Exists()
Returns
Type | Description |
---|---|
Boolean | true if this Pickup exists; otherwise, false. |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceObjectExists()
Determines if the object of this Pickup exists.
Declaration
public bool ObjectExists()
Returns
Type | Description |
---|---|
Boolean |
Operators
| Improve this Doc View SourceEquality(Pickup, Pickup)
Determines if two Pickups refer to the same pickup.
Declaration
public static bool operator ==(Pickup left, Pickup right)
Parameters
Type | Name | Description |
---|---|---|
Pickup | left | The left Pickup. |
Pickup | right | The right Pickup. |
Returns
Type | Description |
---|---|
Boolean | true if |
Implicit(Pickup to InputArgument)
Converts a Pickup to a native input argument.
Declaration
public static implicit operator InputArgument(Pickup value)
Parameters
Type | Name | Description |
---|---|---|
Pickup | value |
Returns
Type | Description |
---|---|
InputArgument |
Inequality(Pickup, Pickup)
Determines if two Pickups don't refer to the same pickup.
Declaration
public static bool operator !=(Pickup left, Pickup right)
Parameters
Type | Name | Description |
---|---|---|
Pickup | left | The left Pickup. |
Pickup | right | The right Pickup. |
Returns
Type | Description |
---|---|
Boolean | true if |