mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
guild_base.cpp & .h include header cleanup
This commit is contained in:
parent
0c21f56ff3
commit
20200fd028
@ -16,7 +16,6 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "debug.h"
|
||||
#include "guild_base.h"
|
||||
#include "database.h"
|
||||
#include "logsys.h"
|
||||
|
||||
@ -3,12 +3,12 @@
|
||||
|
||||
#include "guilds.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class Database;
|
||||
|
||||
class CharGuildInfo {
|
||||
class CharGuildInfo
|
||||
{
|
||||
public:
|
||||
//fields from `characer_`
|
||||
uint32 char_id;
|
||||
@ -30,13 +30,17 @@ public:
|
||||
};
|
||||
|
||||
//this object holds guild functionality shared between world and zone.
|
||||
class BaseGuildManager {
|
||||
class BaseGuildManager
|
||||
{
|
||||
public:
|
||||
BaseGuildManager();
|
||||
virtual ~BaseGuildManager();
|
||||
|
||||
//this must be called before doing anything else with this object
|
||||
void SetDatabase(Database *db) { m_db = db; }
|
||||
void SetDatabase(Database *db)
|
||||
{
|
||||
m_db = db;
|
||||
}
|
||||
|
||||
bool LoadGuilds();
|
||||
bool RefreshGuild(uint32 guild_id);
|
||||
@ -114,13 +118,15 @@ protected:
|
||||
|
||||
bool LocalDeleteGuild(uint32 guild_id);
|
||||
|
||||
class RankInfo {
|
||||
class RankInfo
|
||||
{
|
||||
public:
|
||||
RankInfo();
|
||||
std::string name;
|
||||
bool permissions[_MaxGuildAction];
|
||||
};
|
||||
class GuildInfo {
|
||||
class GuildInfo
|
||||
{
|
||||
public:
|
||||
GuildInfo();
|
||||
std::string name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user