Merge pull request #958 from hgtw/feat/autoconsent

Implement consent for group/raid/guild and add Auto Consent support
This commit is contained in:
Chris Miles
2020-02-04 18:22:05 -06:00
committed by GitHub
15 changed files with 277 additions and 200 deletions
+9
View File
@@ -317,6 +317,15 @@ namespace EQEmu
QuestControlGrid = -1
};
namespace consent {
enum eConsentType : uint8 {
Normal = 0,
Group,
Raid,
Guild
};
}; // namespace consent
} /*EQEmu*/
#endif /*COMMON_EMU_CONSTANTS_H*/
+3 -1
View File
@@ -866,10 +866,12 @@ struct SpawnPlayerCorpse_Struct {
struct ServerOP_Consent_Struct {
char grantname[64];
char ownername[64];
char zonename[32];
uint8 permission;
uint32 zone_id;
uint16 instance_id;
uint32 message_string_id;
uint8 consent_type; // 0 = normal, 1 = group, 2 = raid, 3 = guild
uint32 consent_id;
};
struct ReloadTasks_Struct {
+1 -1
View File
@@ -34,7 +34,7 @@
* Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
*/
#define CURRENT_BINARY_DATABASE_VERSION 9147
#define CURRENT_BINARY_DATABASE_VERSION 9148
#ifdef BOTS
#define CURRENT_BINARY_BOTS_DATABASE_VERSION 9026