Class AvatarCollectionSavedData
Inheritance
AvatarCollectionSavedData
Assembly: cs.temp.dll.dll
Syntax
public class AvatarCollectionSavedData : BaseSavedData, IAvatarCollectionSavedData, ISavedData, IInjectable, IUnlockableSavedData
Constructors
AvatarCollectionSavedData()
Declaration
public AvatarCollectionSavedData()
AvatarCollectionSavedData(String)
Declaration
public AvatarCollectionSavedData(string id)
Parameters
Type |
Name |
Description |
String |
id |
|
Fields
_isAvailable
Declaration
protected bool _isAvailable
Field Value
_isObtained
Declaration
protected bool _isObtained
Field Value
_unlockedAvatars
Declaration
protected List<string> _unlockedAvatars
Field Value
Properties
Available
Declaration
public bool Available { get; }
Property Value
Obtained
Declaration
public bool Obtained { get; }
Property Value
UnlockedAvatars
Declaration
public List<string> UnlockedAvatars { get; }
Property Value
Methods
Deserialize(out ISavedData)
Declaration
protected override bool Deserialize(out ISavedData savedData)
Parameters
Returns
Overrides
LockAvatar(String)
Declaration
public void LockAvatar(string avatarId)
Parameters
Type |
Name |
Description |
String |
avatarId |
|
Reset()
Declaration
SetAvailability(Boolean)
Declaration
public void SetAvailability(bool isAvailable)
Parameters
Type |
Name |
Description |
Boolean |
isAvailable |
|
SetObtained(Boolean)
Declaration
public void SetObtained(bool isObtained)
Parameters
Type |
Name |
Description |
Boolean |
isObtained |
|
UnlockAvatar(String)
Declaration
public void UnlockAvatar(string avatarId)
Parameters
Type |
Name |
Description |
String |
avatarId |
|
Implements
IInjectable