mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 07:32:40 +00:00
Update to EQEmu::limits function linkage
This commit is contained in:
parent
59e601733e
commit
57b3652819
@ -45,36 +45,36 @@ namespace EQEmu
|
|||||||
namespace limits {
|
namespace limits {
|
||||||
// client version validation (checks to avoid crashing zone server when accessing reference arrays)
|
// client version validation (checks to avoid crashing zone server when accessing reference arrays)
|
||||||
// use this inside of class Client (limits to actual clients)
|
// use this inside of class Client (limits to actual clients)
|
||||||
bool IsValidPCClientVersion(ClientVersion clientVersion);
|
extern bool IsValidPCClientVersion(ClientVersion clientVersion);
|
||||||
ClientVersion ValidatePCClientVersion(ClientVersion clientVersion);
|
extern ClientVersion ValidatePCClientVersion(ClientVersion clientVersion);
|
||||||
|
|
||||||
// basically..any non-client classes - do not invoke when setting a valid client
|
// basically..any non-client classes - do not invoke when setting a valid client
|
||||||
bool IsValidNPCClientVersion(ClientVersion clientVersion);
|
extern bool IsValidNPCClientVersion(ClientVersion clientVersion);
|
||||||
ClientVersion ValidateNPCClientVersion(ClientVersion clientVersion);
|
extern ClientVersion ValidateNPCClientVersion(ClientVersion clientVersion);
|
||||||
|
|
||||||
// these are 'universal' - do not invoke when setting a valid client
|
// these are 'universal' - do not invoke when setting a valid client
|
||||||
bool IsValidMobClientVersion(ClientVersion clientVersion);
|
extern bool IsValidMobClientVersion(ClientVersion clientVersion);
|
||||||
ClientVersion ValidateMobClientVersion(ClientVersion clientVersion);
|
extern ClientVersion ValidateMobClientVersion(ClientVersion clientVersion);
|
||||||
|
|
||||||
// database
|
// database
|
||||||
size_t CharacterCreationLimit(ClientVersion clientVersion);
|
extern size_t CharacterCreationLimit(ClientVersion clientVersion);
|
||||||
|
|
||||||
// inventory
|
// inventory
|
||||||
uint16 InventoryMapSize(int16 indexMap, ClientVersion clientVersion);
|
extern uint16 InventoryMapSize(int16 indexMap, ClientVersion clientVersion);
|
||||||
uint64 PossessionsBitmask(ClientVersion clientVersion);
|
extern uint64 PossessionsBitmask(ClientVersion clientVersion);
|
||||||
uint64 EquipmentBitmask(ClientVersion clientVersion);
|
extern uint64 EquipmentBitmask(ClientVersion clientVersion);
|
||||||
uint64 GeneralBitmask(ClientVersion clientVersion);
|
extern uint64 GeneralBitmask(ClientVersion clientVersion);
|
||||||
uint64 CursorBitmask(ClientVersion clientVersion);
|
extern uint64 CursorBitmask(ClientVersion clientVersion);
|
||||||
|
|
||||||
bool AllowsEmptyBagInBag(ClientVersion clientVersion);
|
extern bool AllowsEmptyBagInBag(ClientVersion clientVersion);
|
||||||
bool AllowsClickCastFromBag(ClientVersion clientVersion);
|
extern bool AllowsClickCastFromBag(ClientVersion clientVersion);
|
||||||
|
|
||||||
// items
|
// items
|
||||||
uint16 ItemCommonSize(ClientVersion clientVersion);
|
extern uint16 ItemCommonSize(ClientVersion clientVersion);
|
||||||
uint16 ItemContainerSize(ClientVersion clientVersion);
|
extern uint16 ItemContainerSize(ClientVersion clientVersion);
|
||||||
|
|
||||||
// player profile
|
// player profile
|
||||||
bool CoinHasWeight(ClientVersion clientVersion);
|
extern bool CoinHasWeight(ClientVersion clientVersion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user