Skip to content

Class: Pickup_BaseGoldOrb ​

csharp
public class Pickup_BaseGoldOrb : PickupInstance, ILogicUpdate, ICleanup, ICustomDestroyRoutine

Fields ​

NameDeclarationDescription
amount`[NonSerialized]
public int amount`
isGivenByOtherPlayer`[NonSerialized]
public bool isGivenByOtherPlayer`
isKillGold`[NonSerialized]
public bool isKillGold`
target`[NonSerialized]
public Hero target`

Properties ​

NameDeclarationDescription
isDestroyedOnRoomChangepublic override bool isDestroyedOnRoomChange { get; }

Methods ​

CanBeUsedBy(Hero) ​

csharp
protected override bool CanBeUsedBy(Hero hero)

Parameters:

NameTypeDescription
heroHero

Returns: bool

OnCreate() ​

csharp
protected override void OnCreate()

OnDestroyActor() ​

csharp
protected override void OnDestroyActor()

OnPickup(Hero) ​

csharp
protected override void OnPickup(Hero hero)

Parameters:

NameTypeDescription
heroHero

Maintained by the Shape of Dreams Modding Community