decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
18
decomp/schema/RustyHearts/procs/up_update_pet_level.sql
Normal file
18
decomp/schema/RustyHearts/procs/up_update_pet_level.sql
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
CREATE PROCEDURE [dbo].[up_update_pet_level]
|
||||
@pet_id [uniqueidentifier]
|
||||
,@character_id [uniqueidentifier]
|
||||
,@Level int
|
||||
,@Experience bigint
|
||||
,@inventory_count tinyint
|
||||
as
|
||||
set nocount on
|
||||
|
||||
update dbo.PetTable set
|
||||
[Level] = @Level
|
||||
,Experience = @Experience
|
||||
,inventory_count = @inventory_count
|
||||
where pet_id = @pet_id
|
||||
|
||||
select * from dbo.PetTable with (READUNCOMMITTED) where character_id = @character_id
|
||||
|
||||
return @@error
|
||||
Loading…
Add table
Add a link
Reference in a new issue