Show / Hide Table of Contents

    Interface IRewardService

    This IService handles the loading and provides convenient way to fetch any IReward

    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IRewardService : IService

    Methods

    GetAllRewards<TReward>()

    Returns all IReward.

    Declaration
    TReward[] GetAllRewards<TReward>()
        where TReward : IReward
    Returns
    Type Description
    TReward[]
    Type Parameters
    Name Description
    TReward

    GetReward<TReward>(String)

    Returns the TReward controller associated with the id

    Declaration
    TReward GetReward<TReward>(string id)
        where TReward : IReward
    Parameters
    Type Name Description
    String id
    Returns
    Type Description
    TReward
    Type Parameters
    Name Description
    TReward

    GetRewards<TReward>(String[])

    Returns the TReward controller associated with the ids.

    Declaration
    TReward[] GetRewards<TReward>(string[] ids)
        where TReward : IReward
    Parameters
    Type Name Description
    String[] ids
    Returns
    Type Description
    TReward[]
    Type Parameters
    Name Description
    TReward
    Back to top Copyright © 2020 East Side Games Inc.