aboutsummaryrefslogtreecommitdiff
path: root/V3/Data/ISaveGame.cs
blob: 6f954e192fac7a26490caaaebc8f3fd6f8441b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;

namespace V3.Data
{
    /// <summary>
    /// Stores a game state with some metadata.
    /// </summary>
    public interface ISaveGame : IComparable<ISaveGame>
    {
        /// <summary>
        /// The creation time of this save game in local time.
        /// </summary>
        DateTime Timestamp { get; set; }

        /// <summary>
        /// The compability version of this save game.
        /// </summary>
        int Version { get; set; }

        /// <summary>
        /// The data stored in this save game.
        /// </summary>
        GameState GameState { get; set; }
    }
}