Class GachaSlot
An implementation of IGachaSlot that contains a list of GachaItem each containing
a weight value. The weights from the GachaItem are used in the weighted random selection that
results in granting of an IReward from the selected IGachaItem.
Assembly: cs.temp.dll.dll
Syntax
public class GachaSlot : IGachaSlot
Constructors
GachaSlot()
The Beamable SDK requires empty default constructor.
Declaration
GachaSlot(GachaItem[])
Declaration
public GachaSlot(GachaItem[] gachaItems)
Parameters
Fields
_gachaItems
Declaration
protected GachaItem[] _gachaItems
Field Value
Properties
GachaItems
Declaration
public virtual IGachaItem[] GachaItems { get; }
Property Value
Implements