Merge branch 'dev-world-scripts' of https://github.com/Grasscutters/Grasscutter into development

This commit is contained in:
Melledy
2022-06-17 23:35:45 -07:00
84 changed files with 2952 additions and 837 deletions

View File

@@ -0,0 +1,16 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message GetInvestigationMonsterReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1916;
}
repeated uint32 city_id_list = 1;
}

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "InvestigationMonster.proto";
message GetInvestigationMonsterRsp {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 1928;
}
int32 retcode = 1;
repeated InvestigationMonster monster_list = 2;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message GroupSuiteNotify {
enum CmdId {
option allow_alias = true;
NONE = 0;
ENET_CHANNEL_ID = 0;
ENET_IS_RELIABLE = 1;
CMD_ID = 3098;
}
map<uint32, uint32> group_map = 1;
}

View File

@@ -0,0 +1,31 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "WeeklyBossResinDiscountInfo.proto";
message InvestigationMonster {
enum LockState {
LOCK_NONE = 0;
LOCK_QUEST = 1;
}
uint32 id = 1;
uint32 city_id = 2;
uint32 level = 3;
bool is_alive = 4;
uint32 next_refresh_time = 5;
uint32 refresh_interval = 6;
Vector pos = 7;
LockState lock_state = 8;
uint32 max_boss_chest_num = 9;
uint32 boss_chest_num = 10;
uint32 resin = 11;
bool is_area_locked = 12;
uint32 next_boss_chest_refresh_time = 13;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 14;
uint32 scene_id = 15;
uint32 group_id = 16;
uint32 monster_id = 17;
}