11#ifndef INCGUARD_MGL_LEADERBOARD_H_1631037391 
   12#define INCGUARD_MGL_LEADERBOARD_H_1631037391 
   16namespace MGL::Leaderboard
 
   25template <
class DelegateClass, 
class... Args>
 
   26inline bool CreateServer(Args... args) 
noexcept 
   37    return server.Initialize(delegate);
 
 
   47[[nodiscard]] 
inline bool IsAvailableServer() noexcept
 
 
  176[[nodiscard]] 
inline bool IsProcessing() noexcept
 
 
  188[[nodiscard]] 
inline bool IsReady() noexcept
 
 
クリップデータ
Definition mgl_leaderboard_clipdata.h:21
 
ErrorType
エラータイプ
Definition mgl_leaderboard_clipdata.h:34
 
const ReportResults & GetReportResults() const noexcept
送信結果を取得
Definition mgl_leaderboard_server.h:65
 
const FetchResults & GetFetchedData() const noexcept
エントリ取得結果を取得
Definition mgl_leaderboard_server.h:54
 
ClipData::ErrorType GetClipDataUploadResults() const noexcept
クリップデータのアップロード結果を取得
Definition mgl_leaderboard_server.h:87
 
constexpr bool IsProcessing() const noexcept
処理中かどうかを取得
Definition mgl_leaderboard_server.h:99
 
bool ReportScore(Identifier identifier, uint64_t score, const OptionDataArray &options) noexcept
スコアの送信
Definition mgl_leaderboard_server.cc:70
 
bool DownloadClipData(uint64_t clipID) noexcept
クリップデータのダウンロード
Definition mgl_leaderboard_server.cc:180
 
bool FetchEntryData(Identifier identifier, uint32_t startRank, uint32_t requestSize, PlayerScope playerScope) noexcept
エントリデータを取得
Definition mgl_leaderboard_server.cc:99
 
bool FetchEntryDataAroundUser(Identifier identifier, uint32_t requestSize, PlayerScope playerScope) noexcept
プレイヤーの順位を中心にエントリデータを取得
Definition mgl_leaderboard_server.cc:127
 
bool UploadClipData(Identifier identifier, const ClipData &clipData) noexcept
クリップデータの送信
Definition mgl_leaderboard_server.cc:154
 
const ClipData & GetClipData() const noexcept
ダウンロードしたクリップデータを取得
Definition mgl_leaderboard_server.h:76
 
State
ステート
Definition mgl_leaderboard_server.h:27
 
constexpr State GetState() const noexcept
現在のステートを取得
Definition mgl_leaderboard_server.h:110
 
static Server & CreateInstance(Args... args) noexcept
Definition mgl_singleton.h:52
 
static Server & GetInstance() noexcept
Definition mgl_singleton.h:74
 
static bool HasInstance() noexcept
Definition mgl_singleton.h:102
 
Server::State GetServerState() noexcept
現在のサーバのステートを取得
Definition mgl_leaderboard.h:199
 
bool FetchEntryDataAroundUser(Identifier identifier, uint32_t requestSize, PlayerScope playerScope) noexcept
プレイヤーの順位を中心にエントリデータを取得
Definition mgl_leaderboard.h:93
 
bool DownloadClipData(uint64_t clipID) noexcept
クリップデータのダウンロード
Definition mgl_leaderboard.h:120
 
const ReportResults & GetReportResults() noexcept
送信結果を取得
Definition mgl_leaderboard.h:142
 
bool ReportScore(Identifier identifier, uint64_t score, const OptionDataArray &options=OptionDataArray()) noexcept
スコアの送信
Definition mgl_leaderboard.h:62
 
const ClipData & GetClipData() noexcept
ダウンロードしたクリップデータを取得
Definition mgl_leaderboard.h:153
 
const FetchResults & GetFetchedData() noexcept
エントリ取得結果を取得
Definition mgl_leaderboard.h:131
 
bool UploadClipData(Identifier identifier, const ClipData &clipData) noexcept
クリップデータの送信
Definition mgl_leaderboard.h:107
 
ClipData::ErrorType GetClipDataUploadResults() noexcept
クリップデータのアップロード結果を取得
Definition mgl_leaderboard.h:164
 
bool FetchEntryData(Identifier identifier, uint32_t startRank, uint32_t requestSize, PlayerScope playerScope) noexcept
エントリデータを取得
Definition mgl_leaderboard.h:78
 
PlayerScope
プレイヤーのスコープ
Definition mgl_leaderboard_defs.h:40
 
STL::vector< uint32_t > OptionDataArray
オプションデータ配列の型
Definition mgl_leaderboard_defs.h:29
 
std::unique_ptr< T, Deleter > unique_ptr
MGLのアロケータを利用するユニークポインタ
Definition mgl_stl_memory.h:256
 
エントリ取得結果
Definition mgl_leaderboard_defs.h:59
 
エントリ送信結果
Definition mgl_leaderboard_defs.h:68