87 lines
2.3 KiB
Transact-SQL
87 lines
2.3 KiB
Transact-SQL
CREATE PROCEDURE [dbo].[up_insert_log_itemtrade]
|
|
@log_type int
|
|
,@world_id int
|
|
,@auth_id uniqueidentifier
|
|
,@bcust_id nvarchar(16)
|
|
,@character_id uniqueidentifier
|
|
,@character_name nvarchar(16)
|
|
,@other_auth_id uniqueidentifier
|
|
,@other_bcust_id nvarchar(16)
|
|
,@other_character_id uniqueidentifier
|
|
,@other_character_name nvarchar(16)
|
|
,@item_guid uniqueidentifier
|
|
,@item_ID int
|
|
,@item_header int
|
|
,@enchant_level int
|
|
,@item_active int
|
|
,@socket_count tinyint
|
|
,@item_recon tinyint
|
|
,@durability int
|
|
,@item_option1 int
|
|
,@item_option2 int
|
|
,@item_option3 int
|
|
,@item_option_value1 int
|
|
,@item_option_value2 int
|
|
,@item_option_value3 int
|
|
,@item_socket_option1 int
|
|
,@item_socket_option2 int
|
|
,@item_socket_option3 int
|
|
,@item_socket_value1 int
|
|
,@item_socket_value2 int
|
|
,@item_socket_value3 int
|
|
,@item_socket_color1 int
|
|
,@item_socket_color2 int
|
|
,@item_socket_color3 int
|
|
,@before_money int
|
|
,@after_money int
|
|
,@change_money int
|
|
,@item_count int
|
|
|
|
as
|
|
begin
|
|
|
|
set nocount on
|
|
begin
|
|
exec RustyHearts_Log.dbo.up_SetItemTrade
|
|
@log_type
|
|
,@world_id
|
|
,@auth_id
|
|
,@bcust_id
|
|
,@character_id
|
|
,@character_name
|
|
,@other_auth_id
|
|
,@other_bcust_id
|
|
,@other_character_id
|
|
,@other_character_name
|
|
,@item_guid
|
|
,@item_ID
|
|
,@item_header
|
|
,@enchant_level
|
|
,@item_active
|
|
,@socket_count
|
|
,@item_recon
|
|
,@durability
|
|
,@item_option1
|
|
,@item_option2
|
|
,@item_option3
|
|
,@item_option_value1
|
|
,@item_option_value2
|
|
,@item_option_value3
|
|
,@item_socket_option1
|
|
,@item_socket_option2
|
|
,@item_socket_option3
|
|
,@item_socket_value1
|
|
,@item_socket_value2
|
|
,@item_socket_value3
|
|
,@item_socket_color1
|
|
,@item_socket_color2
|
|
,@item_socket_color3
|
|
,@before_money
|
|
,@after_money
|
|
,@change_money
|
|
,@item_count
|
|
|
|
end
|
|
-------------------------------------------------------
|
|
|
|
end
|