95 lines
2.4 KiB
Transact-SQL
95 lines
2.4 KiB
Transact-SQL
CREATE PROCEDURE [dbo].[up_insert_log_auction]
|
|
@log_type int
|
|
,@world_id int
|
|
,@auth_id uniqueidentifier
|
|
,@character_id uniqueidentifier
|
|
,@character_name nvarchar(16)
|
|
,@item_guid uniqueidentifier
|
|
,@item_id int
|
|
,@item_header int
|
|
,@enchant_level tinyint
|
|
,@item_active int
|
|
,@socket_count tinyint
|
|
,@remain_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
|
|
,@item_count int
|
|
,@start_price int
|
|
,@before_price int
|
|
,@buy_price int
|
|
,@guarantee_price int
|
|
,@commission int
|
|
,@auction_period int
|
|
,@before_money int
|
|
,@after_money int
|
|
,@change_money int
|
|
,@target_name nvarchar(16)
|
|
,@result int
|
|
|
|
|
|
as begin
|
|
|
|
set nocount on
|
|
-------------------------------------------------------
|
|
|
|
begin
|
|
exec RustyHearts_Log.dbo.up_SetAuction @log_type
|
|
,@world_id
|
|
,@auth_id
|
|
,@character_id
|
|
,@character_name
|
|
,@item_guid
|
|
,@item_id
|
|
,@item_header
|
|
,@enchant_level
|
|
,@item_active
|
|
,@socket_count
|
|
,@remain_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
|
|
,@item_count
|
|
,@start_price
|
|
,@before_price
|
|
,@buy_price
|
|
,@guarantee_price
|
|
,@commission
|
|
,@auction_period
|
|
,@before_money
|
|
,@after_money
|
|
,@change_money
|
|
,@target_name
|
|
,@result
|
|
|
|
end
|
|
|
|
end
|
|
|
|
SET ANSI_NULLS ON
|