mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 19:48:26 +00:00
Retransmit support added back in (stupid compile flags), prelim work on lua_client stuff, took out a few redundant or non-working functions
This commit is contained in:
@@ -6,10 +6,25 @@
|
||||
|
||||
#include "masterentity.h"
|
||||
#include "lua_client.h"
|
||||
#include "../common/item.h"
|
||||
|
||||
struct InventoryWhere { };
|
||||
|
||||
luabind::scope lua_register_client() {
|
||||
return luabind::class_<Lua_Client, Lua_Mob>("Client")
|
||||
.def(luabind::constructor<>());
|
||||
}
|
||||
|
||||
luabind::scope lua_register_inventory_where() {
|
||||
return luabind::class_<InventoryWhere>("InventoryWhere")
|
||||
.enum_("constants")
|
||||
[
|
||||
luabind::value("Personal", static_cast<int>(invWherePersonal)),
|
||||
luabind::value("Bank", static_cast<int>(invWhereBank)),
|
||||
luabind::value("SharedBank", static_cast<int>(invWhereSharedBank)),
|
||||
luabind::value("Trading", static_cast<int>(invWhereTrading)),
|
||||
luabind::value("Cursor", static_cast<int>(invWhereCursor))
|
||||
];
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user