MGL(Win32)
読み取り中…
検索中…
一致する文字列を見つけられません
mgl_achievement_server_delegate.h
[詳解]
1// SPDX-License-Identifier: Zlib
2/* ------------------------------------------------------------------------- */
9/* ------------------------------------------------------------------------- */
10
11#ifndef INCGUARD_MGL_ACHIEVEMENT_SERVER_DELEGATE_H_1631071896
12#define INCGUARD_MGL_ACHIEVEMENT_SERVER_DELEGATE_H_1631071896
13
15
16namespace MGL::Achievement
17{
20{
21public:
22 virtual ~ServerDelegate() noexcept = default;
23
24 /* ------------------------------------------------------------------------- */
30 /* ------------------------------------------------------------------------- */
31 virtual bool Initialize() noexcept = 0;
32
33 /* ------------------------------------------------------------------------- */
39 /* ------------------------------------------------------------------------- */
40 [[nodiscard]] virtual bool IsInitialized() const noexcept = 0;
41
42 /* ------------------------------------------------------------------------- */
48 /* ------------------------------------------------------------------------- */
49 [[nodiscard]] virtual bool IsProcessing() const noexcept = 0;
50
51 /* ------------------------------------------------------------------------- */
57 /* ------------------------------------------------------------------------- */
58 virtual AchievementData *GetAchievementData(Identifier identifier) noexcept = 0;
59
60 /* ------------------------------------------------------------------------- */
66 /* ------------------------------------------------------------------------- */
67 virtual bool FetchRequests() noexcept = 0;
68
69 /* ------------------------------------------------------------------------- */
75 /* ------------------------------------------------------------------------- */
76 virtual bool ReportRequests() noexcept = 0;
77
78 /* ------------------------------------------------------------------------- */
85 /* ------------------------------------------------------------------------- */
86 virtual bool Clear() noexcept = 0;
87};
88} // namespace MGL::Achievement
89
90#endif // INCGUARD_MGL_ACHIEVEMENT_SERVER_DELEGATE_H_1631071896
91
92// vim: et ts=4 sw=4 sts=4
MGL 実績サーバデリゲートクラス
Definition mgl_achievement_server_delegate.h:20
virtual bool IsProcessing() const noexcept=0
デリゲートが処理中かを取得
virtual bool Initialize() noexcept=0
初期化処理
virtual bool Clear() noexcept=0
実績のクリア
virtual bool ReportRequests() noexcept=0
実績データの送信
virtual AchievementData * GetAchievementData(Identifier identifier) noexcept=0
実績データを取得
virtual bool FetchRequests() noexcept=0
実績データの取得
virtual bool IsInitialized() const noexcept=0
デリゲートの初期化が完了しているかを取得
MGL 実績関連定義
uint32_t Identifier
実績用の識別子の型
Definition mgl_achievement_defs.h:26
実績データ
Definition mgl_achievement_defs.h:41