Harden CultLib for local production use
This commit is contained in:
parent
1917bdb025
commit
3f1cb8b36e
12 changed files with 1376 additions and 47 deletions
|
|
@ -7,7 +7,7 @@ namespace GameCult.Networking
|
|||
/// <summary>
|
||||
/// Basic player account document used by the sample networking stack.
|
||||
/// </summary>
|
||||
[CultDocument("gamecult.player_data", "gamecult.player_data.v1")]
|
||||
[CultDocument("gamecult.player_data", "gamecult.player_data.v2")]
|
||||
public class PlayerData
|
||||
{
|
||||
/// <summary>
|
||||
|
|
@ -36,5 +36,11 @@ namespace GameCult.Networking
|
|||
[Key(3)]
|
||||
[CultName]
|
||||
public string Username = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Monotonic session version used to supersede older issued tokens.
|
||||
/// </summary>
|
||||
[Key(4)]
|
||||
public long SessionVersion;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue