]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv-2.0/libgameservgldl/include/GameServ/GameLayer/GameObjects/MasterGO.h
Consolidated all the individual level files into a single levels.dat file.
[irc/gameservirc.git] / gameserv-2.0 / libgameservgldl / include / GameServ / GameLayer / GameObjects / MasterGO.h
index c5d70489df395750734db990a264a1c7647ac396..91ea8691f5003350fd9dbcff13fe4c2121e77a77 100644 (file)
@@ -17,6 +17,11 @@ namespace GameServ { namespace GameLayer { namespace GameObjects
 \r
                virtual ~MasterGO();\r
 \r
+               //! Property set - Level\r
+               void Level(const unsigned int &value);\r
+               //! Property get - Level\r
+               unsigned int Level(void) const;\r
+\r
                //! Property get - Name\r
                string Name(void) const;\r
                //! Property set - Name\r
@@ -27,6 +32,11 @@ namespace GameServ { namespace GameLayer { namespace GameObjects
                //! Property set - Gold\r
                void Gold(const unsigned long int &value);\r
 \r
+               //! Property get - Experience\r
+               unsigned long int Experience(void) const;\r
+               //! Property set - Experience\r
+               void Experience(const unsigned long int &value);\r
+\r
                //! Property get - Health\r
                int Health(void) const;\r
                //! Property set - Health\r
@@ -54,10 +64,10 @@ namespace GameServ { namespace GameLayer { namespace GameObjects
                void WeaponName(const string &value);\r
 \r
                //! Property get - Death Cry\r
-               string DeathCry(void) const;\r
+               string PartingWords(void) const;\r
 \r
                //! Property set - Death Cry\r
-               void DeathCry(const string &value);\r
+               void PartingWords(const string &value);\r
 \r
                bool operator==(const MasterGO &right) const;\r
                bool operator!=(const MasterGO &right) const;\r
@@ -67,14 +77,16 @@ namespace GameServ { namespace GameLayer { namespace GameObjects
                virtual ObjectTypes::ObjectType ObjectType(void) const;\r
 \r
        private:\r
+               unsigned int mLevel;\r
                string mName;\r
                unsigned long int mGold;\r
+               unsigned long int mExperience;\r
                int mHealth;\r
                int mMaxHealth;\r
                int mStrength;\r
                int mDefense;\r
                string mWeaponName;\r
-               string mDeathCry;\r
+               string mPartingWords;\r
        };\r
 }}} // GameServ::GameLayer::GameObjects\r
 #endif
\ No newline at end of file