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,109 @@
CREATE PROCEDURE [dbo].[up_insert_rearing_info]
@table_id tinyint,
@group_id tinyint,
@reating_id [uniqueidentifier],
@char_id [uniqueidentifier],
@type tinyint,
@name nvarchar(16),
@job tinyint,
@level int,
@index tinyint,
@actionpoint int,
@usedturn int,
@endingid int,
@rewarditem int,
@createtime bigint,
@vital int,
@intelligence int,
@strength int,
@temper int,
@charm int,
@exhaust int,
@angry int,
@normal int,
@good int,
@sadness int,
@height int,
@weight int,
@resilent int = 0,
@eloquence int = 0
as
set nocount on
set xact_abort on
begin
BEGIN TRAN
insert dbo.RearingTable
(
[table_id],
[group_id],
[rearing_id],
[char_id],
[type],
[name],
[job],
[level],
[index],
[actionpoint],
[usedturn],
[endingid],
[rewarditem],
[createtime],
[vital],
[intelligence],
[strength],
[temper],
[charm],
[exhaust],
[angry],
[normal],
[good],
[sadness],
[height],
[weight],
[resilent],
[eloquence]
)
values(
@table_id,
@group_id,
@reating_id,
@char_id,
@type,
@name,
@job,
@level,
@index,
@actionpoint,
@usedturn,
@endingid,
@rewarditem,
@createtime,
@vital,
@intelligence,
@strength,
@temper,
@charm,
@exhaust,
@angry,
@normal,
@good,
@sadness,
@height,
@weight,
@resilent,
@eloquence
)
if(@@error <> 0 )
begin
ROLLBACK TRAN
return
end
COMMIT TRAN
end