Show / Hide Table of Contents

    Interface IAvatarService

    An responsible for quick access to s.

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

    Methods

    CheckAvatarUnlockStatus(String)

    Checks whether the player has unlocked the specific as well as the it's contained in.

    Declaration
    bool CheckAvatarUnlockStatus(string avatarId)
    Parameters
    Type Name Description
    String avatarId
    Returns
    Type Description
    Boolean

    GetAllCollections()

    Returns all s currently in memory.

    Declaration
    IAvatarCollection[] GetAllCollections()
    Returns
    Type Description
    IAvatarCollection[]

    GetAllUnlockedCollections()

    Returns all currently in memory whose and fields are set to TRUE.

    Declaration
    IAvatarCollection[] GetAllUnlockedCollections()
    Returns
    Type Description
    IAvatarCollection[]

    GetAvatarCollection(String)

    Returns an IAvatarCollection with the provided .

    Declaration
    IAvatarCollection GetAvatarCollection(string id)
    Parameters
    Type Name Description
    String id
    Returns
    Type Description
    IAvatarCollection

    GetAvatarCollections(String[])

    Returns an array of s with the provided .

    Declaration
    IAvatarCollection[] GetAvatarCollections(string[] ids)
    Parameters
    Type Name Description
    String[] ids
    Returns
    Type Description
    IAvatarCollection[]

    GetAvatarTitle(String)

    Returns Title of an Avatar.

    Declaration
    string GetAvatarTitle(string avatarId)
    Parameters
    Type Name Description
    String avatarId
    Returns
    Type Description
    String

    UnlockAvatar(String)

    Unlocks the with the passed in . Also unlocks the containing if it's not yet available to the player.

    Declaration
    void UnlockAvatar(string avatarId)
    Parameters
    Type Name Description
    String avatarId
    Back to top Copyright © 2020 East Side Games Inc.