add miss proto

This commit is contained in:
Yuuki 2023-05-22 23:08:38 +08:00
parent 8fe2336c0a
commit d47c40b1f9
11 changed files with 149 additions and 0 deletions

10
proto/BuyResinReq.proto Normal file
View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: NIBFJEFHMIM
// CmdId: 630
message BuyResinReq {
}

12
proto/BuyResinRsp.proto Normal file
View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: PFLBPGOHFKJ
// CmdId: 687
message BuyResinRsp {
int32 retcode = 9;
uint32 cur_value = 3;
}

21
proto/Investigation.proto Normal file
View File

@ -0,0 +1,21 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: NFAGLBHALKL
message Investigation {
// Name: DMECJPCEPNH
enum State {
INVALID = 0;
IN_PROGRESS = 1;
COMPLETE = 2;
REWARD_TAKEN = 3;
}
uint32 id = 2;
State state = 4;
uint32 total_progress = 5;
uint32 progress = 11;
}

View File

@ -0,0 +1,22 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: EJKIKKJCFKL
message InvestigationTarget {
// Name: PMPLOIOCICM
enum State {
INVALID = 0;
IN_PROGRESS = 1;
COMPLETE = 2;
REWARD_TAKEN = 3;
}
State state = 6;
uint32 total_progress = 5;
uint32 investigation_id = 7;
uint32 quest_id = 14;
uint32 progress = 1;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Investigation.proto";
import "InvestigationTarget.proto";
// Name: HCPEEIEKMCL
// CmdId: 1911
message PlayerInvestigationAllInfoNotify {
repeated Investigation investigation_list = 10;
repeated InvestigationTarget investigation_target_list = 12;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Investigation.proto";
// Name: KFLGDLECPAK
// CmdId: 1901
message PlayerInvestigationNotify {
repeated Investigation investigation_list = 6;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "InvestigationTarget.proto";
// Name: MOGCBFKFHDN
// CmdId: 1930
message PlayerInvestigationTargetNotify {
repeated InvestigationTarget investigation_target_list = 1;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: ECINNKNDEAB
// CmdId: 1928
message TakeInvestigationRewardReq {
uint32 id = 14;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: MADHMGMOJPM
// CmdId: 1910
message TakeInvestigationRewardRsp {
uint32 id = 10;
int32 retcode = 6;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: HEBFDFDMOFH
// CmdId: 1926
message TakeInvestigationTargetRewardReq {
uint32 quest_id = 15;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: LHAPHELPIHC
// CmdId: 1927
message TakeInvestigationTargetRewardRsp {
int32 retcode = 6;
uint32 quest_id = 14;
}