Class PickupHandler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PickupHandler : Singleton<PickupHandler>
- Inheritance
-
PickupHandler
- Inherited Members
- Extension Methods
Constructors
PickupHandler()
public PickupHandler()
Fields
m_pickup
public List<Pickup> m_pickup
Field Value
Methods
CreatePickup(byte, ItemInstanceData, Vector3, Quaternion)
public static Pickup CreatePickup(byte itemID, ItemInstanceData data, Vector3 pos, Quaternion rot)
Parameters
itemIDbytedataItemInstanceDataposVector3rotQuaternion
Returns
CreatePickup(byte, ItemInstanceData, Vector3, Quaternion, Vector3, Vector3)
public static Pickup CreatePickup(byte itemID, ItemInstanceData data, Vector3 pos, Quaternion rot, Vector3 vel, Vector3 angVel)
Parameters
itemIDbytedataItemInstanceDataposVector3rotQuaternionvelVector3angVelVector3
Returns
GetRandomPickup(out Pickup, List<Item>)
public static bool GetRandomPickup(out Pickup pickup, List<Item> excludedItems = null)
Parameters
Returns
RegisterPickup(Pickup)
public static void RegisterPickup(Pickup pickup)
Parameters
pickupPickup
SendPosToEveryone()
public static void SendPosToEveryone()
UnregisterPickup(Pickup)
public static void UnregisterPickup(Pickup pickup)
Parameters
pickupPickup