Pickup Class |
Namespace: SampSharp.GameMode.World
public class Pickup : IdentifiedPool<Pickup>, IWorldObject
The Pickup type exposes the following members.
Name | Description | |
---|---|---|
![]() | Id |
Gets the identifier of this instance.
(Inherited from IdentifiedPoolTInstance.) |
![]() | IsDisposed |
Gets whether this resource has been disposed.
(Inherited from Disposable.) |
![]() | Model |
Gets the model of this Pickup.
|
![]() | Position |
Gets the position of this Pickup.
|
![]() | SpawnType |
Gets the type of this Pickup.
|
![]() | VirtualWorld |
Gets the virtual world assigned to this Pickup.
|
Name | Description | |
---|---|---|
![]() | AssertNotDisposed |
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.) |
![]() ![]() | Create(Int32, PickupType, Vector3, Int32) |
Creates a Pickup.
|
![]() ![]() | Create(Int32, Int32, Vector3, Int32) |
Creates a Pickup.
|
![]() ![]() | CreateStatic |
Creates a static Pickup in the game.
|
![]() | Dispose |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.) |
![]() | Dispose(Boolean) |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides IdentifiedPoolTInstanceDispose(Boolean).) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Finalizes an instance of the Disposable class.
(Inherited from Disposable.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize |
An overloadable point for initialization logic which requires the Id to be set.
(Inherited from IdentifiedPoolTInstance.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnPickUp |
Raises the PickUp event.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Disposed |
Occurs when this isntance has been disposed.
(Inherited from Disposable.) |
![]() | PickUp |
Occurs when the OnPickUp(PickUpPickupEventArgs) is being called.
Called when a player picks up a pickup.
|
Name | Description | |
---|---|---|
![]() ![]() | InvalidId |
Identifier indicating the handle is invalid.
|
![]() ![]() | Max |
Maximum number of pickups which can exist.
|