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
itemID
bytedata
ItemInstanceDatapos
Vector3rot
Quaternion
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
itemID
bytedata
ItemInstanceDatapos
Vector3rot
Quaternionvel
Vector3angVel
Vector3
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
pickup
Pickup
SendPosToEveryone()
public static void SendPosToEveryone()
UnregisterPickup(Pickup)
public static void UnregisterPickup(Pickup pickup)
Parameters
pickup
Pickup