aboutsummaryrefslogtreecommitdiff
path: root/src/game/Guild.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-11 14:39:38 -0700
committermaximius <none@none>2009-09-11 14:39:38 -0700
commitc22a6c78440255333d2371a65d3411e792c06d74 (patch)
tree36679197f806f452615041a1428164451fa282e2 /src/game/Guild.h
parentb387b440a63d0fde4b7406d5e298ac25eb8b0d91 (diff)
*[8466] Applied mangos coding style for Guild code. Author: Triply. Also did some cleanup of my own in Guild.cpp.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Guild.h')
-rw-r--r--src/game/Guild.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/game/Guild.h b/src/game/Guild.h
index f2495da1305..549cdc0984a 100644
--- a/src/game/Guild.h
+++ b/src/game/Guild.h
@@ -239,24 +239,24 @@ struct GuildBankTab
struct GuildItemPosCount
{
- GuildItemPosCount(uint8 _slot, uint32 _count) : slot(_slot), count(_count) {}
+ GuildItemPosCount(uint8 _slot, uint32 _count) : Slot(_slot), Count(_count) {}
bool isContainedIn(std::vector<GuildItemPosCount> const& vec) const;
- uint8 slot;
- uint32 count;
+ uint8 Slot;
+ uint32 Count;
};
typedef std::vector<GuildItemPosCount> GuildItemPosCountVec;
struct MemberSlot
{
- uint64 logout_time;
- std::string name;
+ uint64 LogoutTime;
+ std::string Name;
std::string Pnote;
std::string OFFnote;
uint32 RankId;
- uint32 zoneId;
- uint8 level;
+ uint32 ZoneId;
+ uint8 Level;
uint8 Class;
uint32 BankResetTimeMoney;
uint32 BankRemMoney;
@@ -266,7 +266,7 @@ struct MemberSlot
struct RankInfo
{
- RankInfo(const std::string& _name, uint32 _rights, uint32 _money) : name(_name), rights(_rights), BankMoneyPerDay(_money)
+ RankInfo(const std::string& _name, uint32 _rights, uint32 _money) : Name(_name), Rights(_rights), BankMoneyPerDay(_money)
{
for(uint8 i = 0; i < GUILD_BANK_MAX_TABS; ++i)
{
@@ -275,8 +275,8 @@ struct RankInfo
}
}
- std::string name;
- uint32 rights;
+ std::string Name;
+ uint32 Rights;
uint32 BankMoneyPerDay;
uint32 TabRight[GUILD_BANK_MAX_TABS];
uint32 TabSlotPerDay[GUILD_BANK_MAX_TABS];
@@ -367,7 +367,7 @@ class Guild
{
for(MemberList::iterator itr = members.begin(); itr != members.end(); ++itr)
{
- if(itr->second.name == name)
+ if(itr->second.Name == name)
{
guid = itr->first;
return &itr->second;