mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
129 lines
2.7 KiB
C++
129 lines
2.7 KiB
C++
/* EQEMu: Everquest Server Emulator
|
|
|
|
Copyright (C) 2001-2016 EQEMu Development Team (http://eqemulator.net)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; version 2 of the License.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY except by those people which sell it, which
|
|
are required to give you total support for your newly bought product;
|
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef COMMON_EMU_LIMITS_H
|
|
#define COMMON_EMU_LIMITS_H
|
|
|
|
#include "types.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
namespace EntityLimits
|
|
{
|
|
namespace NPC {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*NPC*/
|
|
|
|
namespace NPCMerchant {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*NPCMerchant*/
|
|
|
|
namespace Merc {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*Merc*/
|
|
|
|
namespace Bot {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 8;
|
|
|
|
} // namespace invtype
|
|
|
|
namespace invslot {
|
|
const uint64 EQUIPMENT_BITMASK = 0x00000000007FFFFF;
|
|
const uint64 GENERAL_BITMASK = 0x0000000000000000;
|
|
const uint64 CURSOR_BITMASK = 0x0000000000000000;
|
|
const uint64 POSSESSIONS_BITMASK = (EQUIPMENT_BITMASK | GENERAL_BITMASK | CURSOR_BITMASK); // based on 34-slot count (RoF+)
|
|
|
|
} // namespace invslot
|
|
|
|
} /*Bot*/
|
|
|
|
namespace ClientPet {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*Pet*/
|
|
|
|
namespace NPCPet {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*Pet*/
|
|
|
|
namespace MercPet {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*Pet*/
|
|
|
|
namespace BotPet {
|
|
const int16 IINVALID = -1;
|
|
const int16 INULL = 0;
|
|
|
|
namespace invtype {
|
|
const int16 TRADE_SIZE = 4;
|
|
|
|
} // namespace invtype
|
|
|
|
} /*Pet*/
|
|
|
|
}; /*EntityLimits*/
|
|
|
|
#endif /*COMMON_EMU_LIMITS_H*/
|