250 Guild* guild =
nullptr;
252 if (args && args[0] !=
'\0')
255 guild =
sGuildMgr->GetGuildById(strtoull(args,
nullptr, 10));
260 guild = target->GetGuild();
268 std::string guildMasterName;
273 char createdDateStr[20];
276 strftime(createdDateStr, 20,
"%Y-%m-%d %H:%M:%S",
localtime_r(&createdDate, &localTm));
ObjectGuid GetLeaderGUID() const
Definition: Guild.h:765
Definition: Language.h:984
#define sGuildMgr
Definition: GuildMgr.h:61
std::string const & GetMOTD() const
Definition: Guild.h:767
Definition: Language.h:980
std::string const & GetName() const
Definition: Guild.h:766
Player * getSelectedPlayerOrSelf()
Definition: Chat.cpp:623
uint32 GetMembersCount() const
Definition: Guild.h:859
uint8 GetLevel() const
Definition: Guild.h:872
uint64 GetBankMoney() const
Definition: Guild.h:770
time_t GetCreatedDate() const
Definition: Guild.h:769
Definition: Language.h:985
ObjectGuid::LowType GetId() const
Definition: Guild.h:763
Definition: Language.h:983
Definition: Language.h:986
TC_COMMON_API struct tm * localtime_r(const time_t *time, struct tm *result)
static bool GetPlayerNameByGUID(ObjectGuid const &guid, std::string &name)
Definition: ObjectMgr.cpp:2258
bool isNumeric(wchar_t wchar)
Definition: Util.h:194
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
Definition: Language.h:987
std::string const & GetInfo() const
Definition: Guild.h:768
std::string ToString() const
Definition: ObjectGuid.cpp:99
Definition: Language.h:981
Definition: Language.h:982