Implemented guild info command (#756)

This commit is contained in:
Nefertumm
2018-01-28 16:27:17 -03:00
committed by Yehonal
parent 75ca1afe85
commit de7d331daf
4 changed files with 47 additions and 2 deletions

View File

@@ -1161,7 +1161,7 @@ bool Guild::Create(Player* pLeader, std::string const& name)
m_info = "";
m_motd = "No message set.";
m_bankMoney = 0;
m_createdDate = ::time(NULL);
m_createdDate = sWorld->GetGameTime();
_CreateLogHolders();
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)

View File

@@ -747,6 +747,7 @@ public:
// pussywizard
uint64 GetTotalBankMoney() const { return m_bankMoney; }
uint32 GetMemberCount() const { return m_members.size(); }
time_t GetCreatedDate() const { return m_createdDate; }
// Bank tabs
void SetBankTabText(uint8 tabId, std::string const& text);