32 lines
549 B
C#
32 lines
549 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
[Serializable]
|
|
public class ExpBottleEntry
|
|
{
|
|
public string key;
|
|
public int count;
|
|
}
|
|
|
|
[Serializable]
|
|
public class ExpBottleLedgerPayload
|
|
{
|
|
public int version = 1;
|
|
public long lastUpdatedUtcTicks;
|
|
public List<ExpBottleEntry> entries = new List<ExpBottleEntry>();
|
|
}
|
|
|
|
[Serializable]
|
|
public class ExpBottleLedgerEnvelope
|
|
{
|
|
public string payload;
|
|
public string signature;
|
|
}
|
|
|
|
[Serializable]
|
|
public class ExpBottleSnapshotEntry
|
|
{
|
|
public string key;
|
|
public int count;
|
|
}
|