mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 02:13:39 +08:00
update gc 3.4 (#2041)
* update 3.4 * update3.4 * update 3.4 * update 3.4 * Add files via upload * Delete SetPropCommand.java * update 3.4 area id * update version * exchange cmdid * exchange cmdid * exchange cmdid * my fault * update AiSyncInfo
This commit is contained in:
committed by
GitHub
Unverified
parent
39b4aa1387
commit
71a1e31d37
+314
-201
@@ -19,68 +19,58 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 material_id = 4;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
int getMaterialId();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return A list containing the tagList.
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.WidgetSlotTagOuterClass.WidgetSlotTag> getTagListList();
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return The count of tagList.
|
||||
*/
|
||||
int getTagListCount();
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The tagList at the given index.
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetSlotTagOuterClass.WidgetSlotTag getTagList(int index);
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return A list containing the enum numeric values on the wire for tagList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer>
|
||||
getTagListValueList();
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The enum numeric value on the wire of tagList at the given index.
|
||||
*/
|
||||
int getTagListValue(int index);
|
||||
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 materialId = 12;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
int getMaterialId();
|
||||
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return The enum numeric value on the wire for op.
|
||||
*/
|
||||
int getOpValue();
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return The op.
|
||||
*/
|
||||
emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp getOp();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4261;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetWidgetSlotRsp}
|
||||
*/
|
||||
public static final class SetWidgetSlotRsp extends
|
||||
@@ -128,23 +118,12 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
case 40: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
|
||||
materialId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
op_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 56: {
|
||||
int rawValue = input.readEnum();
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
tagList_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
@@ -153,7 +132,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
tagList_.add(rawValue);
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 58: {
|
||||
int length = input.readRawVarint32();
|
||||
int oldLimit = input.pushLimit(length);
|
||||
while(input.getBytesUntilLimit() > 0) {
|
||||
@@ -167,6 +146,17 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
input.popLimit(oldLimit);
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
op_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
|
||||
materialId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -202,29 +192,138 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp.class, emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MATERIAL_ID_FIELD_NUMBER = 4;
|
||||
private int materialId_;
|
||||
/**
|
||||
* <code>uint32 material_id = 4;</code>
|
||||
* @return The materialId.
|
||||
* Protobuf enum {@code SetWidgetSlotRsp.KDEJOBDFODP}
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMaterialId() {
|
||||
return materialId_;
|
||||
public enum KDEJOBDFODP
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 4284;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 4284),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final KDEJOBDFODP DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 4284;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 4284;
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final int DCDNILFDFLB_VALUE = 0;
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
public static final int NNBKOLMPOEA_VALUE = 1;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"Can't get the number of an unknown enum value.");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
* @deprecated Use {@link #forNumber(int)} instead.
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
public static KDEJOBDFODP valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
*/
|
||||
public static KDEJOBDFODP forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 4284: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<KDEJOBDFODP>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
KDEJOBDFODP> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<KDEJOBDFODP>() {
|
||||
public KDEJOBDFODP findValueByNumber(int number) {
|
||||
return KDEJOBDFODP.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||
getValueDescriptor() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalStateException(
|
||||
"Can't get the descriptor of an unrecognized enum value.");
|
||||
}
|
||||
return getDescriptor().getValues().get(index);
|
||||
}
|
||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptorForType() {
|
||||
return getDescriptor();
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final KDEJOBDFODP[] VALUES = getStaticValuesArray();
|
||||
private static KDEJOBDFODP[] getStaticValuesArray() {
|
||||
return new KDEJOBDFODP[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
|
||||
};
|
||||
}
|
||||
public static KDEJOBDFODP valueOf(
|
||||
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
if (desc.getType() != getDescriptor()) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"EnumValueDescriptor is not for this type.");
|
||||
}
|
||||
if (desc.getIndex() == -1) {
|
||||
return UNRECOGNIZED;
|
||||
}
|
||||
return VALUES[desc.getIndex()];
|
||||
}
|
||||
|
||||
private final int index;
|
||||
private final int value;
|
||||
|
||||
private KDEJOBDFODP(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:SetWidgetSlotRsp.KDEJOBDFODP)
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 1;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int TAG_LIST_FIELD_NUMBER = 15;
|
||||
public static final int TAGLIST_FIELD_NUMBER = 7;
|
||||
private java.util.List<java.lang.Integer> tagList_;
|
||||
private static final com.google.protobuf.Internal.ListAdapter.Converter<
|
||||
java.lang.Integer, emu.grasscutter.net.proto.WidgetSlotTagOuterClass.WidgetSlotTag> tagList_converter_ =
|
||||
@@ -237,7 +336,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
};
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return A list containing the tagList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -246,7 +345,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
java.lang.Integer, emu.grasscutter.net.proto.WidgetSlotTagOuterClass.WidgetSlotTag>(tagList_, tagList_converter_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return The count of tagList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -254,7 +353,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return tagList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The tagList at the given index.
|
||||
*/
|
||||
@@ -263,7 +362,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return tagList_converter_.convert(tagList_.get(index));
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return A list containing the enum numeric values on the wire for tagList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -272,7 +371,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return tagList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The enum numeric value on the wire of tagList at the given index.
|
||||
*/
|
||||
@@ -282,17 +381,39 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
private int tagListMemoizedSerializedSize;
|
||||
|
||||
public static final int OP_FIELD_NUMBER = 5;
|
||||
public static final int RETCODE_FIELD_NUMBER = 5;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int MATERIALID_FIELD_NUMBER = 12;
|
||||
private int materialId_;
|
||||
/**
|
||||
* <code>uint32 materialId = 12;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMaterialId() {
|
||||
return materialId_;
|
||||
}
|
||||
|
||||
public static final int OP_FIELD_NUMBER = 9;
|
||||
private int op_;
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return The enum numeric value on the wire for op.
|
||||
*/
|
||||
@java.lang.Override public int getOpValue() {
|
||||
return op_;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return The op.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp getOp() {
|
||||
@@ -317,21 +438,21 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(1, retcode_);
|
||||
}
|
||||
if (materialId_ != 0) {
|
||||
output.writeUInt32(4, materialId_);
|
||||
}
|
||||
if (op_ != emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp.WIDGET_SLOT_OP_ATTACH.getNumber()) {
|
||||
output.writeEnum(5, op_);
|
||||
output.writeInt32(5, retcode_);
|
||||
}
|
||||
if (getTagListList().size() > 0) {
|
||||
output.writeUInt32NoTag(122);
|
||||
output.writeUInt32NoTag(58);
|
||||
output.writeUInt32NoTag(tagListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < tagList_.size(); i++) {
|
||||
output.writeEnumNoTag(tagList_.get(i));
|
||||
}
|
||||
if (op_ != emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp.WIDGET_SLOT_OP_ATTACH.getNumber()) {
|
||||
output.writeEnum(9, op_);
|
||||
}
|
||||
if (materialId_ != 0) {
|
||||
output.writeUInt32(12, materialId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -343,15 +464,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, retcode_);
|
||||
}
|
||||
if (materialId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, materialId_);
|
||||
}
|
||||
if (op_ != emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp.WIDGET_SLOT_OP_ATTACH.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(5, op_);
|
||||
.computeInt32Size(5, retcode_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
@@ -365,6 +478,14 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
.computeUInt32SizeNoTag(dataSize);
|
||||
}tagListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (op_ != emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp.WIDGET_SLOT_OP_ATTACH.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(9, op_);
|
||||
}
|
||||
if (materialId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, materialId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -380,11 +501,11 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp other = (emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp) obj;
|
||||
|
||||
if (getMaterialId()
|
||||
!= other.getMaterialId()) return false;
|
||||
if (!tagList_.equals(other.tagList_)) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!tagList_.equals(other.tagList_)) return false;
|
||||
if (getMaterialId()
|
||||
!= other.getMaterialId()) return false;
|
||||
if (op_ != other.op_) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
@@ -397,14 +518,14 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + MATERIAL_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMaterialId();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
if (getTagListCount() > 0) {
|
||||
hash = (37 * hash) + TAG_LIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + TAGLIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + tagList_.hashCode();
|
||||
}
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + MATERIALID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getMaterialId();
|
||||
hash = (37 * hash) + OP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + op_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -503,16 +624,6 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 4261;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetWidgetSlotRsp}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -550,12 +661,12 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
materialId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
tagList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
retcode_ = 0;
|
||||
|
||||
materialId_ = 0;
|
||||
|
||||
op_ = 0;
|
||||
|
||||
return this;
|
||||
@@ -585,13 +696,13 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
public emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp result = new emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.materialId_ = materialId_;
|
||||
result.retcode_ = retcode_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
tagList_ = java.util.Collections.unmodifiableList(tagList_);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.tagList_ = tagList_;
|
||||
result.retcode_ = retcode_;
|
||||
result.materialId_ = materialId_;
|
||||
result.op_ = op_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -641,12 +752,6 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.SetWidgetSlotRspOuterClass.SetWidgetSlotRsp.getDefaultInstance()) return this;
|
||||
if (other.getMaterialId() != 0) {
|
||||
setMaterialId(other.getMaterialId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (!other.tagList_.isEmpty()) {
|
||||
if (tagList_.isEmpty()) {
|
||||
tagList_ = other.tagList_;
|
||||
@@ -657,6 +762,12 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getMaterialId() != 0) {
|
||||
setMaterialId(other.getMaterialId());
|
||||
}
|
||||
if (other.op_ != 0) {
|
||||
setOpValue(other.getOpValue());
|
||||
}
|
||||
@@ -690,68 +801,6 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int materialId_ ;
|
||||
/**
|
||||
* <code>uint32 material_id = 4;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMaterialId() {
|
||||
return materialId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 material_id = 4;</code>
|
||||
* @param value The materialId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMaterialId(int value) {
|
||||
|
||||
materialId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 material_id = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMaterialId() {
|
||||
|
||||
materialId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<java.lang.Integer> tagList_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureTagListIsMutable() {
|
||||
@@ -761,7 +810,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return A list containing the tagList.
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.WidgetSlotTagOuterClass.WidgetSlotTag> getTagListList() {
|
||||
@@ -769,14 +818,14 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
java.lang.Integer, emu.grasscutter.net.proto.WidgetSlotTagOuterClass.WidgetSlotTag>(tagList_, tagList_converter_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return The count of tagList.
|
||||
*/
|
||||
public int getTagListCount() {
|
||||
return tagList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The tagList at the given index.
|
||||
*/
|
||||
@@ -784,7 +833,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return tagList_converter_.convert(tagList_.get(index));
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The tagList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -800,7 +849,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param value The tagList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -814,7 +863,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param values The tagList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -828,7 +877,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTagList() {
|
||||
@@ -838,7 +887,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @return A list containing the enum numeric values on the wire for tagList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -846,7 +895,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return java.util.Collections.unmodifiableList(tagList_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The enum numeric value on the wire of tagList at the given index.
|
||||
*/
|
||||
@@ -854,7 +903,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return tagList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param index The index of the value to return.
|
||||
* @return The enum numeric value on the wire of tagList at the given index.
|
||||
* @return This builder for chaining.
|
||||
@@ -867,7 +916,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param value The enum numeric value on the wire for tagList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -878,7 +927,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .WidgetSlotTag tag_list = 15;</code>
|
||||
* <code>repeated .WidgetSlotTag tagList = 7;</code>
|
||||
* @param values The enum numeric values on the wire for tagList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -892,16 +941,78 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int materialId_ ;
|
||||
/**
|
||||
* <code>uint32 materialId = 12;</code>
|
||||
* @return The materialId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMaterialId() {
|
||||
return materialId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 materialId = 12;</code>
|
||||
* @param value The materialId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setMaterialId(int value) {
|
||||
|
||||
materialId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 materialId = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMaterialId() {
|
||||
|
||||
materialId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int op_ = 0;
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return The enum numeric value on the wire for op.
|
||||
*/
|
||||
@java.lang.Override public int getOpValue() {
|
||||
return op_;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @param value The enum numeric value on the wire for op to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -912,7 +1023,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return The op.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -922,7 +1033,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return result == null ? emu.grasscutter.net.proto.WidgetSlotOpOuterClass.WidgetSlotOp.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @param value The op to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -936,7 +1047,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.WidgetSlotOp op = 5;</code>
|
||||
* <code>.WidgetSlotOp op = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOp() {
|
||||
@@ -1013,10 +1124,12 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026SetWidgetSlotRsp.proto\032\022WidgetSlotOp.p" +
|
||||
"roto\032\023WidgetSlotTag.proto\"u\n\020SetWidgetSl" +
|
||||
"otRsp\022\023\n\013material_id\030\004 \001(\r\022\017\n\007retcode\030\001 " +
|
||||
"\001(\005\022 \n\010tag_list\030\017 \003(\0162\016.WidgetSlotTag\022\031\n" +
|
||||
"\002op\030\005 \001(\0162\r.WidgetSlotOpB\033\n\031emu.grasscut" +
|
||||
"roto\032\023WidgetSlotTag.proto\"\304\001\n\020SetWidgetS" +
|
||||
"lotRsp\022\037\n\007tagList\030\007 \003(\0162\016.WidgetSlotTag\022" +
|
||||
"\017\n\007retcode\030\005 \001(\005\022\022\n\nmaterialId\030\014 \001(\r\022\031\n\002" +
|
||||
"op\030\t \001(\0162\r.WidgetSlotOp\"O\n\013KDEJOBDFODP\022\010" +
|
||||
"\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\274!\022\017\n\013DCDNILFDFL" +
|
||||
"B\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grasscut" +
|
||||
"ter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -1030,7 +1143,7 @@ public final class SetWidgetSlotRspOuterClass {
|
||||
internal_static_SetWidgetSlotRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SetWidgetSlotRsp_descriptor,
|
||||
new java.lang.String[] { "MaterialId", "Retcode", "TagList", "Op", });
|
||||
new java.lang.String[] { "TagList", "Retcode", "MaterialId", "Op", });
|
||||
emu.grasscutter.net.proto.WidgetSlotOpOuterClass.getDescriptor();
|
||||
emu.grasscutter.net.proto.WidgetSlotTagOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user