mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-03-26 17:43:07 +01:00
Add support for codexQuests (#870)
This commit is contained in:
16
proto/CodexDataFullNotify.proto
Normal file
16
proto/CodexDataFullNotify.proto
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "CodexTypeData.proto";
|
||||
|
||||
message CodexDataFullNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 4208;
|
||||
}
|
||||
|
||||
repeated CodexTypeData type_data_list = 1;
|
||||
}
|
||||
18
proto/CodexDataUpdateNotify.proto
Normal file
18
proto/CodexDataUpdateNotify.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "CodexType.proto";
|
||||
|
||||
message CodexDataUpdateNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 4205;
|
||||
}
|
||||
|
||||
CodexType type = 1;
|
||||
uint32 id = 2;
|
||||
uint32 weapon_max_promote_level = 3;
|
||||
}
|
||||
15
proto/CodexType.proto
Normal file
15
proto/CodexType.proto
Normal file
@@ -0,0 +1,15 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum CodexType {
|
||||
CODEX_NONE = 0;
|
||||
CODEX_QUEST = 1;
|
||||
CODEX_WEAPON = 2;
|
||||
CODEX_ANIMAL = 3;
|
||||
CODEX_MATERIAL = 4;
|
||||
CODEX_BOOKS = 5;
|
||||
CODEX_PUSHTIPS = 6;
|
||||
CODEX_VIEW = 7;
|
||||
CODEX_RELIQUARY = 8;
|
||||
}
|
||||
6
proto/CodexTypeComparer.proto
Normal file
6
proto/CodexTypeComparer.proto
Normal file
@@ -0,0 +1,6 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message CodexTypeComparer {
|
||||
}
|
||||
11
proto/CodexTypeData.proto
Normal file
11
proto/CodexTypeData.proto
Normal file
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
import "CodexType.proto";
|
||||
|
||||
message CodexTypeData {
|
||||
CodexType type = 1;
|
||||
repeated uint32 codex_id_list = 2;
|
||||
repeated bool have_viewed_list = 3;
|
||||
map<uint32, uint32> weapon_max_promote_level_map = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user