Interface IAvatarCollection
A collection of avatar objects with their sources. Used to separate avatars thematically and for easier management of a large amounts of avatars.
A whole collection can be unlocked for the player, as well as individual avatars within it. The containing IAvatarCollection must be
Unlocked and Obtained for the player to unlock individual Avatars.
Assembly: cs.temp.dll.dll
Syntax
public interface IAvatarCollection : IEntity, IInjectable, IUnlockable
Properties
AvatarCollectionData
Declaration
IAvatarCollectionData AvatarCollectionData { get; }
Property Value
AvatarCollectionSavedData
Associated ISavedData for this avatar collection. Contains information about avatars unlocked for player use.
Declaration
IAvatarCollectionSavedData AvatarCollectionSavedData { get; }
Property Value
Methods
ContainsAvatar(String)
Checks whether the avatar with the provided is contained within this IAvatarCollection.
Declaration
bool ContainsAvatar(string avatarId)
Parameters
Type |
Name |
Description |
String |
avatarId |
|
Returns
GetAvatarTitle(String)
Declaration
string GetAvatarTitle(string avatarId)
Parameters
Type |
Name |
Description |
String |
avatarId |
|
Returns
GetUnlockedAvatars()
Returns all inside of this collection, which have been unlocked by the player.
Declaration
Avatar[] GetUnlockedAvatars()
Returns
LockAvatar(String)
Restricts player's access to the avatar with the provided .
Declaration
void LockAvatar(string avatarId)
Parameters
Type |
Name |
Description |
String |
avatarId |
|
UnlockAvatar(String)
Records the provided as available to the player.
Declaration
void UnlockAvatar(string avatarId)
Parameters
Type |
Name |
Description |
String |
avatarId |
|