mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
More work on Market functionality and UI
* Now loads all market items. * Can filter market items. * Will load market offers on items. * Edited some UI images.
This commit is contained in:
@@ -338,6 +338,7 @@ void OTClient::registerLuaFunctions()
|
||||
g_lua.bindClassMemberFunction<ItemType>("getClientId", &ItemType::getClientId);
|
||||
|
||||
g_lua.registerClass<ThingType>();
|
||||
g_lua.bindClassMemberFunction<ThingType>("getId", &ThingType::getId);
|
||||
g_lua.bindClassMemberFunction<ThingType>("getMarketData", &ThingType::getMarketData);
|
||||
|
||||
g_lua.registerClass<Item, Thing>();
|
||||
|
Reference in New Issue
Block a user