mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-18 01:46:44 +01:00
feature(widget): simple implementation of widget
Simple implementation of a part of the gadget support, very rough, hard code variables, I am very sorry for that. It can now handle part of the gadget rig. More features and better support await PRs from others. if no one else does, I'll give it a try.
This commit is contained in:
26
proto/QuickUseWidgetReq.proto
Normal file
26
proto/QuickUseWidgetReq.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "WidgetCreateLocationInfo.proto";
|
||||
import "WidgetCameraInfo.proto";
|
||||
import "WidgetCreatorInfo.proto";
|
||||
import "WidgetThunderBirdFeatherInfo.proto";
|
||||
|
||||
message QuickUseWidgetReq {
|
||||
enum CmdId {
|
||||
option allow_alias = true;
|
||||
ENET_CHANNEL_ID = 0;
|
||||
NONE = 0;
|
||||
ENET_IS_RELIABLE = 1;
|
||||
IS_ALLOW_CLIENT = 1;
|
||||
CMD_ID = 4300;
|
||||
}
|
||||
|
||||
oneof Param {
|
||||
WidgetCreateLocationInfo location_info = 20;
|
||||
WidgetCameraInfo camera_info = 21;
|
||||
WidgetCreatorInfo creator_info = 22;
|
||||
WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 23;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user