mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[7762] Fixed build in *nix.
This commit is contained in:
parent
20ffd7f421
commit
aebf74ec45
2 changed files with 17 additions and 9 deletions
|
|
@ -26,14 +26,6 @@
|
||||||
|
|
||||||
class Item;
|
class Item;
|
||||||
|
|
||||||
uint32 GuildBankTabPrice[GUILD_BANK_MAX_TABS] =
|
|
||||||
{ 100,250,500,1000,2500,5000 };
|
|
||||||
|
|
||||||
inline uint32 GetGuildBankTabPrice(uint8 Index)
|
|
||||||
{
|
|
||||||
return Index < GUILD_BANK_MAX_TABS ? GuildBankTabPrice[Index] : 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
enum GuildDefaultRanks
|
enum GuildDefaultRanks
|
||||||
{
|
{
|
||||||
GR_GUILDMASTER = 0,
|
GR_GUILDMASTER = 0,
|
||||||
|
|
@ -197,6 +189,22 @@ enum GuildEmblem
|
||||||
ERR_GUILDEMBLEM_INVALIDVENDOR = 5
|
ERR_GUILDEMBLEM_INVALIDVENDOR = 5
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inline uint32 GetGuildBankTabPrice(uint8 Index)
|
||||||
|
{
|
||||||
|
switch(Index)
|
||||||
|
{
|
||||||
|
case 0: return 100;
|
||||||
|
case 1: return 250;
|
||||||
|
case 2: return 500;
|
||||||
|
case 3: return 1000;
|
||||||
|
case 4: return 2500;
|
||||||
|
case 5: return 5000;
|
||||||
|
default:
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
struct GuildBankEvent
|
struct GuildBankEvent
|
||||||
{
|
{
|
||||||
uint32 LogGuid;
|
uint32 LogGuid;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7761"
|
#define REVISION_NR "7762"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue