3 Commits
Author SHA1 Message Date
jim gordon 84918c19c2 Remove debug print in GetItemBySlot
Remove debug print statement from GetItemBySlot function.
2026-08-10 02:13:07 +01:00
MrNewb 5c9a97c1c0 Plug 2026-05-30 12:08:31 -04:00
MrNewb c78acfd8af Add one_inventory integration (client/server)
Introduce a new one_inventory adapter under modules/inventory/one_inventory, providing client and server bridges to the one_inventory resource. Implements common Inventory functions (GetResourceName, GetItemInfo, Items, HasItem, GetItemCount, GetImagePath, GetPlayerInventory) on the client. On the server adds AddItem, RemoveItem (with client update events), GetItemBySlot, SetMetadata, OpenStash, AddStashItems, AddTrunkItems, ClearStash, CanCarryItem, UpdatePlate, OpenShop, RegisterShop (stub error), and OpenPlayerInventory. Both files early-return if one_inventory is missing and resolve item image paths. This connects community_bridge inventory operations to one_inventory APIs and handles stash/trunk/glovebox ID mapping and metadata handling.
2026-05-30 12:05:21 -04:00