using System; namespace Inohara; /** * Batch manual */ [Serializable] public struct BatchManual { public BatchMeta meta; public BatchScore[] scores; } [Serializable] public struct BatchMeta { public string game; public string playtype; public string service; } [Serializable] public struct BatchScore { public int score; public string difficulty; public UInt64? timeAchieved; public string noteLamp; public string bellLamp; public string matchType; public string identifier; public BatchJudgements judgements; public BatchOptional optional; } [Serializable] public struct BatchJudgements { public int? cbreak; public int? breakMyBonesIWill; public int? hit; public int? miss; } [Serializable] public struct BatchOptional { public int? fast; public int? slow; public int? bellCount; public int? totalBellCount; public int? damage; public int? platScore; } /** * BM response 1 */ [Serializable] public struct BatchResponse { public bool success; public BatchResponseBody body; } [Serializable] public struct BatchResponseBody { public string url; } /** * BM response 2 */ [Serializable] public struct BatchResponse2 { public bool success; } /** * API status response */ [Serializable] public struct StatusResponse { public bool success; public StatusBody body; } [Serializable] public struct StatusBody { public string version; public string whoami; public string[] permissions; }