Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64 - Add some info in LFGDungeonEntry - Move some definitions from ".h" files and move to ".cpp"
This commit is contained in:
@@ -272,45 +272,45 @@ class LFGMgr
|
||||
void UpdateRoleCheck(uint64 gguid, uint64 guid = 0, uint8 roles = ROLE_NONE);
|
||||
|
||||
// Proposals
|
||||
void UpdateProposal(uint32 proposalId, const uint64 guid, bool accept);
|
||||
void UpdateProposal(uint32 proposalId, uint64 guid, bool accept);
|
||||
|
||||
// Teleportation
|
||||
void TeleportPlayer(Player* plr, bool out, bool fromOpcode = false);
|
||||
|
||||
// Vote kick
|
||||
void InitBoot(Group* grp, const uint64 kguid, const uint64 vguid, std::string reason);
|
||||
void InitBoot(Group* grp, uint64 kguid, uint64 vguid, std::string reason);
|
||||
void UpdateBoot(Player* plr, bool accept);
|
||||
void OfferContinue(Group* grp);
|
||||
|
||||
void InitializeLockedDungeons(Player* plr);
|
||||
|
||||
void SetComment(const uint64 guid, const std::string& comment);
|
||||
const LfgLockMap& GetLockedDungeons(const uint64 guid);
|
||||
LfgState GetState(const uint64 guid);
|
||||
const LfgDungeonSet& GetSelectedDungeons(const uint64 guid);
|
||||
uint32 GetDungeon(const uint64 guid, bool asId = true);
|
||||
void ClearState(const uint64 guid);
|
||||
void RemovePlayerData(const uint64 guid);
|
||||
void RemoveGroupData(const uint64 guid);
|
||||
uint8 GetKicksLeft(const uint64 gguid);
|
||||
uint8 GetVotesNeeded(const uint64 gguid);
|
||||
void SetRoles(const uint64 guid, uint8 roles);
|
||||
void SetComment(uint64 guid, const std::string& comment);
|
||||
const LfgLockMap& GetLockedDungeons(uint64 guid);
|
||||
LfgState GetState(uint64 guid);
|
||||
const LfgDungeonSet& GetSelectedDungeons(uint64 guid);
|
||||
uint32 GetDungeon(uint64 guid, bool asId = true);
|
||||
void ClearState(uint64 guid);
|
||||
void RemovePlayerData(uint64 guid);
|
||||
void RemoveGroupData(uint64 guid);
|
||||
uint8 GetKicksLeft(uint64 gguid);
|
||||
uint8 GetVotesNeeded(uint64 gguid);
|
||||
void SetRoles(uint64 guid, uint8 roles);
|
||||
|
||||
private:
|
||||
|
||||
uint8 GetRoles(const uint64 guid);
|
||||
const std::string& GetComment(const uint64 gguid);
|
||||
void RestoreState(const uint64 guid);
|
||||
void SetState(const uint64 guid, LfgState state);
|
||||
void SetDungeon(const uint64 guid, uint32 dungeon);
|
||||
void SetSelectedDungeons(const uint64 guid, const LfgDungeonSet& dungeons);
|
||||
void SetLockedDungeons(const uint64 guid, const LfgLockMap& lock);
|
||||
void DecreaseKicksLeft(const uint64 guid);
|
||||
uint8 GetRoles(uint64 guid);
|
||||
const std::string& GetComment(uint64 gguid);
|
||||
void RestoreState(uint64 guid);
|
||||
void SetState(uint64 guid, LfgState state);
|
||||
void SetDungeon(uint64 guid, uint32 dungeon);
|
||||
void SetSelectedDungeons(uint64 guid, const LfgDungeonSet& dungeons);
|
||||
void SetLockedDungeons(uint64 guid, const LfgLockMap& lock);
|
||||
void DecreaseKicksLeft(uint64 guid);
|
||||
void NoExiste(uint8 lala);
|
||||
|
||||
// Queue
|
||||
void AddToQueue(const uint64 guid, uint8 queueId);
|
||||
bool RemoveFromQueue(const uint64 guid);
|
||||
void AddToQueue(uint64 guid, uint8 queueId);
|
||||
bool RemoveFromQueue(uint64 guid);
|
||||
|
||||
// Proposals
|
||||
void RemoveProposal(LfgProposalMap::iterator itProposal, LfgUpdateType type);
|
||||
|
||||
Reference in New Issue
Block a user