GC-Proto/proto/GadgetInteractReq.proto

24 lines
454 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2023-08-22 20:09:33 +03:00
option java_package = "emu.grasscutter.net.proto";
2022-11-06 15:30:21 +03:00
import "InterOpType.proto";
import "ResinCostType.proto";
message GadgetInteractReq {
2023-08-22 20:09:33 +03:00
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;
2022-11-06 15:30:21 +03:00
}