[BREAKING CHANGE] proto auto compiled by gradle (#226)

* [BREAK] proto auto compiled by gradle

* [BREAK] move proto to submodule

* update gitmodules

* [BREAK] move proto to submodule

* move proto to submodule

* fix merge conflict

* fix github action after merging

* fix merge conflicts and del submodule

* upload the proto
This commit is contained in:
WetABQ
2022-04-27 05:44:30 +08:00
committed by GitHub
parent 30d4fec9d4
commit b392849577
875 changed files with 8620 additions and 356859 deletions

23
proto/GadgetInteractReq.proto Executable file
View File

@@ -0,0 +1,23 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "InterOpType.proto";
import "ResinCostType.proto";
message GadgetInteractReq {
enum CmdId {
option allow_alias = true;
ENET_CHANNEL_ID = 0;
NONE = 0;
ENET_IS_RELIABLE = 1;
IS_ALLOW_CLIENT = 1;
CMD_ID = 849;
}
uint32 gadget_entity_id = 1;
InterOpType op_type = 2;
uint32 gadget_id = 3;
bool is_use_condense_resin = 4;
ResinCostType resin_cost_type = 5;
}