Core/Guilds: Implemented some guild packets, some basic guild functions is working, though most are still WIP/TODO

This commit is contained in:
kaelima committed 2012-08-04 18:41:18 +02:00
1 parent d9da2e8e50
commit f5d19939bf
11 files changed
+715 -327

No files matched your search

+2 -1
View File
@@ -25384,6 +25384,7 @@ void Player::SetReputation(uint32 factionentry, uint32 value)
{
GetReputationMgr().SetReputation(sFactionStore.LookupEntry(factionentry), value);
}
uint32 Player::GetReputation(uint32 factionentry)
{
return GetReputationMgr().GetReputation(sFactionStore.LookupEntry(factionentry));
@@ -25391,7 +25392,7 @@ uint32 Player::GetReputation(uint32 factionentry)
std::string Player::GetGuildName()
{
return sGuildMgr->GetGuildById(GetGuildId())->GetName();
return GetGuildId() ? sGuildMgr->GetGuildById(GetGuildId())->GetName() : "";
}
void Player::SendDuelCountdown(uint32 counter)