Fission FSN
Loading...
Searching...
No Matches
gfCAchievement.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCAchievement.h
4*
5* Purpose: Task in game that the player can complete to earn
6* a badge
7*
8*********************************************************************/
9
10#ifndef gfCAchievementhdr
11#define gfCAchievementhdr
12
13#include <fsCore/fsBaseTypes.h>
14#include <fsCore/fsStr.h>
15
17{
18public:
19
20 fsBool unlocked(const fsStr& pSetKey) const;
21 fsBool criteriaMet() const;
22
23 const fsStr& nameGet() const { return mName; }
24
25 gfCAchievement(const fsStr& pName, const fsStr& pCriteriaStr, fsS32 pCriteriaValue);
27
28protected:
29
30private:
31
32 fsStr mName;
33 fsStr mCriteriaStr;
34 fsS32 mCriteriaValue;
35};
36
37#endif
Definition fsStr.h:23
fsBool unlocked(const fsStr &pSetKey) const
Definition gfCAchievement.cpp:8
fsBool criteriaMet() const
Definition gfCAchievement.cpp:14
const fsStr & nameGet() const
Definition gfCAchievement.h:23
gfCAchievement(const fsStr &pName, const fsStr &pCriteriaStr, fsS32 pCriteriaValue)
Definition gfCAchievement.cpp:25
~gfCAchievement()
Definition gfCAchievement.cpp:32
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20