mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 17:23:37 +08:00
Update gc to 3.3 (#1981)
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
@@ -19,38 +19,38 @@ public final class WidgetDoBagReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 material_id = 9;</code>
|
||||
* <code>uint32 material_id = 11;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
int getMaterialId();
|
||||
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
* @return Whether the locationInfo field is set.
|
||||
*/
|
||||
boolean hasLocationInfo();
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
* @return The locationInfo.
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo();
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
* @return Whether the widgetCreatorInfo field is set.
|
||||
*/
|
||||
boolean hasWidgetCreatorInfo();
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
* @return The widgetCreatorInfo.
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo();
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder();
|
||||
|
||||
@@ -58,10 +58,14 @@ public final class WidgetDoBagReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4255
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4269;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WidgetDoBagReq}
|
||||
@@ -108,14 +112,14 @@ public final class WidgetDoBagReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 72: {
|
||||
case 88: {
|
||||
|
||||
materialId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 6658: {
|
||||
case 3474: {
|
||||
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder subBuilder = null;
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
subBuilder = ((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_).toBuilder();
|
||||
}
|
||||
opInfo_ =
|
||||
@@ -124,12 +128,12 @@ public final class WidgetDoBagReqOuterClass {
|
||||
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
|
||||
opInfo_ = subBuilder.buildPartial();
|
||||
}
|
||||
opInfoCase_ = 832;
|
||||
opInfoCase_ = 434;
|
||||
break;
|
||||
}
|
||||
case 11978: {
|
||||
case 10706: {
|
||||
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder subBuilder = null;
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
subBuilder = ((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_).toBuilder();
|
||||
}
|
||||
opInfo_ =
|
||||
@@ -138,7 +142,7 @@ public final class WidgetDoBagReqOuterClass {
|
||||
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
|
||||
opInfo_ = subBuilder.buildPartial();
|
||||
}
|
||||
opInfoCase_ = 1497;
|
||||
opInfoCase_ = 1338;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -178,8 +182,8 @@ public final class WidgetDoBagReqOuterClass {
|
||||
public enum OpInfoCase
|
||||
implements com.google.protobuf.Internal.EnumLite,
|
||||
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
|
||||
LOCATION_INFO(832),
|
||||
WIDGET_CREATOR_INFO(1497),
|
||||
LOCATION_INFO(434),
|
||||
WIDGET_CREATOR_INFO(1338),
|
||||
OPINFO_NOT_SET(0);
|
||||
private final int value;
|
||||
private OpInfoCase(int value) {
|
||||
@@ -197,8 +201,8 @@ public final class WidgetDoBagReqOuterClass {
|
||||
|
||||
public static OpInfoCase forNumber(int value) {
|
||||
switch (value) {
|
||||
case 832: return LOCATION_INFO;
|
||||
case 1497: return WIDGET_CREATOR_INFO;
|
||||
case 434: return LOCATION_INFO;
|
||||
case 1338: return WIDGET_CREATOR_INFO;
|
||||
case 0: return OPINFO_NOT_SET;
|
||||
default: return null;
|
||||
}
|
||||
@@ -214,10 +218,10 @@ public final class WidgetDoBagReqOuterClass {
|
||||
opInfoCase_);
|
||||
}
|
||||
|
||||
public static final int MATERIAL_ID_FIELD_NUMBER = 9;
|
||||
public static final int MATERIAL_ID_FIELD_NUMBER = 11;
|
||||
private int materialId_;
|
||||
/**
|
||||
* <code>uint32 material_id = 9;</code>
|
||||
* <code>uint32 material_id = 11;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -225,63 +229,63 @@ public final class WidgetDoBagReqOuterClass {
|
||||
return materialId_;
|
||||
}
|
||||
|
||||
public static final int LOCATION_INFO_FIELD_NUMBER = 832;
|
||||
public static final int LOCATION_INFO_FIELD_NUMBER = 434;
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
* @return Whether the locationInfo field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLocationInfo() {
|
||||
return opInfoCase_ == 832;
|
||||
return opInfoCase_ == 434;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
* @return The locationInfo.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo() {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
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 = 1497;
|
||||
public static final int WIDGET_CREATOR_INFO_FIELD_NUMBER = 1338;
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
* @return Whether the widgetCreatorInfo field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasWidgetCreatorInfo() {
|
||||
return opInfoCase_ == 1497;
|
||||
return opInfoCase_ == 1338;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
* @return The widgetCreatorInfo.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo() {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder() {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
|
||||
@@ -302,13 +306,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(11, materialId_);
|
||||
}
|
||||
if (opInfoCase_ == 832) {
|
||||
output.writeMessage(832, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
|
||||
if (opInfoCase_ == 434) {
|
||||
output.writeMessage(434, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
|
||||
}
|
||||
if (opInfoCase_ == 1497) {
|
||||
output.writeMessage(1497, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
|
||||
if (opInfoCase_ == 1338) {
|
||||
output.writeMessage(1338, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -321,15 +325,15 @@ public final class WidgetDoBagReqOuterClass {
|
||||
size = 0;
|
||||
if (materialId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, materialId_);
|
||||
.computeUInt32Size(11, materialId_);
|
||||
}
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(832, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
|
||||
.computeMessageSize(434, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
|
||||
}
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1497, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
|
||||
.computeMessageSize(1338, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -350,11 +354,11 @@ public final class WidgetDoBagReqOuterClass {
|
||||
!= other.getMaterialId()) return false;
|
||||
if (!getOpInfoCase().equals(other.getOpInfoCase())) return false;
|
||||
switch (opInfoCase_) {
|
||||
case 832:
|
||||
case 434:
|
||||
if (!getLocationInfo()
|
||||
.equals(other.getLocationInfo())) return false;
|
||||
break;
|
||||
case 1497:
|
||||
case 1338:
|
||||
if (!getWidgetCreatorInfo()
|
||||
.equals(other.getWidgetCreatorInfo())) return false;
|
||||
break;
|
||||
@@ -375,11 +379,11 @@ public final class WidgetDoBagReqOuterClass {
|
||||
hash = (37 * hash) + MATERIAL_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMaterialId();
|
||||
switch (opInfoCase_) {
|
||||
case 832:
|
||||
case 434:
|
||||
hash = (37 * hash) + LOCATION_INFO_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLocationInfo().hashCode();
|
||||
break;
|
||||
case 1497:
|
||||
case 1338:
|
||||
hash = (37 * hash) + WIDGET_CREATOR_INFO_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getWidgetCreatorInfo().hashCode();
|
||||
break;
|
||||
@@ -483,10 +487,14 @@ public final class WidgetDoBagReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4255
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4269;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code WidgetDoBagReq}
|
||||
@@ -557,14 +565,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_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
if (locationInfoBuilder_ == null) {
|
||||
result.opInfo_ = opInfo_;
|
||||
} else {
|
||||
result.opInfo_ = locationInfoBuilder_.build();
|
||||
}
|
||||
}
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
if (widgetCreatorInfoBuilder_ == null) {
|
||||
result.opInfo_ = opInfo_;
|
||||
} else {
|
||||
@@ -682,7 +690,7 @@ public final class WidgetDoBagReqOuterClass {
|
||||
|
||||
private int materialId_ ;
|
||||
/**
|
||||
* <code>uint32 material_id = 9;</code>
|
||||
* <code>uint32 material_id = 11;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -690,7 +698,7 @@ public final class WidgetDoBagReqOuterClass {
|
||||
return materialId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 material_id = 9;</code>
|
||||
* <code>uint32 material_id = 11;</code>
|
||||
* @param value The materialId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -701,7 +709,7 @@ public final class WidgetDoBagReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 material_id = 9;</code>
|
||||
* <code>uint32 material_id = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMaterialId() {
|
||||
@@ -714,33 +722,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 = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
* @return Whether the locationInfo field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasLocationInfo() {
|
||||
return opInfoCase_ == 832;
|
||||
return opInfoCase_ == 434;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
* @return The locationInfo.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo() {
|
||||
if (locationInfoBuilder_ == null) {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
|
||||
} else {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
return locationInfoBuilder_.getMessage();
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
public Builder setLocationInfo(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo value) {
|
||||
if (locationInfoBuilder_ == null) {
|
||||
@@ -752,11 +760,11 @@ public final class WidgetDoBagReqOuterClass {
|
||||
} else {
|
||||
locationInfoBuilder_.setMessage(value);
|
||||
}
|
||||
opInfoCase_ = 832;
|
||||
opInfoCase_ = 434;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
public Builder setLocationInfo(
|
||||
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder builderForValue) {
|
||||
@@ -766,15 +774,15 @@ public final class WidgetDoBagReqOuterClass {
|
||||
} else {
|
||||
locationInfoBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
opInfoCase_ = 832;
|
||||
opInfoCase_ = 434;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
public Builder mergeLocationInfo(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo value) {
|
||||
if (locationInfoBuilder_ == null) {
|
||||
if (opInfoCase_ == 832 &&
|
||||
if (opInfoCase_ == 434 &&
|
||||
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();
|
||||
@@ -783,26 +791,26 @@ public final class WidgetDoBagReqOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
locationInfoBuilder_.mergeFrom(value);
|
||||
}
|
||||
locationInfoBuilder_.setMessage(value);
|
||||
}
|
||||
opInfoCase_ = 832;
|
||||
opInfoCase_ = 434;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
public Builder clearLocationInfo() {
|
||||
if (locationInfoBuilder_ == null) {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
opInfoCase_ = 0;
|
||||
opInfo_ = null;
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
opInfoCase_ = 0;
|
||||
opInfo_ = null;
|
||||
}
|
||||
@@ -811,33 +819,33 @@ public final class WidgetDoBagReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder getLocationInfoBuilder() {
|
||||
return getLocationInfoFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
|
||||
if ((opInfoCase_ == 832) && (locationInfoBuilder_ != null)) {
|
||||
if ((opInfoCase_ == 434) && (locationInfoBuilder_ != null)) {
|
||||
return locationInfoBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
if (opInfoCase_ == 832) {
|
||||
if (opInfoCase_ == 434) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreateLocationInfo location_info = 832;</code>
|
||||
* <code>.WidgetCreateLocationInfo location_info = 434;</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_ == 832)) {
|
||||
if (!(opInfoCase_ == 434)) {
|
||||
opInfo_ = emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
|
||||
}
|
||||
locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
@@ -847,7 +855,7 @@ public final class WidgetDoBagReqOuterClass {
|
||||
isClean());
|
||||
opInfo_ = null;
|
||||
}
|
||||
opInfoCase_ = 832;
|
||||
opInfoCase_ = 434;
|
||||
onChanged();;
|
||||
return locationInfoBuilder_;
|
||||
}
|
||||
@@ -855,33 +863,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 = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
* @return Whether the widgetCreatorInfo field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasWidgetCreatorInfo() {
|
||||
return opInfoCase_ == 1497;
|
||||
return opInfoCase_ == 1338;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
* @return The widgetCreatorInfo.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo() {
|
||||
if (widgetCreatorInfoBuilder_ == null) {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
|
||||
} else {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
return widgetCreatorInfoBuilder_.getMessage();
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
public Builder setWidgetCreatorInfo(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
|
||||
if (widgetCreatorInfoBuilder_ == null) {
|
||||
@@ -893,11 +901,11 @@ public final class WidgetDoBagReqOuterClass {
|
||||
} else {
|
||||
widgetCreatorInfoBuilder_.setMessage(value);
|
||||
}
|
||||
opInfoCase_ = 1497;
|
||||
opInfoCase_ = 1338;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
public Builder setWidgetCreatorInfo(
|
||||
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder builderForValue) {
|
||||
@@ -907,15 +915,15 @@ public final class WidgetDoBagReqOuterClass {
|
||||
} else {
|
||||
widgetCreatorInfoBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
opInfoCase_ = 1497;
|
||||
opInfoCase_ = 1338;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
public Builder mergeWidgetCreatorInfo(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
|
||||
if (widgetCreatorInfoBuilder_ == null) {
|
||||
if (opInfoCase_ == 1497 &&
|
||||
if (opInfoCase_ == 1338 &&
|
||||
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();
|
||||
@@ -924,26 +932,26 @@ public final class WidgetDoBagReqOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
widgetCreatorInfoBuilder_.mergeFrom(value);
|
||||
}
|
||||
widgetCreatorInfoBuilder_.setMessage(value);
|
||||
}
|
||||
opInfoCase_ = 1497;
|
||||
opInfoCase_ = 1338;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
public Builder clearWidgetCreatorInfo() {
|
||||
if (widgetCreatorInfoBuilder_ == null) {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
opInfoCase_ = 0;
|
||||
opInfo_ = null;
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
opInfoCase_ = 0;
|
||||
opInfo_ = null;
|
||||
}
|
||||
@@ -952,33 +960,33 @@ public final class WidgetDoBagReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder getWidgetCreatorInfoBuilder() {
|
||||
return getWidgetCreatorInfoFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder() {
|
||||
if ((opInfoCase_ == 1497) && (widgetCreatorInfoBuilder_ != null)) {
|
||||
if ((opInfoCase_ == 1338) && (widgetCreatorInfoBuilder_ != null)) {
|
||||
return widgetCreatorInfoBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
if (opInfoCase_ == 1497) {
|
||||
if (opInfoCase_ == 1338) {
|
||||
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
|
||||
}
|
||||
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1497;</code>
|
||||
* <code>.WidgetCreatorInfo widget_creator_info = 1338;</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_ == 1497)) {
|
||||
if (!(opInfoCase_ == 1338)) {
|
||||
opInfo_ = emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
|
||||
}
|
||||
widgetCreatorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
@@ -988,7 +996,7 @@ public final class WidgetDoBagReqOuterClass {
|
||||
isClean());
|
||||
opInfo_ = null;
|
||||
}
|
||||
opInfoCase_ = 1497;
|
||||
opInfoCase_ = 1338;
|
||||
onChanged();;
|
||||
return widgetCreatorInfoBuilder_;
|
||||
}
|
||||
@@ -1061,9 +1069,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\300\006 \001(\0132\031.WidgetCreateLo" +
|
||||
"cationInfoH\000\0222\n\023widget_creator_info\030\331\013 \001" +
|
||||
"\231\001\n\016WidgetDoBagReq\022\023\n\013material_id\030\013 \001(\r\022" +
|
||||
"3\n\rlocation_info\030\262\003 \001(\0132\031.WidgetCreateLo" +
|
||||
"cationInfoH\000\0222\n\023widget_creator_info\030\272\n \001" +
|
||||
"(\0132\022.WidgetCreatorInfoH\000B\t\n\007op_infoB\033\n\031e" +
|
||||
"mu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user