Class Pickup
Represents a global pickup. For pickups that logically belong to a single player, use PlayerPickup.
public class Pickup : BasePickup
- Inheritance
-
Pickup
- Inherited Members
Constructors
Pickup(IPickupsComponent, IPickup)
Initializes a new instance of the Pickup class.
protected Pickup(IPickupsComponent pickups, IPickup pickup)
Parameters
pickupsIPickupsComponentpickupIPickup
Methods
IsHiddenForPlayer(Player)
Checks whether this pickup is hidden for the specified player.
public virtual bool IsHiddenForPlayer(Player player)
Parameters
playerPlayerThe player.
Returns
IsStreamedInForPlayer(Player)
Checks whether this pickup is streamed in for the specified player.
public virtual bool IsStreamedInForPlayer(Player player)
Parameters
playerPlayerThe player.
Returns
SetHiddenForPlayer(Player, bool)
Hides or shows this pickup for the specified player.
public virtual void SetHiddenForPlayer(Player player, bool hidden)
Parameters
StreamInForPlayer(Player)
Streams this pickup in for the specified player.
public virtual void StreamInForPlayer(Player player)
Parameters
playerPlayerThe player.
StreamOutForPlayer(Player)
Streams this pickup out for the specified player.
public virtual void StreamOutForPlayer(Player player)
Parameters
playerPlayerThe player.