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:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -19,38 +19,38 @@ public final class WidgetDoBagReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 material_id = 9;</code>
* <code>uint32 material_id = 12;</code>
* @return The materialId.
*/
int getMaterialId();
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
* @return Whether the locationInfo field is set.
*/
boolean hasLocationInfo();
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
* @return The locationInfo.
*/
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo();
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder();
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
* @return Whether the widgetCreatorInfo field is set.
*/
boolean hasWidgetCreatorInfo();
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
* @return The widgetCreatorInfo.
*/
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo();
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder();
@@ -58,8 +58,8 @@ public final class WidgetDoBagReqOuterClass {
}
/**
* <pre>
* Name: ECBPKIEBPLJ
* CmdId: 4299
* CmdId: 4254
* Name: NBCPOJPGAOA
* </pre>
*
* Protobuf type {@code WidgetDoBagReq}
@@ -106,14 +106,14 @@ public final class WidgetDoBagReqOuterClass {
case 0:
done = true;
break;
case 72: {
case 96: {
materialId_ = input.readUInt32();
break;
}
case 10722: {
case 3890: {
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder subBuilder = null;
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
subBuilder = ((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_).toBuilder();
}
opInfo_ =
@@ -122,12 +122,12 @@ public final class WidgetDoBagReqOuterClass {
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
opInfo_ = subBuilder.buildPartial();
}
opInfoCase_ = 1340;
opInfoCase_ = 486;
break;
}
case 13946: {
case 5554: {
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder subBuilder = null;
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
subBuilder = ((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_).toBuilder();
}
opInfo_ =
@@ -136,7 +136,7 @@ public final class WidgetDoBagReqOuterClass {
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
opInfo_ = subBuilder.buildPartial();
}
opInfoCase_ = 1743;
opInfoCase_ = 694;
break;
}
default: {
@@ -176,8 +176,8 @@ public final class WidgetDoBagReqOuterClass {
public enum OpInfoCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
LOCATION_INFO(1340),
WIDGET_CREATOR_INFO(1743),
LOCATION_INFO(486),
WIDGET_CREATOR_INFO(694),
OPINFO_NOT_SET(0);
private final int value;
private OpInfoCase(int value) {
@@ -195,8 +195,8 @@ public final class WidgetDoBagReqOuterClass {
public static OpInfoCase forNumber(int value) {
switch (value) {
case 1340: return LOCATION_INFO;
case 1743: return WIDGET_CREATOR_INFO;
case 486: return LOCATION_INFO;
case 694: return WIDGET_CREATOR_INFO;
case 0: return OPINFO_NOT_SET;
default: return null;
}
@@ -212,10 +212,10 @@ public final class WidgetDoBagReqOuterClass {
opInfoCase_);
}
public static final int MATERIAL_ID_FIELD_NUMBER = 9;
public static final int MATERIAL_ID_FIELD_NUMBER = 12;
private int materialId_;
/**
* <code>uint32 material_id = 9;</code>
* <code>uint32 material_id = 12;</code>
* @return The materialId.
*/
@java.lang.Override
@@ -223,63 +223,63 @@ public final class WidgetDoBagReqOuterClass {
return materialId_;
}
public static final int LOCATION_INFO_FIELD_NUMBER = 1340;
public static final int LOCATION_INFO_FIELD_NUMBER = 486;
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return opInfoCase_ == 1340;
return opInfoCase_ == 486;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
* @return The locationInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo() {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
public static final int WIDGET_CREATOR_INFO_FIELD_NUMBER = 1743;
public static final int WIDGET_CREATOR_INFO_FIELD_NUMBER = 694;
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
* @return Whether the widgetCreatorInfo field is set.
*/
@java.lang.Override
public boolean hasWidgetCreatorInfo() {
return opInfoCase_ == 1743;
return opInfoCase_ == 694;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
* @return The widgetCreatorInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo() {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder() {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
@@ -300,13 +300,13 @@ public final class WidgetDoBagReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (materialId_ != 0) {
output.writeUInt32(9, materialId_);
output.writeUInt32(12, materialId_);
}
if (opInfoCase_ == 1340) {
output.writeMessage(1340, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
if (opInfoCase_ == 486) {
output.writeMessage(486, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
}
if (opInfoCase_ == 1743) {
output.writeMessage(1743, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
if (opInfoCase_ == 694) {
output.writeMessage(694, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
}
unknownFields.writeTo(output);
}
@@ -319,15 +319,15 @@ public final class WidgetDoBagReqOuterClass {
size = 0;
if (materialId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, materialId_);
.computeUInt32Size(12, materialId_);
}
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1340, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
.computeMessageSize(486, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
}
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1743, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
.computeMessageSize(694, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -348,11 +348,11 @@ public final class WidgetDoBagReqOuterClass {
!= other.getMaterialId()) return false;
if (!getOpInfoCase().equals(other.getOpInfoCase())) return false;
switch (opInfoCase_) {
case 1340:
case 486:
if (!getLocationInfo()
.equals(other.getLocationInfo())) return false;
break;
case 1743:
case 694:
if (!getWidgetCreatorInfo()
.equals(other.getWidgetCreatorInfo())) return false;
break;
@@ -373,11 +373,11 @@ public final class WidgetDoBagReqOuterClass {
hash = (37 * hash) + MATERIAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getMaterialId();
switch (opInfoCase_) {
case 1340:
case 486:
hash = (37 * hash) + LOCATION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getLocationInfo().hashCode();
break;
case 1743:
case 694:
hash = (37 * hash) + WIDGET_CREATOR_INFO_FIELD_NUMBER;
hash = (53 * hash) + getWidgetCreatorInfo().hashCode();
break;
@@ -481,8 +481,8 @@ public final class WidgetDoBagReqOuterClass {
}
/**
* <pre>
* Name: ECBPKIEBPLJ
* CmdId: 4299
* CmdId: 4254
* Name: NBCPOJPGAOA
* </pre>
*
* Protobuf type {@code WidgetDoBagReq}
@@ -553,14 +553,14 @@ public final class WidgetDoBagReqOuterClass {
public emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq buildPartial() {
emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq result = new emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq(this);
result.materialId_ = materialId_;
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
if (locationInfoBuilder_ == null) {
result.opInfo_ = opInfo_;
} else {
result.opInfo_ = locationInfoBuilder_.build();
}
}
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
if (widgetCreatorInfoBuilder_ == null) {
result.opInfo_ = opInfo_;
} else {
@@ -678,7 +678,7 @@ public final class WidgetDoBagReqOuterClass {
private int materialId_ ;
/**
* <code>uint32 material_id = 9;</code>
* <code>uint32 material_id = 12;</code>
* @return The materialId.
*/
@java.lang.Override
@@ -686,7 +686,7 @@ public final class WidgetDoBagReqOuterClass {
return materialId_;
}
/**
* <code>uint32 material_id = 9;</code>
* <code>uint32 material_id = 12;</code>
* @param value The materialId to set.
* @return This builder for chaining.
*/
@@ -697,7 +697,7 @@ public final class WidgetDoBagReqOuterClass {
return this;
}
/**
* <code>uint32 material_id = 9;</code>
* <code>uint32 material_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearMaterialId() {
@@ -710,33 +710,33 @@ public final class WidgetDoBagReqOuterClass {
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder> locationInfoBuilder_;
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return opInfoCase_ == 1340;
return opInfoCase_ == 486;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
* @return The locationInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo() {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
} else {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
return locationInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
public Builder setLocationInfo(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo value) {
if (locationInfoBuilder_ == null) {
@@ -748,11 +748,11 @@ public final class WidgetDoBagReqOuterClass {
} else {
locationInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1340;
opInfoCase_ = 486;
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
public Builder setLocationInfo(
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder builderForValue) {
@@ -762,15 +762,15 @@ public final class WidgetDoBagReqOuterClass {
} else {
locationInfoBuilder_.setMessage(builderForValue.build());
}
opInfoCase_ = 1340;
opInfoCase_ = 486;
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
public Builder mergeLocationInfo(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo value) {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1340 &&
if (opInfoCase_ == 486 &&
opInfo_ != emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance()) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.newBuilder((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_)
.mergeFrom(value).buildPartial();
@@ -779,26 +779,26 @@ public final class WidgetDoBagReqOuterClass {
}
onChanged();
} else {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
locationInfoBuilder_.mergeFrom(value);
}
locationInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1340;
opInfoCase_ = 486;
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
public Builder clearLocationInfo() {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
opInfoCase_ = 0;
opInfo_ = null;
onChanged();
}
} else {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
opInfoCase_ = 0;
opInfo_ = null;
}
@@ -807,33 +807,33 @@ public final class WidgetDoBagReqOuterClass {
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder getLocationInfoBuilder() {
return getLocationInfoFieldBuilder().getBuilder();
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
if ((opInfoCase_ == 1340) && (locationInfoBuilder_ != null)) {
if ((opInfoCase_ == 486) && (locationInfoBuilder_ != null)) {
return locationInfoBuilder_.getMessageOrBuilder();
} else {
if (opInfoCase_ == 1340) {
if (opInfoCase_ == 486) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1340;</code>
* <code>.WidgetCreateLocationInfo location_info = 486;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder>
getLocationInfoFieldBuilder() {
if (locationInfoBuilder_ == null) {
if (!(opInfoCase_ == 1340)) {
if (!(opInfoCase_ == 486)) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
@@ -843,7 +843,7 @@ public final class WidgetDoBagReqOuterClass {
isClean());
opInfo_ = null;
}
opInfoCase_ = 1340;
opInfoCase_ = 486;
onChanged();;
return locationInfoBuilder_;
}
@@ -851,33 +851,33 @@ public final class WidgetDoBagReqOuterClass {
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder> widgetCreatorInfoBuilder_;
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
* @return Whether the widgetCreatorInfo field is set.
*/
@java.lang.Override
public boolean hasWidgetCreatorInfo() {
return opInfoCase_ == 1743;
return opInfoCase_ == 694;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
* @return The widgetCreatorInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo() {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
} else {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
return widgetCreatorInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
public Builder setWidgetCreatorInfo(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
if (widgetCreatorInfoBuilder_ == null) {
@@ -889,11 +889,11 @@ public final class WidgetDoBagReqOuterClass {
} else {
widgetCreatorInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1743;
opInfoCase_ = 694;
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
public Builder setWidgetCreatorInfo(
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder builderForValue) {
@@ -903,15 +903,15 @@ public final class WidgetDoBagReqOuterClass {
} else {
widgetCreatorInfoBuilder_.setMessage(builderForValue.build());
}
opInfoCase_ = 1743;
opInfoCase_ = 694;
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
public Builder mergeWidgetCreatorInfo(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1743 &&
if (opInfoCase_ == 694 &&
opInfo_ != emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance()) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.newBuilder((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_)
.mergeFrom(value).buildPartial();
@@ -920,26 +920,26 @@ public final class WidgetDoBagReqOuterClass {
}
onChanged();
} else {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
widgetCreatorInfoBuilder_.mergeFrom(value);
}
widgetCreatorInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1743;
opInfoCase_ = 694;
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
public Builder clearWidgetCreatorInfo() {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
opInfoCase_ = 0;
opInfo_ = null;
onChanged();
}
} else {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
opInfoCase_ = 0;
opInfo_ = null;
}
@@ -948,33 +948,33 @@ public final class WidgetDoBagReqOuterClass {
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder getWidgetCreatorInfoBuilder() {
return getWidgetCreatorInfoFieldBuilder().getBuilder();
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder() {
if ((opInfoCase_ == 1743) && (widgetCreatorInfoBuilder_ != null)) {
if ((opInfoCase_ == 694) && (widgetCreatorInfoBuilder_ != null)) {
return widgetCreatorInfoBuilder_.getMessageOrBuilder();
} else {
if (opInfoCase_ == 1743) {
if (opInfoCase_ == 694) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1743;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 694;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder>
getWidgetCreatorInfoFieldBuilder() {
if (widgetCreatorInfoBuilder_ == null) {
if (!(opInfoCase_ == 1743)) {
if (!(opInfoCase_ == 694)) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
widgetCreatorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
@@ -984,7 +984,7 @@ public final class WidgetDoBagReqOuterClass {
isClean());
opInfo_ = null;
}
opInfoCase_ = 1743;
opInfoCase_ = 694;
onChanged();;
return widgetCreatorInfoBuilder_;
}
@@ -1057,9 +1057,9 @@ public final class WidgetDoBagReqOuterClass {
java.lang.String[] descriptorData = {
"\n\024WidgetDoBagReq.proto\032\036WidgetCreateLoca" +
"tionInfo.proto\032\027WidgetCreatorInfo.proto\"" +
"\231\001\n\016WidgetDoBagReq\022\023\n\013material_id\030\t \001(\r\022" +
"3\n\rlocation_info\030\274\n \001(\0132\031.WidgetCreateLo" +
"cationInfoH\000\0222\n\023widget_creator_info\030\317\r \001" +
"\231\001\n\016WidgetDoBagReq\022\023\n\013material_id\030\014 \001(\r\022" +
"3\n\rlocation_info\030\346\003 \001(\0132\031.WidgetCreateLo" +
"cationInfoH\000\0222\n\023widget_creator_info\030\266\005 \001" +
"(\0132\022.WidgetCreatorInfoH\000B\t\n\007op_infoB\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
};