mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-03-26 17:43:07 +01:00
implement furniture make system
This commit is contained in:
13
proto/FurnitureMakeBeHelpedData.proto
Normal file
13
proto/FurnitureMakeBeHelpedData.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ProfilePicture.proto";
|
||||
|
||||
message FurnitureMakeBeHelpedData {
|
||||
string player_name = 1;
|
||||
uint32 time = 2;
|
||||
uint32 uid = 3;
|
||||
uint32 icon = 4;
|
||||
ProfilePicture profile_picture = 5;
|
||||
}
|
||||
12
proto/FurnitureMakeData.proto
Normal file
12
proto/FurnitureMakeData.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message FurnitureMakeData {
|
||||
uint32 index = 1;
|
||||
uint32 make_id = 2;
|
||||
uint32 begin_time = 3;
|
||||
uint32 dur_time = 4;
|
||||
uint32 accelerate_time = 5;
|
||||
uint32 avatar_id = 6;
|
||||
}
|
||||
8
proto/FurnitureMakeHelpData.proto
Normal file
8
proto/FurnitureMakeHelpData.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message FurnitureMakeHelpData {
|
||||
uint32 uid = 1;
|
||||
uint32 times = 2;
|
||||
}
|
||||
8
proto/FurnitureMakeMakeInfo.proto
Normal file
8
proto/FurnitureMakeMakeInfo.proto
Normal file
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message FurnitureMakeMakeInfo {
|
||||
uint32 furniture_id = 1;
|
||||
uint32 make_count = 2;
|
||||
}
|
||||
10
proto/FurnitureMakeReq.proto
Normal file
10
proto/FurnitureMakeReq.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
// CmdId: 4551
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
// IsAllowClient: true
|
||||
message FurnitureMakeReq {
|
||||
}
|
||||
19
proto/FurnitureMakeRsp.proto
Normal file
19
proto/FurnitureMakeRsp.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "FurnitureMakeBeHelpedData.proto";
|
||||
import "FurnitureMakeHelpData.proto";
|
||||
import "FurnitureMakeMakeInfo.proto";
|
||||
import "FurnitureMakeSlot.proto";
|
||||
|
||||
// CmdId: 4530
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
message FurnitureMakeRsp {
|
||||
int32 retcode = 6;
|
||||
FurnitureMakeSlot furniture_make_slot = 10;
|
||||
repeated FurnitureMakeHelpData help_data_list = 13;
|
||||
repeated FurnitureMakeBeHelpedData helped_data_list = 12;
|
||||
repeated FurnitureMakeMakeInfo make_info_list = 11;
|
||||
}
|
||||
9
proto/FurnitureMakeSlot.proto
Normal file
9
proto/FurnitureMakeSlot.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "FurnitureMakeData.proto";
|
||||
|
||||
message FurnitureMakeSlot {
|
||||
repeated FurnitureMakeData furniture_make_data_list = 1;
|
||||
}
|
||||
12
proto/FurnitureMakeStartReq.proto
Normal file
12
proto/FurnitureMakeStartReq.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
// CmdId: 4582
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
// IsAllowClient: true
|
||||
message FurnitureMakeStartReq {
|
||||
uint32 make_id = 1;
|
||||
uint32 avatar_id = 14;
|
||||
}
|
||||
13
proto/FurnitureMakeStartRsp.proto
Normal file
13
proto/FurnitureMakeStartRsp.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "FurnitureMakeSlot.proto";
|
||||
|
||||
// CmdId: 4463
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
message FurnitureMakeStartRsp {
|
||||
int32 retcode = 8;
|
||||
FurnitureMakeSlot furniture_make_slot = 10;
|
||||
}
|
||||
13
proto/TakeFurnitureMakeReq.proto
Normal file
13
proto/TakeFurnitureMakeReq.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
// CmdId: 4768
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
// IsAllowClient: true
|
||||
message TakeFurnitureMakeReq {
|
||||
uint32 index = 9;
|
||||
uint32 make_id = 4;
|
||||
bool is_fast_finish = 2;
|
||||
}
|
||||
17
proto/TakeFurnitureMakeRsp.proto
Normal file
17
proto/TakeFurnitureMakeRsp.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "FurnitureMakeSlot.proto";
|
||||
import "ItemParam.proto";
|
||||
|
||||
// CmdId: 4599
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
message TakeFurnitureMakeRsp {
|
||||
int32 retcode = 9;
|
||||
uint32 make_id = 2;
|
||||
FurnitureMakeSlot furniture_make_slot = 15;
|
||||
repeated ItemParam output_item_list = 10;
|
||||
repeated ItemParam return_item_list = 5;
|
||||
}
|
||||
11
proto/UnlockedFurnitureSuiteDataNotify.proto
Normal file
11
proto/UnlockedFurnitureSuiteDataNotify.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
// CmdId: 4717
|
||||
// EnetChannelId: 0
|
||||
// EnetIsReliable: true
|
||||
message UnlockedFurnitureSuiteDataNotify {
|
||||
bool is_all = 10;
|
||||
repeated uint32 furniture_suite_id_list = 15;
|
||||
}
|
||||
Reference in New Issue
Block a user