decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,17 @@
CREATE PROCEDURE [dbo].[up_upate_item_binds]
@character_id [uniqueidentifier],
@item_id [uniqueidentifier],
@binds int
AS
BEGIN
SET NOCOUNT ON;
if @binds = 0
begin
update N_InventoryItem set ReconNum = ReconNum -1
where character_id = @character_id and item_uid = @item_id
end
update N_InventoryItem set ReconState = @binds
where character_id = @character_id and item_uid = @item_id
return 0
END