Table of Contents

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

List<Pickup>

Methods

CreatePickup(byte, ItemInstanceData, Vector3, Quaternion)

public static Pickup CreatePickup(byte itemID, ItemInstanceData data, Vector3 pos, Quaternion rot)

Parameters

itemID byte
data ItemInstanceData
pos Vector3
rot Quaternion

Returns

Pickup

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 byte
data ItemInstanceData
pos Vector3
rot Quaternion
vel Vector3
angVel Vector3

Returns

Pickup

GetRandomPickup(out Pickup, List<Item>)

public static bool GetRandomPickup(out Pickup pickup, List<Item> excludedItems = null)

Parameters

pickup Pickup
excludedItems List<Item>

Returns

bool

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