chore: initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System;
|
||||
|
||||
namespace MoreMountains.Tools
|
||||
{
|
||||
[Serializable]
|
||||
/// <summary>
|
||||
/// A serializable class used to store an achievement into a save file
|
||||
/// </summary>
|
||||
public class SerializedMMAchievement
|
||||
{
|
||||
public string AchievementID;
|
||||
public bool UnlockedStatus;
|
||||
public int ProgressCurrent;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="MoreMountains.Tools.SerializedMMAchievement"/> class.
|
||||
/// </summary>
|
||||
/// <param name="achievementID">Achievement I.</param>
|
||||
/// <param name="unlockedStatus">If set to <c>true</c> unlocked status.</param>
|
||||
/// <param name="progressCurrent">Progress current.</param>
|
||||
public SerializedMMAchievement(string achievementID, bool unlockedStatus, int progressCurrent)
|
||||
{
|
||||
AchievementID = achievementID;
|
||||
UnlockedStatus = unlockedStatus;
|
||||
ProgressCurrent = progressCurrent;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
/// <summary>
|
||||
/// Serializable MM achievement manager.
|
||||
/// </summary>
|
||||
public class SerializedMMAchievementManager
|
||||
{
|
||||
public SerializedMMAchievement[] Achievements;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user