11#ifndef INCGUARD_MGL_ACHIEVEMENT_H_1631538489
12#define INCGUARD_MGL_ACHIEVEMENT_H_1631538489
16namespace MGL::Achievement
25template <
class DelegateClass,
class... Args>
36 return server.Initialize(delegate);
bool SetValue(Identifier identifier, uint32_t value) noexcept
値を設定
Definition mgl_achievement_server.cc:76
bool SetAchieved(Identifier identifier, bool isAchieved) noexcept
達成状態を設定
Definition mgl_achievement_server.cc:120
float GetProgressRate(Identifier identifier) const noexcept
実績の進捗率を取得
Definition mgl_achievement_server.cc:140
uint32_t GetValue(Identifier identifier) const noexcept
実績の達成状況を整数値で取得
Definition mgl_achievement_server.cc:179
bool SetProgressRate(Identifier identifier, float progressRate) noexcept
進捗率を設定
Definition mgl_achievement_server.cc:98
bool IsAchieved(Identifier identifier) const noexcept
実績の達成状況を取得
Definition mgl_achievement_server.cc:160
bool Clear() noexcept
実績のクリア
Definition mgl_achievement_server.cc:198
constexpr bool IsProcessing() const noexcept
処理中かどうかを取得
Definition mgl_achievement_server.h:58
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
uint32_t GetValue(Identifier identifier) noexcept
実績の達成状況を整数値で取得
Definition mgl_achievement.h:100
bool Clear() noexcept
実績のクリア
Definition mgl_achievement.h:137
bool SetAchieved(Identifier identifier, bool isAchieved) noexcept
達成状態を設定
Definition mgl_achievement.h:88
bool IsAvailableServer() noexcept
サーバの有効状態を取得
Definition mgl_achievement.h:46
bool CreateServer(Args... args) noexcept
実績サーバの生成
Definition mgl_achievement.h:26
bool IsProcessing() noexcept
処理中かどうかを取得
Definition mgl_achievement.h:149
bool IsAchieved(Identifier identifier) noexcept
実績の達成状況を取得
Definition mgl_achievement.h:125
float GetProgressRate(Identifier identifier) noexcept
実績の進捗率を取得
Definition mgl_achievement.h:112
bool SetValue(Identifier identifier, uint32_t value) noexcept
値を設定
Definition mgl_achievement.h:60
bool SetProgressRate(Identifier identifier, float progressRate) noexcept
進捗率を設定
Definition mgl_achievement.h:74
bool IsReady() noexcept
サーバが処理可能な状態かを取得
Definition mgl_achievement.h:161
uint32_t Identifier
実績用の識別子の型
Definition mgl_achievement_defs.h:26
std::unique_ptr< T, Deleter > unique_ptr
MGLのアロケータを利用するユニークポインタ
Definition mgl_stl_memory.h:247