Click or drag to resize
Pickup Class
Represents a SA-MP pickup.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    SampSharp.GameMode.PoolsIdentifiedPoolPickup
      SampSharp.GameMode.WorldPickup

Namespace: SampSharp.GameMode.World
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public class Pickup : IdentifiedPool<Pickup>, 
	IWorldObject

The Pickup type exposes the following members.

Constructors
  NameDescription
Public methodPickup
Initializes a new instance of the Pickup class
Top
Properties
  NameDescription
Public propertyId
Gets the identifier of this instance.
(Inherited from IdentifiedPoolTInstance.)
Public propertyIsDisposed
Gets whether this resource has been disposed.
(Inherited from Disposable.)
Public propertyModel
Gets the model of this Pickup.
Public propertyPosition
Gets the position of this Pickup.
Public propertySpawnType
Gets the type of this Pickup.
Public propertyVirtualWorld
Gets the virtual world assigned to this Pickup.
Top
Methods
  NameDescription
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.)
Public methodStatic memberCreate
Creates a Pickup.
Public methodStatic memberCreateStatic
Creates a static Pickup in the game.
Public methodDispose
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.)
Protected methodDispose(Boolean)
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides IdentifiedPoolTInstanceDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Inherited from Disposable.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialize
An overloadable point for initialization logic which requires the Id to be set.
(Inherited from IdentifiedPoolTInstance.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnPickUp
Raises the PickUp event.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when this isntance has been disposed.
(Inherited from Disposable.)
Public eventPickUp
Occurs when the OnPickUp(PlayerEventArgs) is being called. Called when a player picks up a pickup created with Create(Int32, Int32, Vector3, Int32)
Top
Fields
  NameDescription
Public fieldStatic memberInvalidId
Identifier indicating the handle is invalid.
Public fieldStatic memberMax
Maximum number of pickups which can exist.
Top
See Also