---@diagnostic disable: undefined-global
-- Inventory Service Controller
RegisterServerEvent("vorpinventory:getItemsTable", InventoryService.getItemsTable)
RegisterServerEvent("vorpinventory:getInventory", InventoryService.getInventory)
RegisterServerEvent("vorpinventory:serverGiveItem", InventoryService.GiveItem)
RegisterServerEvent("vorpinventory:serverGiveWeapon", InventoryService.GiveWeapon)
RegisterServerEvent("vorpinventory:serverDropItem", InventoryService.DropItem)
RegisterServerEvent("vorpinventory:serverDropMoney", InventoryService.DropMoney)
RegisterServerEvent("vorpinventory:serverDropAllMoney", InventoryService.DropAllMoney)
RegisterServerEvent("vorpinventory:serverDropPartMoney", InventoryService.DropPartMoney)
RegisterServerEvent("vorpinventory:serverDropGold", InventoryService.DropGold)
RegisterServerEvent("vorpinventory:serverDropAllGold", InventoryService.DropAllGold)
RegisterServerEvent("vorpinventory:serverDropWeapon", InventoryService.DropWeapon)
RegisterServerEvent("vorpinventory:sharePickupServerItem", InventoryService.sharePickupServerItem)
RegisterServerEvent("vorpinventory:sharePickupServerWeapon", InventoryService.sharePickupServerWeapon)
RegisterServerEvent("vorpinventory:shareMoneyPickupServer", InventoryService.shareMoneyPickupServer)
RegisterServerEvent("vorpinventory:shareGoldPickupServer", InventoryService.shareGoldPickupServer)
RegisterServerEvent("vorpinventory:onPickup", InventoryService.onPickup)
RegisterServerEvent("vorpinventory:onPickupMoney", InventoryService.onPickupMoney)
RegisterServerEvent("vorpinventory:onPickupGold", InventoryService.onPickupGold)
RegisterServerEvent("vorpinventory:setUsedWeapon", InventoryService.usedWeapon)
RegisterServerEvent("vorpinventory:setWeaponBullets", InventoryService.setWeaponBullets)
RegisterServerEvent("vorpinventory:giveMoneyToPlayer", InventoryService.giveMoneyToPlayer)
RegisterServerEvent("vorpinventory:giveGoldToPlayer", InventoryService.giveGoldToPlayer)
RegisterServerEvent("vorp_inventory:useItem", InventoryService.UseItem)
RegisterServerEvent("vorp_inventory:getNearbyCharacters", InventoryService.getNearbyCharacters)
RegisterServerEvent("vorp_inventory:MoveToCustom", InventoryService.MoveToCustom)
RegisterServerEvent("vorp_inventory:TakeFromCustom", InventoryService.TakeFromCustom)
RegisterNetEvent("vorpinventory:servergiveammo", InventoryService.serverGiveAmmo)
RegisterNetEvent("vorpinventory:getammoinfo", InventoryService.getAmmoInfo)
RegisterServerEvent("vorpinventory:updateammo", InventoryService.updateAmmo)
AddEventHandler("vorp_NewCharacter", InventoryService.onNewCharacter)

-- shared and for dev mode --
RegisterServerEvent("vorpCore:LoadAllAmmo")
AddEventHandler("vorpCore:LoadAllAmmo", InventoryService.LoadAllAmmo)
-------------------------
