mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-21 19:34:42 +01:00
Add missing forging protos, add data for ongoing forges to player, handler for ForgeStartReq.
This commit is contained in:
14
proto/ForgeQueueManipulateReq.proto
Normal file
14
proto/ForgeQueueManipulateReq.proto
Normal file
@@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ForgeQueueManipulateType.proto";
|
||||
|
||||
// CmdId: 659
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
// IsAllowClient: true
|
||||
message ForgeQueueManipulateReq {
|
||||
uint32 forge_queue_id = 11;
|
||||
ForgeQueueManipulateType manipulate_type = 7;
|
||||
}
|
||||
17
proto/ForgeQueueManipulateRsp.proto
Normal file
17
proto/ForgeQueueManipulateRsp.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ForgeQueueManipulateType.proto";
|
||||
import "ItemParam.proto";
|
||||
|
||||
// CmdId: 684
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
message ForgeQueueManipulateRsp {
|
||||
int32 retcode = 13;
|
||||
ForgeQueueManipulateType manipulate_type = 8;
|
||||
repeated ItemParam output_item_list = 6;
|
||||
repeated ItemParam return_item_list = 10;
|
||||
repeated ItemParam extra_output_item_list = 3;
|
||||
}
|
||||
8
proto/ForgeQueueManipulateType.proto
Normal file
8
proto/ForgeQueueManipulateType.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum ForgeQueueManipulateType {
|
||||
FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT = 0;
|
||||
FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE = 1;
|
||||
}
|
||||
13
proto/ForgeStartReq.proto
Normal file
13
proto/ForgeStartReq.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
// CmdId: 676
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
// IsAllowClient: true
|
||||
message ForgeStartReq {
|
||||
uint32 forge_id = 9;
|
||||
uint32 forge_count = 11;
|
||||
uint32 avatar_id = 13;
|
||||
}
|
||||
10
proto/ForgeStartRsp.proto
Normal file
10
proto/ForgeStartRsp.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
// CmdId: 672
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
message ForgeStartRsp {
|
||||
int32 retcode = 11;
|
||||
}
|
||||
Reference in New Issue
Block a user