aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Support
diff options
context:
space:
mode:
authorDDuarte <dnpd.dd@gmail.com>2015-07-22 23:24:56 +0100
committerDDuarte <dnpd.dd@gmail.com>2015-07-22 23:24:56 +0100
commit7d9843c380cf00f38ad0c5bc75fd387e50ee11da (patch)
tree780ad3e8790466ccdf4ef4a8b37ea6a5ad12bd15 /src/server/game/Support
parent978a57f7b4f7ff465f84b044062859d9ef2ba0f1 (diff)
Core/Misc: Add a few consts to methods
Diffstat (limited to 'src/server/game/Support')
-rw-r--r--src/server/game/Support/SupportMgr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/game/Support/SupportMgr.h b/src/server/game/Support/SupportMgr.h
index fd251f50110..405e1372fb3 100644
--- a/src/server/game/Support/SupportMgr.h
+++ b/src/server/game/Support/SupportMgr.h
@@ -77,7 +77,7 @@ public:
return name;
}
- std::string const& GetComment() { return _comment; }
+ std::string const& GetComment() const { return _comment; }
virtual void SetAssignedTo(ObjectGuid guid, bool /*isAdmin*/ = false) { _assignedTo = guid; }
virtual void SetUnassigned() { _assignedTo.Clear(); }
@@ -225,11 +225,11 @@ public:
void Initialize();
- bool GetSupportSystemStatus() { return _supportSystemStatus; }
- bool GetTicketSystemStatus() { return _supportSystemStatus && _ticketSystemStatus; }
- bool GetBugSystemStatus() { return _supportSystemStatus && _bugSystemStatus; }
- bool GetComplaintSystemStatus() { return _supportSystemStatus && _complaintSystemStatus; }
- bool GetSuggestionSystemStatus() { return _supportSystemStatus && _suggestionSystemStatus; }
+ bool GetSupportSystemStatus() const { return _supportSystemStatus; }
+ bool GetTicketSystemStatus() const { return _supportSystemStatus && _ticketSystemStatus; }
+ bool GetBugSystemStatus() const { return _supportSystemStatus && _bugSystemStatus; }
+ bool GetComplaintSystemStatus() const { return _supportSystemStatus && _complaintSystemStatus; }
+ bool GetSuggestionSystemStatus() const { return _supportSystemStatus && _suggestionSystemStatus; }
uint64 GetLastChange() const { return _lastChange; }
template<typename T>
uint32 GetOpenTicketCount() const;