2024-05-19 22:24:05 +00:00
|
|
|
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;
|
2024-05-20 17:25:56 +00:00
|
|
|
public UInt64? timeAchieved;
|
2024-05-19 22:24:05 +00:00
|
|
|
public string noteLamp;
|
|
|
|
public string bellLamp;
|
|
|
|
public string matchType;
|
|
|
|
public string identifier;
|
|
|
|
public BatchJudgements judgements;
|
|
|
|
public BatchOptional optional;
|
|
|
|
}
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public struct BatchJudgements {
|
2024-05-20 17:25:56 +00:00
|
|
|
public int? cbreak;
|
|
|
|
public int? breakMyBonesIWill;
|
|
|
|
public int? hit;
|
|
|
|
public int? miss;
|
2024-05-19 22:24:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public struct BatchOptional {
|
2024-05-20 17:25:56 +00:00
|
|
|
public int? fast;
|
|
|
|
public int? slow;
|
|
|
|
public int? bellCount;
|
|
|
|
public int? totalBellCount;
|
|
|
|
public int? damage;
|
|
|
|
public int? platScore;
|
2024-05-19 22:24:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|
|
|
|
}
|