Add proto (Teapot Implementations & Fixes)

This commit is contained in:
Akbar Yahya 2023-02-05 11:07:31 +08:00
parent a7444ce335
commit c59a63570b
9 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,5 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message BackMyWorldReq {
}

View File

@ -0,0 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message BackMyWorldRsp {
int32 retcode = 9;
}

View File

@ -0,0 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message GetHomeLevelUpRewardReq {
uint32 level = 13;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message GetHomeLevelUpRewardRsp {
uint32 level = 5;
int32 retcode = 6;
}

View File

@ -0,0 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message HomeChangeModuleReq {
//enum KMCKOHBLHIJ {
// option allow_alias= true;
// NONE = 0;
// PEPPOHPHJOJ = 4484;
// DCDNILFDFLB = 0;
// NNBKOLMPOEA = 1;
// EAJIABGAOCI = 1;
//}
uint32 targetModuleId = 12;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message HomeChangeModuleRsp {
uint32 targetModuleId = 11;
int32 retcode = 13;
}

View File

@ -0,0 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message HomeModuleSeenReq {
repeated uint32 seenModuleIdList = 4;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message HomeModuleSeenRsp {
int32 retcode = 9;
repeated uint32 seenModuleIdList = 12;
}

View File

@ -0,0 +1,6 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message HomeModuleUnlockNotify {
uint32 moduleId = 14;
}