25 lines
495 B
C#
25 lines
495 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
[Serializable]
|
|
public class EquipmentConsumableEntry
|
|
{
|
|
public string key;
|
|
public int count;
|
|
}
|
|
|
|
[Serializable]
|
|
public class EquipmentConsumableLedgerPayload
|
|
{
|
|
public int version = 1;
|
|
public long lastUpdatedUtcTicks;
|
|
public List<EquipmentConsumableEntry> entries = new List<EquipmentConsumableEntry>();
|
|
}
|
|
|
|
[Serializable]
|
|
public class EquipmentConsumableLedgerEnvelope
|
|
{
|
|
public string payload;
|
|
public string signature;
|
|
}
|