Show / Hide Table of Contents

    Interface IGachaReward

    A specific IReward that grants random IRewards to the player using the weights that GachaRewardData specifies.

    Inherited Members
    IReward.RewardData
    IReward.CanClaim(Boolean)
    IPayoutEntity.PayoutEntityData
    IPayoutEntity.CalculatePayouts()
    IEntity.Id
    IEntity.Initialize()
    IEntity.Cleanup(IEntityLoaderService)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IGachaReward : IReward, IPayoutEntity, IEntity, IInjectable

    Properties

    GachaRewardData

    The associated data for the gacha

    Declaration
    IGachaRewardData GachaRewardData { get; }
    Property Value
    Type Description
    IGachaRewardData

    Methods

    GetValidItems(IGachaSlot, Boolean)

    Returns all items within a given IGachaSlots that are claimable. Use this function if you are calculating the odds of a IGachaSlot as these are also the IGachaItems that would be used when calculating which item is returned from slot when claiming this IReward.

    Declaration
    IGachaItem[] GetValidItems(IGachaSlot slot, bool ignoreFallback = false)
    Parameters
    Type Name Description
    IGachaSlot slot
    Boolean ignoreFallback
    Returns
    Type Description
    IGachaItem[]
    Back to top Copyright © 2020 East Side Games Inc.