Vip functionality, closes #83

This commit is contained in:
Sam
2014-01-14 23:15:01 +01:00
parent e4ba805e00
commit 20b68c6a42
14 changed files with 373 additions and 17 deletions

View File

@@ -36,7 +36,7 @@
#include <bitset>
typedef std::tuple<std::string, uint> Vip;
typedef std::tuple<std::string, uint, std::string, int, bool> Vip;
//@bindsingleton g_game
class Game
@@ -101,7 +101,7 @@ protected:
void processRuleViolationLock();
// vip related
void processVipAdd(uint id, const std::string& name, uint status, int iconId, bool notifyLogin);
void processVipAdd(uint id, const std::string& name, uint status, const std::string& description, int iconId, bool notifyLogin);
void processVipStateChange(uint id, uint status);
// tutorial hint
@@ -206,6 +206,7 @@ public:
// vip related
void addVip(const std::string& name);
void removeVip(int playerId);
void editVip(int playerId, const std::string& description, int iconId, bool notifyLogin);
// fight modes related
void setChaseMode(Otc::ChaseModes chaseMode);