Skip to content

Class: PickupManager ​

csharp
public class PickupManager : NetworkedManagerBase<PickupManager>, ILogicUpdate

Fields ​

NameDeclarationDescription
dreamDustMaxCountpublic int dreamDustMaxCount
dreamDustMinAmountpublic int dreamDustMinAmount
expOrbMaxCountpublic int expOrbMaxCount
goldOrbMaxCountpublic int goldOrbMaxCount
isStardustDropDisabledpublic bool isStardustDropDisabled
largeExpOrbAmountpublic int largeExpOrbAmount
largeGoldOrbAmountpublic int largeGoldOrbAmount
mediumExpOrbAmountpublic int mediumExpOrbAmount
mediumGoldOrbAmountpublic int mediumGoldOrbAmount
smallExpOrbAmountpublic int smallExpOrbAmount
smallGoldOrbAmountpublic int smallGoldOrbAmount

Methods ​

DropDreamDust(bool, int, Vector3, Hero) ​

csharp
public void DropDreamDust(bool isGivenByOtherPlayer, int amount, Vector3 position, Hero target = null)

Parameters:

NameTypeDescription
isGivenByOtherPlayerbool
amountint
positionUnityEngine.Vector3
targetHero

DropExp(int, Vector3) ​

csharp
public void DropExp(int amount, Vector3 position)

Parameters:

NameTypeDescription
amountint
positionUnityEngine.Vector3

DropGold(bool, bool, int, Vector3, Hero) ​

csharp
public void DropGold(bool isKillGold, bool isGivenByOtherPlayer, int amount, Vector3 position, Hero target = null)

Parameters:

NameTypeDescription
isKillGoldbool
isGivenByOtherPlayerbool
amountint
positionUnityEngine.Vector3
targetHero

DropStarDust(int, Vector3) ​

csharp
public void DropStarDust(int amount, Vector3 position)

Parameters:

NameTypeDescription
amountint
positionUnityEngine.Vector3

OnStartServer() ​

csharp
public override void OnStartServer()

Maintained by the Shape of Dreams Modding Community