Show / Hide Table of Contents

    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.

    Inheritance
    Object
    GachaSlot
    Implements
    IGachaSlot
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public class GachaSlot : IGachaSlot

    Constructors

    GachaSlot()

    The Beamable SDK requires empty default constructor.

    Declaration
    public GachaSlot()

    GachaSlot(GachaItem[])

    Declaration
    public GachaSlot(GachaItem[] gachaItems)
    Parameters
    Type Name Description
    GachaItem[] gachaItems

    Fields

    _gachaItems

    Declaration
    protected GachaItem[] _gachaItems
    Field Value
    Type Description
    GachaItem[]

    Properties

    GachaItems

    Declaration
    public virtual IGachaItem[] GachaItems { get; }
    Property Value
    Type Description
    IGachaItem[]

    Implements

    IGachaSlot
    Back to top Copyright © 2020 East Side Games Inc.