using NEG.Utils.Achievments.AchievmentTypes;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NEG.Utils.Achievments
{
///
/// Used to construct instance
///
public interface IAchievmentBackendConfig
{
/// Constructed backend
public IAchievmentBackend ConstructBackend();
}
public interface IAchievmentBackend : IAchievmentCallbackReciever
{
///
/// Constructs an AchievmentData for given
///
/// May return null if there is no stored data for this achievment
AchievmentData GetStoredAchivment(AchievmentDefinition definition);
///
/// Used for e.g. syncing with upstream
///
void Update();
}
}