mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 17:04:40 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
+195
-195
@@ -19,55 +19,55 @@ public final class GadgetInteractReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return The enum numeric value on the wire for opType.
|
||||
*/
|
||||
int getOpTypeValue();
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return The opType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType getOpType();
|
||||
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return The enum numeric value on the wire for resinCostType.
|
||||
*/
|
||||
int getResinCostTypeValue();
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return The resinCostType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.ResinCostTypeOuterClass.ResinCostType getResinCostType();
|
||||
|
||||
/**
|
||||
* <code>bool is_use_condense_resin = 9;</code>
|
||||
* <code>bool is_use_condense_resin = 8;</code>
|
||||
* @return The isUseCondenseResin.
|
||||
*/
|
||||
boolean getIsUseCondenseResin();
|
||||
|
||||
/**
|
||||
* <code>uint32 gadget_id = 3;</code>
|
||||
* @return The gadgetId.
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return The enum numeric value on the wire for opType.
|
||||
*/
|
||||
int getGadgetId();
|
||||
int getOpTypeValue();
|
||||
/**
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return The opType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType getOpType();
|
||||
|
||||
/**
|
||||
* <code>uint32 ui_interact_id = 11;</code>
|
||||
* <code>uint32 ui_interact_id = 12;</code>
|
||||
* @return The uiInteractId.
|
||||
*/
|
||||
int getUiInteractId();
|
||||
|
||||
/**
|
||||
* <code>uint32 gadget_entity_id = 2;</code>
|
||||
* <code>uint32 gadget_id = 7;</code>
|
||||
* @return The gadgetId.
|
||||
*/
|
||||
int getGadgetId();
|
||||
|
||||
/**
|
||||
* <code>uint32 gadget_entity_id = 1;</code>
|
||||
* @return The gadgetEntityId.
|
||||
*/
|
||||
int getGadgetEntityId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: KJHPMOAELOJ
|
||||
* CmdId: 867
|
||||
* CmdId: 890
|
||||
* Name: CEEALLJALGP
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GadgetInteractReq}
|
||||
@@ -82,8 +82,8 @@ public final class GadgetInteractReqOuterClass {
|
||||
super(builder);
|
||||
}
|
||||
private GadgetInteractReq() {
|
||||
opType_ = 0;
|
||||
resinCostType_ = 0;
|
||||
opType_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -116,34 +116,34 @@ public final class GadgetInteractReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
case 8: {
|
||||
|
||||
gadgetEntityId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
|
||||
gadgetId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
case 40: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
resinCostType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
|
||||
gadgetId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
isUseCondenseResin_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
opType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
||||
isUseCondenseResin_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
case 96: {
|
||||
|
||||
uiInteractId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -180,36 +180,17 @@ public final class GadgetInteractReqOuterClass {
|
||||
emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq.class, emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int OP_TYPE_FIELD_NUMBER = 8;
|
||||
private int opType_;
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return The enum numeric value on the wire for opType.
|
||||
*/
|
||||
@java.lang.Override public int getOpTypeValue() {
|
||||
return opType_;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return The opType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType getOpType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType result = emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.valueOf(opType_);
|
||||
return result == null ? emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int RESIN_COST_TYPE_FIELD_NUMBER = 4;
|
||||
public static final int RESIN_COST_TYPE_FIELD_NUMBER = 5;
|
||||
private int resinCostType_;
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return The enum numeric value on the wire for resinCostType.
|
||||
*/
|
||||
@java.lang.Override public int getResinCostTypeValue() {
|
||||
return resinCostType_;
|
||||
}
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return The resinCostType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.ResinCostTypeOuterClass.ResinCostType getResinCostType() {
|
||||
@@ -218,10 +199,10 @@ public final class GadgetInteractReqOuterClass {
|
||||
return result == null ? emu.grasscutter.net.proto.ResinCostTypeOuterClass.ResinCostType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int IS_USE_CONDENSE_RESIN_FIELD_NUMBER = 9;
|
||||
public static final int IS_USE_CONDENSE_RESIN_FIELD_NUMBER = 8;
|
||||
private boolean isUseCondenseResin_;
|
||||
/**
|
||||
* <code>bool is_use_condense_resin = 9;</code>
|
||||
* <code>bool is_use_condense_resin = 8;</code>
|
||||
* @return The isUseCondenseResin.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -229,21 +210,29 @@ public final class GadgetInteractReqOuterClass {
|
||||
return isUseCondenseResin_;
|
||||
}
|
||||
|
||||
public static final int GADGET_ID_FIELD_NUMBER = 3;
|
||||
private int gadgetId_;
|
||||
public static final int OP_TYPE_FIELD_NUMBER = 9;
|
||||
private int opType_;
|
||||
/**
|
||||
* <code>uint32 gadget_id = 3;</code>
|
||||
* @return The gadgetId.
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return The enum numeric value on the wire for opType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGadgetId() {
|
||||
return gadgetId_;
|
||||
@java.lang.Override public int getOpTypeValue() {
|
||||
return opType_;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return The opType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType getOpType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType result = emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.valueOf(opType_);
|
||||
return result == null ? emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int UI_INTERACT_ID_FIELD_NUMBER = 11;
|
||||
public static final int UI_INTERACT_ID_FIELD_NUMBER = 12;
|
||||
private int uiInteractId_;
|
||||
/**
|
||||
* <code>uint32 ui_interact_id = 11;</code>
|
||||
* <code>uint32 ui_interact_id = 12;</code>
|
||||
* @return The uiInteractId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -251,10 +240,21 @@ public final class GadgetInteractReqOuterClass {
|
||||
return uiInteractId_;
|
||||
}
|
||||
|
||||
public static final int GADGET_ENTITY_ID_FIELD_NUMBER = 2;
|
||||
public static final int GADGET_ID_FIELD_NUMBER = 7;
|
||||
private int gadgetId_;
|
||||
/**
|
||||
* <code>uint32 gadget_id = 7;</code>
|
||||
* @return The gadgetId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGadgetId() {
|
||||
return gadgetId_;
|
||||
}
|
||||
|
||||
public static final int GADGET_ENTITY_ID_FIELD_NUMBER = 1;
|
||||
private int gadgetEntityId_;
|
||||
/**
|
||||
* <code>uint32 gadget_entity_id = 2;</code>
|
||||
* <code>uint32 gadget_entity_id = 1;</code>
|
||||
* @return The gadgetEntityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -277,22 +277,22 @@ public final class GadgetInteractReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (gadgetEntityId_ != 0) {
|
||||
output.writeUInt32(2, gadgetEntityId_);
|
||||
}
|
||||
if (gadgetId_ != 0) {
|
||||
output.writeUInt32(3, gadgetId_);
|
||||
output.writeUInt32(1, gadgetEntityId_);
|
||||
}
|
||||
if (resinCostType_ != emu.grasscutter.net.proto.ResinCostTypeOuterClass.ResinCostType.RESIN_COST_TYPE_NONE.getNumber()) {
|
||||
output.writeEnum(4, resinCostType_);
|
||||
output.writeEnum(5, resinCostType_);
|
||||
}
|
||||
if (opType_ != emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.INTER_OP_TYPE_FINISH.getNumber()) {
|
||||
output.writeEnum(8, opType_);
|
||||
if (gadgetId_ != 0) {
|
||||
output.writeUInt32(7, gadgetId_);
|
||||
}
|
||||
if (isUseCondenseResin_ != false) {
|
||||
output.writeBool(9, isUseCondenseResin_);
|
||||
output.writeBool(8, isUseCondenseResin_);
|
||||
}
|
||||
if (opType_ != emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.INTER_OP_TYPE_FINISH.getNumber()) {
|
||||
output.writeEnum(9, opType_);
|
||||
}
|
||||
if (uiInteractId_ != 0) {
|
||||
output.writeUInt32(11, uiInteractId_);
|
||||
output.writeUInt32(12, uiInteractId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -305,27 +305,27 @@ public final class GadgetInteractReqOuterClass {
|
||||
size = 0;
|
||||
if (gadgetEntityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, gadgetEntityId_);
|
||||
}
|
||||
if (gadgetId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, gadgetId_);
|
||||
.computeUInt32Size(1, gadgetEntityId_);
|
||||
}
|
||||
if (resinCostType_ != emu.grasscutter.net.proto.ResinCostTypeOuterClass.ResinCostType.RESIN_COST_TYPE_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(4, resinCostType_);
|
||||
.computeEnumSize(5, resinCostType_);
|
||||
}
|
||||
if (opType_ != emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.INTER_OP_TYPE_FINISH.getNumber()) {
|
||||
if (gadgetId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(8, opType_);
|
||||
.computeUInt32Size(7, gadgetId_);
|
||||
}
|
||||
if (isUseCondenseResin_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(9, isUseCondenseResin_);
|
||||
.computeBoolSize(8, isUseCondenseResin_);
|
||||
}
|
||||
if (opType_ != emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.INTER_OP_TYPE_FINISH.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(9, opType_);
|
||||
}
|
||||
if (uiInteractId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(11, uiInteractId_);
|
||||
.computeUInt32Size(12, uiInteractId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -342,14 +342,14 @@ public final class GadgetInteractReqOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq other = (emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq) obj;
|
||||
|
||||
if (opType_ != other.opType_) return false;
|
||||
if (resinCostType_ != other.resinCostType_) return false;
|
||||
if (getIsUseCondenseResin()
|
||||
!= other.getIsUseCondenseResin()) return false;
|
||||
if (getGadgetId()
|
||||
!= other.getGadgetId()) return false;
|
||||
if (opType_ != other.opType_) return false;
|
||||
if (getUiInteractId()
|
||||
!= other.getUiInteractId()) return false;
|
||||
if (getGadgetId()
|
||||
!= other.getGadgetId()) return false;
|
||||
if (getGadgetEntityId()
|
||||
!= other.getGadgetEntityId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -363,17 +363,17 @@ public final class GadgetInteractReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + OP_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + opType_;
|
||||
hash = (37 * hash) + RESIN_COST_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + resinCostType_;
|
||||
hash = (37 * hash) + IS_USE_CONDENSE_RESIN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsUseCondenseResin());
|
||||
hash = (37 * hash) + GADGET_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGadgetId();
|
||||
hash = (37 * hash) + OP_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + opType_;
|
||||
hash = (37 * hash) + UI_INTERACT_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getUiInteractId();
|
||||
hash = (37 * hash) + GADGET_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGadgetId();
|
||||
hash = (37 * hash) + GADGET_ENTITY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getGadgetEntityId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -473,8 +473,8 @@ public final class GadgetInteractReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: KJHPMOAELOJ
|
||||
* CmdId: 867
|
||||
* CmdId: 890
|
||||
* Name: CEEALLJALGP
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GadgetInteractReq}
|
||||
@@ -514,16 +514,16 @@ public final class GadgetInteractReqOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
opType_ = 0;
|
||||
|
||||
resinCostType_ = 0;
|
||||
|
||||
isUseCondenseResin_ = false;
|
||||
|
||||
gadgetId_ = 0;
|
||||
opType_ = 0;
|
||||
|
||||
uiInteractId_ = 0;
|
||||
|
||||
gadgetId_ = 0;
|
||||
|
||||
gadgetEntityId_ = 0;
|
||||
|
||||
return this;
|
||||
@@ -552,11 +552,11 @@ public final class GadgetInteractReqOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq buildPartial() {
|
||||
emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq result = new emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq(this);
|
||||
result.opType_ = opType_;
|
||||
result.resinCostType_ = resinCostType_;
|
||||
result.isUseCondenseResin_ = isUseCondenseResin_;
|
||||
result.gadgetId_ = gadgetId_;
|
||||
result.opType_ = opType_;
|
||||
result.uiInteractId_ = uiInteractId_;
|
||||
result.gadgetId_ = gadgetId_;
|
||||
result.gadgetEntityId_ = gadgetEntityId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -606,21 +606,21 @@ public final class GadgetInteractReqOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq other) {
|
||||
if (other == emu.grasscutter.net.proto.GadgetInteractReqOuterClass.GadgetInteractReq.getDefaultInstance()) return this;
|
||||
if (other.opType_ != 0) {
|
||||
setOpTypeValue(other.getOpTypeValue());
|
||||
}
|
||||
if (other.resinCostType_ != 0) {
|
||||
setResinCostTypeValue(other.getResinCostTypeValue());
|
||||
}
|
||||
if (other.getIsUseCondenseResin() != false) {
|
||||
setIsUseCondenseResin(other.getIsUseCondenseResin());
|
||||
}
|
||||
if (other.getGadgetId() != 0) {
|
||||
setGadgetId(other.getGadgetId());
|
||||
if (other.opType_ != 0) {
|
||||
setOpTypeValue(other.getOpTypeValue());
|
||||
}
|
||||
if (other.getUiInteractId() != 0) {
|
||||
setUiInteractId(other.getUiInteractId());
|
||||
}
|
||||
if (other.getGadgetId() != 0) {
|
||||
setGadgetId(other.getGadgetId());
|
||||
}
|
||||
if (other.getGadgetEntityId() != 0) {
|
||||
setGadgetEntityId(other.getGadgetEntityId());
|
||||
}
|
||||
@@ -653,70 +653,16 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int opType_ = 0;
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return The enum numeric value on the wire for opType.
|
||||
*/
|
||||
@java.lang.Override public int getOpTypeValue() {
|
||||
return opType_;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @param value The enum numeric value on the wire for opType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOpTypeValue(int value) {
|
||||
|
||||
opType_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return The opType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType getOpType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType result = emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.valueOf(opType_);
|
||||
return result == null ? emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @param value The opType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOpType(emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
opType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOpType() {
|
||||
|
||||
opType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int resinCostType_ = 0;
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return The enum numeric value on the wire for resinCostType.
|
||||
*/
|
||||
@java.lang.Override public int getResinCostTypeValue() {
|
||||
return resinCostType_;
|
||||
}
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @param value The enum numeric value on the wire for resinCostType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -727,7 +673,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return The resinCostType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -737,7 +683,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return result == null ? emu.grasscutter.net.proto.ResinCostTypeOuterClass.ResinCostType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @param value The resinCostType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -751,7 +697,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.ResinCostType resin_cost_type = 4;</code>
|
||||
* <code>.ResinCostType resin_cost_type = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearResinCostType() {
|
||||
@@ -763,7 +709,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
|
||||
private boolean isUseCondenseResin_ ;
|
||||
/**
|
||||
* <code>bool is_use_condense_resin = 9;</code>
|
||||
* <code>bool is_use_condense_resin = 8;</code>
|
||||
* @return The isUseCondenseResin.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -771,7 +717,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return isUseCondenseResin_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_use_condense_resin = 9;</code>
|
||||
* <code>bool is_use_condense_resin = 8;</code>
|
||||
* @param value The isUseCondenseResin to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -782,7 +728,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_use_condense_resin = 9;</code>
|
||||
* <code>bool is_use_condense_resin = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsUseCondenseResin() {
|
||||
@@ -792,40 +738,63 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gadgetId_ ;
|
||||
private int opType_ = 0;
|
||||
/**
|
||||
* <code>uint32 gadget_id = 3;</code>
|
||||
* @return The gadgetId.
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return The enum numeric value on the wire for opType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGadgetId() {
|
||||
return gadgetId_;
|
||||
@java.lang.Override public int getOpTypeValue() {
|
||||
return opType_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gadget_id = 3;</code>
|
||||
* @param value The gadgetId to set.
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @param value The enum numeric value on the wire for opType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGadgetId(int value) {
|
||||
public Builder setOpTypeValue(int value) {
|
||||
|
||||
gadgetId_ = value;
|
||||
opType_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gadget_id = 3;</code>
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return The opType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType getOpType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType result = emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.valueOf(opType_);
|
||||
return result == null ? emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @param value The opType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGadgetId() {
|
||||
public Builder setOpType(emu.grasscutter.net.proto.InterOpTypeOuterClass.InterOpType value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
gadgetId_ = 0;
|
||||
opType_ = value.getNumber();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.InterOpType op_type = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOpType() {
|
||||
|
||||
opType_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int uiInteractId_ ;
|
||||
/**
|
||||
* <code>uint32 ui_interact_id = 11;</code>
|
||||
* <code>uint32 ui_interact_id = 12;</code>
|
||||
* @return The uiInteractId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -833,7 +802,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return uiInteractId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 ui_interact_id = 11;</code>
|
||||
* <code>uint32 ui_interact_id = 12;</code>
|
||||
* @param value The uiInteractId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -844,7 +813,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 ui_interact_id = 11;</code>
|
||||
* <code>uint32 ui_interact_id = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearUiInteractId() {
|
||||
@@ -854,9 +823,40 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gadgetId_ ;
|
||||
/**
|
||||
* <code>uint32 gadget_id = 7;</code>
|
||||
* @return The gadgetId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getGadgetId() {
|
||||
return gadgetId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gadget_id = 7;</code>
|
||||
* @param value The gadgetId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setGadgetId(int value) {
|
||||
|
||||
gadgetId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gadget_id = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGadgetId() {
|
||||
|
||||
gadgetId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int gadgetEntityId_ ;
|
||||
/**
|
||||
* <code>uint32 gadget_entity_id = 2;</code>
|
||||
* <code>uint32 gadget_entity_id = 1;</code>
|
||||
* @return The gadgetEntityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -864,7 +864,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return gadgetEntityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gadget_entity_id = 2;</code>
|
||||
* <code>uint32 gadget_entity_id = 1;</code>
|
||||
* @param value The gadgetEntityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -875,7 +875,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 gadget_entity_id = 2;</code>
|
||||
* <code>uint32 gadget_entity_id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearGadgetEntityId() {
|
||||
@@ -953,11 +953,11 @@ public final class GadgetInteractReqOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\027GadgetInteractReq.proto\032\021InterOpType.p" +
|
||||
"roto\032\023ResinCostType.proto\"\277\001\n\021GadgetInte" +
|
||||
"ractReq\022\035\n\007op_type\030\010 \001(\0162\014.InterOpType\022\'" +
|
||||
"\n\017resin_cost_type\030\004 \001(\0162\016.ResinCostType\022" +
|
||||
"\035\n\025is_use_condense_resin\030\t \001(\010\022\021\n\tgadget" +
|
||||
"_id\030\003 \001(\r\022\026\n\016ui_interact_id\030\013 \001(\r\022\030\n\020gad" +
|
||||
"get_entity_id\030\002 \001(\rB\033\n\031emu.grasscutter.n" +
|
||||
"ractReq\022\'\n\017resin_cost_type\030\005 \001(\0162\016.Resin" +
|
||||
"CostType\022\035\n\025is_use_condense_resin\030\010 \001(\010\022" +
|
||||
"\035\n\007op_type\030\t \001(\0162\014.InterOpType\022\026\n\016ui_int" +
|
||||
"eract_id\030\014 \001(\r\022\021\n\tgadget_id\030\007 \001(\r\022\030\n\020gad" +
|
||||
"get_entity_id\030\001 \001(\rB\033\n\031emu.grasscutter.n" +
|
||||
"et.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -971,7 +971,7 @@ public final class GadgetInteractReqOuterClass {
|
||||
internal_static_GadgetInteractReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_GadgetInteractReq_descriptor,
|
||||
new java.lang.String[] { "OpType", "ResinCostType", "IsUseCondenseResin", "GadgetId", "UiInteractId", "GadgetEntityId", });
|
||||
new java.lang.String[] { "ResinCostType", "IsUseCondenseResin", "OpType", "UiInteractId", "GadgetId", "GadgetEntityId", });
|
||||
emu.grasscutter.net.proto.InterOpTypeOuterClass.getDescriptor();
|
||||
emu.grasscutter.net.proto.ResinCostTypeOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user