Show / Hide Table of Contents

    Class SerializedDataCache

    Inheritance
    Object
    SerializedDataCache
    Implements
    ICloudSavedData
    ISavedData
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: IdleKit.Gameplay
    Assembly: cs.temp.dll.dll
    Syntax
    public class SerializedDataCache : ICloudSavedData, ISavedData

    Constructors

    SerializedDataCache()

    Declaration
    protected SerializedDataCache()

    SerializedDataCache(String)

    Declaration
    public SerializedDataCache(string savedId)
    Parameters
    Type Name Description
    String savedId

    Fields

    _runtimeDataCache

    Declaration
    protected readonly Dictionary<string, HashSet<string>> _runtimeDataCache
    Field Value
    Type Description
    Dictionary<String, HashSet<String>>

    _savedDataIndices

    Declaration
    protected SavedDataIndex[] _savedDataIndices
    Field Value
    Type Description
    SavedDataIndex[]

    _savedId

    Declaration
    protected string _savedId
    Field Value
    Type Description
    String

    _serializer

    Declaration
    protected ISerializer _serializer
    Field Value
    Type Description
    ISerializer

    _timeCreated

    Declaration
    protected long _timeCreated
    Field Value
    Type Description
    Int64

    _timeModified

    Declaration
    protected long _timeModified
    Field Value
    Type Description
    Int64

    _timerService

    Declaration
    protected ITimerService _timerService
    Field Value
    Type Description
    ITimerService

    Properties

    SavedDataIndices

    Declaration
    public virtual SavedDataIndex[] SavedDataIndices { get; }
    Property Value
    Type Description
    SavedDataIndex[]

    TimeCreated

    Declaration
    public virtual long TimeCreated { get; }
    Property Value
    Type Description
    Int64

    TimeModified

    Declaration
    public virtual long TimeModified { get; }
    Property Value
    Type Description
    Int64

    Methods

    Delete()

    Declaration
    public virtual void Delete()

    Inject(IResolver)

    Declaration
    public virtual void Inject(IResolver resolver)
    Parameters
    Type Name Description
    IResolver resolver

    Load()

    Declaration
    public virtual void Load()

    Reset()

    Declaration
    public virtual void Reset()

    Save()

    Declaration
    public virtual void Save()

    TryAdd(String, String)

    Declaration
    public virtual void TryAdd(string contentId, string saveId)
    Parameters
    Type Name Description
    String contentId
    String saveId

    TryDelete(String)

    Declaration
    public virtual void TryDelete(string contentId)
    Parameters
    Type Name Description
    String contentId

    Implements

    ICloudSavedData
    ISavedData
    Back to top Copyright © 2020 East Side Games Inc.