Search Results for

    Show / Hide Table of Contents

    Class Pickup

    Inheritance
    Object
    PoolObject
    Pickup
    Implements
    INativeValue
    IDeletable
    IExistable
    Inherited Members
    PoolObject.Handle
    PoolObject.NativeValue
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public sealed class Pickup : PoolObject, INativeValue, IDeletable, IExistable

    Constructors

    | Improve this Doc View Source

    Pickup(Int32)

    Declaration
    public Pickup(int handle)
    Parameters
    Type Name Description
    Int32 handle

    Properties

    | Improve this Doc View Source

    IsCollected

    Gets if this Pickup has been collected.

    Declaration
    public bool IsCollected { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Position

    The position of this Pickup.

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    Methods

    | Improve this Doc View Source

    Delete()

    Destroys this Pickup.

    Declaration
    public override void Delete()
    Overrides
    PoolObject.Delete()
    | Improve this Doc View Source

    Equals(Object)

    Determines if an Object refers to the same pickup as this Pickup.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The Object to check.

    Returns
    Type Description
    Boolean

    true if the obj is the same pickup as this Pickup; otherwise, false.

    Overrides
    Object.Equals(Object)
    | Improve this Doc View Source

    Exists()

    Determines if this Pickup exists.

    Declaration
    public override bool Exists()
    Returns
    Type Description
    Boolean

    true if this Pickup exists; otherwise, false.

    Overrides
    PoolObject.Exists()
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()
    | Improve this Doc View Source

    ObjectExists()

    Determines if the object of this Pickup exists.

    Declaration
    public bool ObjectExists()
    Returns
    Type Description
    Boolean

    Operators

    | Improve this Doc View Source

    Equality(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 left is the same pickup as right; otherwise, false.

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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 left is not the same pickup as right; otherwise, false.

    Implements

    INativeValue
    IDeletable
    IExistable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX