mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-22 03:45:10 +01:00
Implement map marking features
Teleport still exists on fish hook mark. Added mapMark-related protos. Map marking data is stored in players collection.
This commit is contained in:
10
proto/MapMarkTipsInfo.proto
Normal file
10
proto/MapMarkTipsInfo.proto
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MapMarkTipsType.proto";
|
||||
|
||||
message MapMarkTipsInfo {
|
||||
MapMarkTipsType tips_type = 1;
|
||||
repeated uint32 point_id_list = 2;
|
||||
}
|
||||
7
proto/MapMarkTipsType.proto
Normal file
7
proto/MapMarkTipsType.proto
Normal file
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum MapMarkTipsType {
|
||||
MARK_TIPS_DUNGEON_ELEMENT_TRIAL = 0;
|
||||
}
|
||||
19
proto/MarkEntityInMinMapNotify.proto
Normal file
19
proto/MarkEntityInMinMapNotify.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "Vector.proto";
|
||||
|
||||
message MarkEntityInMinMapNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 249;
|
||||
}
|
||||
|
||||
uint32 entity_id = 1;
|
||||
Vector position = 2;
|
||||
uint32 monster_id = 3;
|
||||
}
|
||||
18
proto/MarkMapRsp.proto
Normal file
18
proto/MarkMapRsp.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MapMarkPoint.proto";
|
||||
|
||||
message MarkMapRsp {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 3011;
|
||||
}
|
||||
|
||||
int32 retcode = 1;
|
||||
repeated MapMarkPoint mark_list = 2;
|
||||
}
|
||||
17
proto/MarkNewNotify.proto
Normal file
17
proto/MarkNewNotify.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
|
||||
message MarkNewNotify {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
NONE = 0;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
CMD_ID = 1212;
|
||||
}
|
||||
|
||||
uint32 mark_new_type = 1;
|
||||
repeated uint32 id_list = 2;
|
||||
}
|
||||
9
proto/MarkNewType.proto
Normal file
9
proto/MarkNewType.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
enum MarkNewType {
|
||||
_NONE = 0;
|
||||
COMBINE = 1;
|
||||
FORGE = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user