Packet Pack: Furniture (#146)

* Packet Pack: Furniture
This commit is contained in:
Nazrin 2024-09-22 13:42:01 -07:00 committed by GitHub
parent b3eaa850ea
commit c641715713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 109 additions and 13861 deletions

View File

@ -1,859 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureCurModuleArrangeCountNotify.proto
package emu.grasscutter.net.proto;
public final class FurnitureCurModuleArrangeCountNotifyOuterClass {
private FurnitureCurModuleArrangeCountNotifyOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureCurModuleArrangeCountNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureCurModuleArrangeCountNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>
getFurnitureArrangeCountListList();
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getFurnitureArrangeCountList(int index);
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
int getFurnitureArrangeCountListCount();
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>
getFurnitureArrangeCountListOrBuilderList();
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getFurnitureArrangeCountListOrBuilder(
int index);
}
/**
* <pre>
* CmdId: 4498
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code FurnitureCurModuleArrangeCountNotify}
*/
public static final class FurnitureCurModuleArrangeCountNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureCurModuleArrangeCountNotify)
FurnitureCurModuleArrangeCountNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureCurModuleArrangeCountNotify.newBuilder() to construct.
private FurnitureCurModuleArrangeCountNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureCurModuleArrangeCountNotify() {
furnitureArrangeCountList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureCurModuleArrangeCountNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureCurModuleArrangeCountNotify(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 106: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureArrangeCountList_ = new java.util.ArrayList<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>();
mutable_bitField0_ |= 0x00000001;
}
furnitureArrangeCountList_.add(
input.readMessage(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureArrangeCountList_ = java.util.Collections.unmodifiableList(furnitureArrangeCountList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.internal_static_FurnitureCurModuleArrangeCountNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.internal_static_FurnitureCurModuleArrangeCountNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.class, emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.Builder.class);
}
public static final int FURNITURE_ARRANGE_COUNT_LIST_FIELD_NUMBER = 13;
private java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> furnitureArrangeCountList_;
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> getFurnitureArrangeCountListList() {
return furnitureArrangeCountList_;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>
getFurnitureArrangeCountListOrBuilderList() {
return furnitureArrangeCountList_;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
@java.lang.Override
public int getFurnitureArrangeCountListCount() {
return furnitureArrangeCountList_.size();
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getFurnitureArrangeCountList(int index) {
return furnitureArrangeCountList_.get(index);
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getFurnitureArrangeCountListOrBuilder(
int index) {
return furnitureArrangeCountList_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < furnitureArrangeCountList_.size(); i++) {
output.writeMessage(13, furnitureArrangeCountList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < furnitureArrangeCountList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, furnitureArrangeCountList_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify other = (emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify) obj;
if (!getFurnitureArrangeCountListList()
.equals(other.getFurnitureArrangeCountListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFurnitureArrangeCountListCount() > 0) {
hash = (37 * hash) + FURNITURE_ARRANGE_COUNT_LIST_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureArrangeCountListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* CmdId: 4498
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code FurnitureCurModuleArrangeCountNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureCurModuleArrangeCountNotify)
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.internal_static_FurnitureCurModuleArrangeCountNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.internal_static_FurnitureCurModuleArrangeCountNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.class, emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFurnitureArrangeCountListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (furnitureArrangeCountListBuilder_ == null) {
furnitureArrangeCountList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
furnitureArrangeCountListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.internal_static_FurnitureCurModuleArrangeCountNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify build() {
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify buildPartial() {
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify result = new emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify(this);
int from_bitField0_ = bitField0_;
if (furnitureArrangeCountListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
furnitureArrangeCountList_ = java.util.Collections.unmodifiableList(furnitureArrangeCountList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.furnitureArrangeCountList_ = furnitureArrangeCountList_;
} else {
result.furnitureArrangeCountList_ = furnitureArrangeCountListBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify other) {
if (other == emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.getDefaultInstance()) return this;
if (furnitureArrangeCountListBuilder_ == null) {
if (!other.furnitureArrangeCountList_.isEmpty()) {
if (furnitureArrangeCountList_.isEmpty()) {
furnitureArrangeCountList_ = other.furnitureArrangeCountList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.addAll(other.furnitureArrangeCountList_);
}
onChanged();
}
} else {
if (!other.furnitureArrangeCountList_.isEmpty()) {
if (furnitureArrangeCountListBuilder_.isEmpty()) {
furnitureArrangeCountListBuilder_.dispose();
furnitureArrangeCountListBuilder_ = null;
furnitureArrangeCountList_ = other.furnitureArrangeCountList_;
bitField0_ = (bitField0_ & ~0x00000001);
furnitureArrangeCountListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFurnitureArrangeCountListFieldBuilder() : null;
} else {
furnitureArrangeCountListBuilder_.addAllMessages(other.furnitureArrangeCountList_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> furnitureArrangeCountList_ =
java.util.Collections.emptyList();
private void ensureFurnitureArrangeCountListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
furnitureArrangeCountList_ = new java.util.ArrayList<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair>(furnitureArrangeCountList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder> furnitureArrangeCountListBuilder_;
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> getFurnitureArrangeCountListList() {
if (furnitureArrangeCountListBuilder_ == null) {
return java.util.Collections.unmodifiableList(furnitureArrangeCountList_);
} else {
return furnitureArrangeCountListBuilder_.getMessageList();
}
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public int getFurnitureArrangeCountListCount() {
if (furnitureArrangeCountListBuilder_ == null) {
return furnitureArrangeCountList_.size();
} else {
return furnitureArrangeCountListBuilder_.getCount();
}
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getFurnitureArrangeCountList(int index) {
if (furnitureArrangeCountListBuilder_ == null) {
return furnitureArrangeCountList_.get(index);
} else {
return furnitureArrangeCountListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder setFurnitureArrangeCountList(
int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
if (furnitureArrangeCountListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.set(index, value);
onChanged();
} else {
furnitureArrangeCountListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder setFurnitureArrangeCountList(
int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
if (furnitureArrangeCountListBuilder_ == null) {
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.set(index, builderForValue.build());
onChanged();
} else {
furnitureArrangeCountListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder addFurnitureArrangeCountList(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
if (furnitureArrangeCountListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.add(value);
onChanged();
} else {
furnitureArrangeCountListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder addFurnitureArrangeCountList(
int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair value) {
if (furnitureArrangeCountListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.add(index, value);
onChanged();
} else {
furnitureArrangeCountListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder addFurnitureArrangeCountList(
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
if (furnitureArrangeCountListBuilder_ == null) {
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.add(builderForValue.build());
onChanged();
} else {
furnitureArrangeCountListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder addFurnitureArrangeCountList(
int index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder builderForValue) {
if (furnitureArrangeCountListBuilder_ == null) {
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.add(index, builderForValue.build());
onChanged();
} else {
furnitureArrangeCountListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder addAllFurnitureArrangeCountList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair> values) {
if (furnitureArrangeCountListBuilder_ == null) {
ensureFurnitureArrangeCountListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, furnitureArrangeCountList_);
onChanged();
} else {
furnitureArrangeCountListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder clearFurnitureArrangeCountList() {
if (furnitureArrangeCountListBuilder_ == null) {
furnitureArrangeCountList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
furnitureArrangeCountListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public Builder removeFurnitureArrangeCountList(int index) {
if (furnitureArrangeCountListBuilder_ == null) {
ensureFurnitureArrangeCountListIsMutable();
furnitureArrangeCountList_.remove(index);
onChanged();
} else {
furnitureArrangeCountListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder getFurnitureArrangeCountListBuilder(
int index) {
return getFurnitureArrangeCountListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder getFurnitureArrangeCountListOrBuilder(
int index) {
if (furnitureArrangeCountListBuilder_ == null) {
return furnitureArrangeCountList_.get(index); } else {
return furnitureArrangeCountListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>
getFurnitureArrangeCountListOrBuilderList() {
if (furnitureArrangeCountListBuilder_ != null) {
return furnitureArrangeCountListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(furnitureArrangeCountList_);
}
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder addFurnitureArrangeCountListBuilder() {
return getFurnitureArrangeCountListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance());
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder addFurnitureArrangeCountListBuilder(
int index) {
return getFurnitureArrangeCountListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance());
}
/**
* <code>repeated .Uint32Pair furniture_arrange_count_list = 13;</code>
*/
public java.util.List<emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder>
getFurnitureArrangeCountListBuilderList() {
return getFurnitureArrangeCountListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>
getFurnitureArrangeCountListFieldBuilder() {
if (furnitureArrangeCountListBuilder_ == null) {
furnitureArrangeCountListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder>(
furnitureArrangeCountList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
furnitureArrangeCountList_ = null;
}
return furnitureArrangeCountListBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureCurModuleArrangeCountNotify)
}
// @@protoc_insertion_point(class_scope:FurnitureCurModuleArrangeCountNotify)
private static final emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify();
}
public static emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureCurModuleArrangeCountNotify>
PARSER = new com.google.protobuf.AbstractParser<FurnitureCurModuleArrangeCountNotify>() {
@java.lang.Override
public FurnitureCurModuleArrangeCountNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureCurModuleArrangeCountNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureCurModuleArrangeCountNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureCurModuleArrangeCountNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureCurModuleArrangeCountNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureCurModuleArrangeCountNotify_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n*FurnitureCurModuleArrangeCountNotify.p" +
"roto\032\020Uint32Pair.proto\"Y\n$FurnitureCurMo" +
"duleArrangeCountNotify\0221\n\034furniture_arra" +
"nge_count_list\030\r \003(\0132\013.Uint32PairB\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.Uint32PairOuterClass.getDescriptor(),
});
internal_static_FurnitureCurModuleArrangeCountNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureCurModuleArrangeCountNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureCurModuleArrangeCountNotify_descriptor,
new java.lang.String[] { "FurnitureArrangeCountList", });
emu.grasscutter.net.proto.Uint32PairOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,888 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureMakeData.proto
package emu.grasscutter.net.proto;
public final class FurnitureMakeDataOuterClass {
private FurnitureMakeDataOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureMakeDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureMakeData)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 index = 15;</code>
* @return The index.
*/
int getIndex();
/**
* <code>uint32 dur_time = 1;</code>
* @return The durTime.
*/
int getDurTime();
/**
* <code>fixed32 begin_time = 11;</code>
* @return The beginTime.
*/
int getBeginTime();
/**
* <code>fixed32 accelerate_time = 6;</code>
* @return The accelerateTime.
*/
int getAccelerateTime();
/**
* <code>uint32 avatar_id = 2;</code>
* @return The avatarId.
*/
int getAvatarId();
/**
* <code>uint32 make_id = 5;</code>
* @return The makeId.
*/
int getMakeId();
}
/**
* Protobuf type {@code FurnitureMakeData}
*/
public static final class FurnitureMakeData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureMakeData)
FurnitureMakeDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureMakeData.newBuilder() to construct.
private FurnitureMakeData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureMakeData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureMakeData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureMakeData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
durTime_ = input.readUInt32();
break;
}
case 16: {
avatarId_ = input.readUInt32();
break;
}
case 40: {
makeId_ = input.readUInt32();
break;
}
case 53: {
accelerateTime_ = input.readFixed32();
break;
}
case 93: {
beginTime_ = input.readFixed32();
break;
}
case 120: {
index_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.internal_static_FurnitureMakeData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.internal_static_FurnitureMakeData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.class, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder.class);
}
public static final int INDEX_FIELD_NUMBER = 15;
private int index_;
/**
* <code>uint32 index = 15;</code>
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
public static final int DUR_TIME_FIELD_NUMBER = 1;
private int durTime_;
/**
* <code>uint32 dur_time = 1;</code>
* @return The durTime.
*/
@java.lang.Override
public int getDurTime() {
return durTime_;
}
public static final int BEGIN_TIME_FIELD_NUMBER = 11;
private int beginTime_;
/**
* <code>fixed32 begin_time = 11;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
public static final int ACCELERATE_TIME_FIELD_NUMBER = 6;
private int accelerateTime_;
/**
* <code>fixed32 accelerate_time = 6;</code>
* @return The accelerateTime.
*/
@java.lang.Override
public int getAccelerateTime() {
return accelerateTime_;
}
public static final int AVATAR_ID_FIELD_NUMBER = 2;
private int avatarId_;
/**
* <code>uint32 avatar_id = 2;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
public static final int MAKE_ID_FIELD_NUMBER = 5;
private int makeId_;
/**
* <code>uint32 make_id = 5;</code>
* @return The makeId.
*/
@java.lang.Override
public int getMakeId() {
return makeId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (durTime_ != 0) {
output.writeUInt32(1, durTime_);
}
if (avatarId_ != 0) {
output.writeUInt32(2, avatarId_);
}
if (makeId_ != 0) {
output.writeUInt32(5, makeId_);
}
if (accelerateTime_ != 0) {
output.writeFixed32(6, accelerateTime_);
}
if (beginTime_ != 0) {
output.writeFixed32(11, beginTime_);
}
if (index_ != 0) {
output.writeUInt32(15, index_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (durTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, durTime_);
}
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, avatarId_);
}
if (makeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, makeId_);
}
if (accelerateTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(6, accelerateTime_);
}
if (beginTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(11, beginTime_);
}
if (index_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, index_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData other = (emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData) obj;
if (getIndex()
!= other.getIndex()) return false;
if (getDurTime()
!= other.getDurTime()) return false;
if (getBeginTime()
!= other.getBeginTime()) return false;
if (getAccelerateTime()
!= other.getAccelerateTime()) return false;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (getMakeId()
!= other.getMakeId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex();
hash = (37 * hash) + DUR_TIME_FIELD_NUMBER;
hash = (53 * hash) + getDurTime();
hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getBeginTime();
hash = (37 * hash) + ACCELERATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getAccelerateTime();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
hash = (37 * hash) + MAKE_ID_FIELD_NUMBER;
hash = (53 * hash) + getMakeId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code FurnitureMakeData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureMakeData)
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.internal_static_FurnitureMakeData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.internal_static_FurnitureMakeData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.class, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
index_ = 0;
durTime_ = 0;
beginTime_ = 0;
accelerateTime_ = 0;
avatarId_ = 0;
makeId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.internal_static_FurnitureMakeData_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData build() {
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData buildPartial() {
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData result = new emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData(this);
result.index_ = index_;
result.durTime_ = durTime_;
result.beginTime_ = beginTime_;
result.accelerateTime_ = accelerateTime_;
result.avatarId_ = avatarId_;
result.makeId_ = makeId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData other) {
if (other == emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.getDefaultInstance()) return this;
if (other.getIndex() != 0) {
setIndex(other.getIndex());
}
if (other.getDurTime() != 0) {
setDurTime(other.getDurTime());
}
if (other.getBeginTime() != 0) {
setBeginTime(other.getBeginTime());
}
if (other.getAccelerateTime() != 0) {
setAccelerateTime(other.getAccelerateTime());
}
if (other.getAvatarId() != 0) {
setAvatarId(other.getAvatarId());
}
if (other.getMakeId() != 0) {
setMakeId(other.getMakeId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int index_ ;
/**
* <code>uint32 index = 15;</code>
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
/**
* <code>uint32 index = 15;</code>
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
}
/**
* <code>uint32 index = 15;</code>
* @return This builder for chaining.
*/
public Builder clearIndex() {
index_ = 0;
onChanged();
return this;
}
private int durTime_ ;
/**
* <code>uint32 dur_time = 1;</code>
* @return The durTime.
*/
@java.lang.Override
public int getDurTime() {
return durTime_;
}
/**
* <code>uint32 dur_time = 1;</code>
* @param value The durTime to set.
* @return This builder for chaining.
*/
public Builder setDurTime(int value) {
durTime_ = value;
onChanged();
return this;
}
/**
* <code>uint32 dur_time = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDurTime() {
durTime_ = 0;
onChanged();
return this;
}
private int beginTime_ ;
/**
* <code>fixed32 begin_time = 11;</code>
* @return The beginTime.
*/
@java.lang.Override
public int getBeginTime() {
return beginTime_;
}
/**
* <code>fixed32 begin_time = 11;</code>
* @param value The beginTime to set.
* @return This builder for chaining.
*/
public Builder setBeginTime(int value) {
beginTime_ = value;
onChanged();
return this;
}
/**
* <code>fixed32 begin_time = 11;</code>
* @return This builder for chaining.
*/
public Builder clearBeginTime() {
beginTime_ = 0;
onChanged();
return this;
}
private int accelerateTime_ ;
/**
* <code>fixed32 accelerate_time = 6;</code>
* @return The accelerateTime.
*/
@java.lang.Override
public int getAccelerateTime() {
return accelerateTime_;
}
/**
* <code>fixed32 accelerate_time = 6;</code>
* @param value The accelerateTime to set.
* @return This builder for chaining.
*/
public Builder setAccelerateTime(int value) {
accelerateTime_ = value;
onChanged();
return this;
}
/**
* <code>fixed32 accelerate_time = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAccelerateTime() {
accelerateTime_ = 0;
onChanged();
return this;
}
private int avatarId_ ;
/**
* <code>uint32 avatar_id = 2;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* <code>uint32 avatar_id = 2;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 avatar_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
avatarId_ = 0;
onChanged();
return this;
}
private int makeId_ ;
/**
* <code>uint32 make_id = 5;</code>
* @return The makeId.
*/
@java.lang.Override
public int getMakeId() {
return makeId_;
}
/**
* <code>uint32 make_id = 5;</code>
* @param value The makeId to set.
* @return This builder for chaining.
*/
public Builder setMakeId(int value) {
makeId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 make_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMakeId() {
makeId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureMakeData)
}
// @@protoc_insertion_point(class_scope:FurnitureMakeData)
private static final emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData();
}
public static emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureMakeData>
PARSER = new com.google.protobuf.AbstractParser<FurnitureMakeData>() {
@java.lang.Override
public FurnitureMakeData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureMakeData(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureMakeData> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureMakeData> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureMakeData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureMakeData_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027FurnitureMakeData.proto\"\205\001\n\021FurnitureM" +
"akeData\022\r\n\005index\030\017 \001(\r\022\020\n\010dur_time\030\001 \001(\r" +
"\022\022\n\nbegin_time\030\013 \001(\007\022\027\n\017accelerate_time\030" +
"\006 \001(\007\022\021\n\tavatar_id\030\002 \001(\r\022\017\n\007make_id\030\005 \001(" +
"\rB\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_FurnitureMakeData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureMakeData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureMakeData_descriptor,
new java.lang.String[] { "Index", "DurTime", "BeginTime", "AccelerateTime", "AvatarId", "MakeId", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,606 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureMakeHelpData.proto
package emu.grasscutter.net.proto;
public final class FurnitureMakeHelpDataOuterClass {
private FurnitureMakeHelpDataOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureMakeHelpDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureMakeHelpData)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 times = 2;</code>
* @return The times.
*/
int getTimes();
/**
* <code>uint32 uid = 13;</code>
* @return The uid.
*/
int getUid();
}
/**
* Protobuf type {@code FurnitureMakeHelpData}
*/
public static final class FurnitureMakeHelpData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureMakeHelpData)
FurnitureMakeHelpDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureMakeHelpData.newBuilder() to construct.
private FurnitureMakeHelpData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureMakeHelpData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureMakeHelpData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureMakeHelpData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 16: {
times_ = input.readUInt32();
break;
}
case 104: {
uid_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.internal_static_FurnitureMakeHelpData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.internal_static_FurnitureMakeHelpData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.class, emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.Builder.class);
}
public static final int TIMES_FIELD_NUMBER = 2;
private int times_;
/**
* <code>uint32 times = 2;</code>
* @return The times.
*/
@java.lang.Override
public int getTimes() {
return times_;
}
public static final int UID_FIELD_NUMBER = 13;
private int uid_;
/**
* <code>uint32 uid = 13;</code>
* @return The uid.
*/
@java.lang.Override
public int getUid() {
return uid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (times_ != 0) {
output.writeUInt32(2, times_);
}
if (uid_ != 0) {
output.writeUInt32(13, uid_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (times_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, times_);
}
if (uid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, uid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData other = (emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData) obj;
if (getTimes()
!= other.getTimes()) return false;
if (getUid()
!= other.getUid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TIMES_FIELD_NUMBER;
hash = (53 * hash) + getTimes();
hash = (37 * hash) + UID_FIELD_NUMBER;
hash = (53 * hash) + getUid();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code FurnitureMakeHelpData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureMakeHelpData)
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.internal_static_FurnitureMakeHelpData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.internal_static_FurnitureMakeHelpData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.class, emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
times_ = 0;
uid_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.internal_static_FurnitureMakeHelpData_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData build() {
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData buildPartial() {
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData result = new emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData(this);
result.times_ = times_;
result.uid_ = uid_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData other) {
if (other == emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData.getDefaultInstance()) return this;
if (other.getTimes() != 0) {
setTimes(other.getTimes());
}
if (other.getUid() != 0) {
setUid(other.getUid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int times_ ;
/**
* <code>uint32 times = 2;</code>
* @return The times.
*/
@java.lang.Override
public int getTimes() {
return times_;
}
/**
* <code>uint32 times = 2;</code>
* @param value The times to set.
* @return This builder for chaining.
*/
public Builder setTimes(int value) {
times_ = value;
onChanged();
return this;
}
/**
* <code>uint32 times = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTimes() {
times_ = 0;
onChanged();
return this;
}
private int uid_ ;
/**
* <code>uint32 uid = 13;</code>
* @return The uid.
*/
@java.lang.Override
public int getUid() {
return uid_;
}
/**
* <code>uint32 uid = 13;</code>
* @param value The uid to set.
* @return This builder for chaining.
*/
public Builder setUid(int value) {
uid_ = value;
onChanged();
return this;
}
/**
* <code>uint32 uid = 13;</code>
* @return This builder for chaining.
*/
public Builder clearUid() {
uid_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureMakeHelpData)
}
// @@protoc_insertion_point(class_scope:FurnitureMakeHelpData)
private static final emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData();
}
public static emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureMakeHelpData>
PARSER = new com.google.protobuf.AbstractParser<FurnitureMakeHelpData>() {
@java.lang.Override
public FurnitureMakeHelpData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureMakeHelpData(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureMakeHelpData> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureMakeHelpData> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeHelpDataOuterClass.FurnitureMakeHelpData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureMakeHelpData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureMakeHelpData_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033FurnitureMakeHelpData.proto\"3\n\025Furnitu" +
"reMakeHelpData\022\r\n\005times\030\002 \001(\r\022\013\n\003uid\030\r \001" +
"(\rB\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_FurnitureMakeHelpData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureMakeHelpData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureMakeHelpData_descriptor,
new java.lang.String[] { "Times", "Uid", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,607 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureMakeMakeInfo.proto
package emu.grasscutter.net.proto;
public final class FurnitureMakeMakeInfoOuterClass {
private FurnitureMakeMakeInfoOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureMakeMakeInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureMakeMakeInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 furniture_id = 13;</code>
* @return The furnitureId.
*/
int getFurnitureId();
/**
* <code>uint32 make_count = 9;</code>
* @return The makeCount.
*/
int getMakeCount();
}
/**
* Protobuf type {@code FurnitureMakeMakeInfo}
*/
public static final class FurnitureMakeMakeInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureMakeMakeInfo)
FurnitureMakeMakeInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureMakeMakeInfo.newBuilder() to construct.
private FurnitureMakeMakeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureMakeMakeInfo() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureMakeMakeInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureMakeMakeInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 72: {
makeCount_ = input.readUInt32();
break;
}
case 104: {
furnitureId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.internal_static_FurnitureMakeMakeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.internal_static_FurnitureMakeMakeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.class, emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.Builder.class);
}
public static final int FURNITURE_ID_FIELD_NUMBER = 13;
private int furnitureId_;
/**
* <code>uint32 furniture_id = 13;</code>
* @return The furnitureId.
*/
@java.lang.Override
public int getFurnitureId() {
return furnitureId_;
}
public static final int MAKE_COUNT_FIELD_NUMBER = 9;
private int makeCount_;
/**
* <code>uint32 make_count = 9;</code>
* @return The makeCount.
*/
@java.lang.Override
public int getMakeCount() {
return makeCount_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (makeCount_ != 0) {
output.writeUInt32(9, makeCount_);
}
if (furnitureId_ != 0) {
output.writeUInt32(13, furnitureId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (makeCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, makeCount_);
}
if (furnitureId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, furnitureId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo other = (emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo) obj;
if (getFurnitureId()
!= other.getFurnitureId()) return false;
if (getMakeCount()
!= other.getMakeCount()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FURNITURE_ID_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureId();
hash = (37 * hash) + MAKE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getMakeCount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code FurnitureMakeMakeInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureMakeMakeInfo)
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.internal_static_FurnitureMakeMakeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.internal_static_FurnitureMakeMakeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.class, emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
furnitureId_ = 0;
makeCount_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.internal_static_FurnitureMakeMakeInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo build() {
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo buildPartial() {
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo result = new emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo(this);
result.furnitureId_ = furnitureId_;
result.makeCount_ = makeCount_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo other) {
if (other == emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo.getDefaultInstance()) return this;
if (other.getFurnitureId() != 0) {
setFurnitureId(other.getFurnitureId());
}
if (other.getMakeCount() != 0) {
setMakeCount(other.getMakeCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int furnitureId_ ;
/**
* <code>uint32 furniture_id = 13;</code>
* @return The furnitureId.
*/
@java.lang.Override
public int getFurnitureId() {
return furnitureId_;
}
/**
* <code>uint32 furniture_id = 13;</code>
* @param value The furnitureId to set.
* @return This builder for chaining.
*/
public Builder setFurnitureId(int value) {
furnitureId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 furniture_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearFurnitureId() {
furnitureId_ = 0;
onChanged();
return this;
}
private int makeCount_ ;
/**
* <code>uint32 make_count = 9;</code>
* @return The makeCount.
*/
@java.lang.Override
public int getMakeCount() {
return makeCount_;
}
/**
* <code>uint32 make_count = 9;</code>
* @param value The makeCount to set.
* @return This builder for chaining.
*/
public Builder setMakeCount(int value) {
makeCount_ = value;
onChanged();
return this;
}
/**
* <code>uint32 make_count = 9;</code>
* @return This builder for chaining.
*/
public Builder clearMakeCount() {
makeCount_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureMakeMakeInfo)
}
// @@protoc_insertion_point(class_scope:FurnitureMakeMakeInfo)
private static final emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo();
}
public static emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureMakeMakeInfo>
PARSER = new com.google.protobuf.AbstractParser<FurnitureMakeMakeInfo>() {
@java.lang.Override
public FurnitureMakeMakeInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureMakeMakeInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureMakeMakeInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureMakeMakeInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeMakeInfoOuterClass.FurnitureMakeMakeInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureMakeMakeInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureMakeMakeInfo_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033FurnitureMakeMakeInfo.proto\"A\n\025Furnitu" +
"reMakeMakeInfo\022\024\n\014furniture_id\030\r \001(\r\022\022\n\n" +
"make_count\030\t \001(\rB\033\n\031emu.grasscutter.net." +
"protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_FurnitureMakeMakeInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureMakeMakeInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureMakeMakeInfo_descriptor,
new java.lang.String[] { "FurnitureId", "MakeCount", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,845 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureMakeSlot.proto
package emu.grasscutter.net.proto;
public final class FurnitureMakeSlotOuterClass {
private FurnitureMakeSlotOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureMakeSlotOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureMakeSlot)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
java.util.List<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData>
getFurnitureMakeDataListList();
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData getFurnitureMakeDataList(int index);
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
int getFurnitureMakeDataListCount();
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder>
getFurnitureMakeDataListOrBuilderList();
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder getFurnitureMakeDataListOrBuilder(
int index);
}
/**
* Protobuf type {@code FurnitureMakeSlot}
*/
public static final class FurnitureMakeSlot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureMakeSlot)
FurnitureMakeSlotOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureMakeSlot.newBuilder() to construct.
private FurnitureMakeSlot(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureMakeSlot() {
furnitureMakeDataList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureMakeSlot();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureMakeSlot(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 114: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureMakeDataList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData>();
mutable_bitField0_ |= 0x00000001;
}
furnitureMakeDataList_.add(
input.readMessage(emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureMakeDataList_ = java.util.Collections.unmodifiableList(furnitureMakeDataList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.internal_static_FurnitureMakeSlot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.internal_static_FurnitureMakeSlot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.class, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder.class);
}
public static final int FURNITURE_MAKE_DATA_LIST_FIELD_NUMBER = 14;
private java.util.List<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData> furnitureMakeDataList_;
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData> getFurnitureMakeDataListList() {
return furnitureMakeDataList_;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder>
getFurnitureMakeDataListOrBuilderList() {
return furnitureMakeDataList_;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
@java.lang.Override
public int getFurnitureMakeDataListCount() {
return furnitureMakeDataList_.size();
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData getFurnitureMakeDataList(int index) {
return furnitureMakeDataList_.get(index);
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder getFurnitureMakeDataListOrBuilder(
int index) {
return furnitureMakeDataList_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < furnitureMakeDataList_.size(); i++) {
output.writeMessage(14, furnitureMakeDataList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < furnitureMakeDataList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, furnitureMakeDataList_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot other = (emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot) obj;
if (!getFurnitureMakeDataListList()
.equals(other.getFurnitureMakeDataListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFurnitureMakeDataListCount() > 0) {
hash = (37 * hash) + FURNITURE_MAKE_DATA_LIST_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureMakeDataListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code FurnitureMakeSlot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureMakeSlot)
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.internal_static_FurnitureMakeSlot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.internal_static_FurnitureMakeSlot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.class, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFurnitureMakeDataListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (furnitureMakeDataListBuilder_ == null) {
furnitureMakeDataList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
furnitureMakeDataListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.internal_static_FurnitureMakeSlot_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot build() {
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot buildPartial() {
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot result = new emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot(this);
int from_bitField0_ = bitField0_;
if (furnitureMakeDataListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
furnitureMakeDataList_ = java.util.Collections.unmodifiableList(furnitureMakeDataList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.furnitureMakeDataList_ = furnitureMakeDataList_;
} else {
result.furnitureMakeDataList_ = furnitureMakeDataListBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot other) {
if (other == emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.getDefaultInstance()) return this;
if (furnitureMakeDataListBuilder_ == null) {
if (!other.furnitureMakeDataList_.isEmpty()) {
if (furnitureMakeDataList_.isEmpty()) {
furnitureMakeDataList_ = other.furnitureMakeDataList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.addAll(other.furnitureMakeDataList_);
}
onChanged();
}
} else {
if (!other.furnitureMakeDataList_.isEmpty()) {
if (furnitureMakeDataListBuilder_.isEmpty()) {
furnitureMakeDataListBuilder_.dispose();
furnitureMakeDataListBuilder_ = null;
furnitureMakeDataList_ = other.furnitureMakeDataList_;
bitField0_ = (bitField0_ & ~0x00000001);
furnitureMakeDataListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFurnitureMakeDataListFieldBuilder() : null;
} else {
furnitureMakeDataListBuilder_.addAllMessages(other.furnitureMakeDataList_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData> furnitureMakeDataList_ =
java.util.Collections.emptyList();
private void ensureFurnitureMakeDataListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
furnitureMakeDataList_ = new java.util.ArrayList<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData>(furnitureMakeDataList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder> furnitureMakeDataListBuilder_;
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public java.util.List<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData> getFurnitureMakeDataListList() {
if (furnitureMakeDataListBuilder_ == null) {
return java.util.Collections.unmodifiableList(furnitureMakeDataList_);
} else {
return furnitureMakeDataListBuilder_.getMessageList();
}
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public int getFurnitureMakeDataListCount() {
if (furnitureMakeDataListBuilder_ == null) {
return furnitureMakeDataList_.size();
} else {
return furnitureMakeDataListBuilder_.getCount();
}
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData getFurnitureMakeDataList(int index) {
if (furnitureMakeDataListBuilder_ == null) {
return furnitureMakeDataList_.get(index);
} else {
return furnitureMakeDataListBuilder_.getMessage(index);
}
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder setFurnitureMakeDataList(
int index, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData value) {
if (furnitureMakeDataListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.set(index, value);
onChanged();
} else {
furnitureMakeDataListBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder setFurnitureMakeDataList(
int index, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder builderForValue) {
if (furnitureMakeDataListBuilder_ == null) {
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.set(index, builderForValue.build());
onChanged();
} else {
furnitureMakeDataListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder addFurnitureMakeDataList(emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData value) {
if (furnitureMakeDataListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.add(value);
onChanged();
} else {
furnitureMakeDataListBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder addFurnitureMakeDataList(
int index, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData value) {
if (furnitureMakeDataListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.add(index, value);
onChanged();
} else {
furnitureMakeDataListBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder addFurnitureMakeDataList(
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder builderForValue) {
if (furnitureMakeDataListBuilder_ == null) {
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.add(builderForValue.build());
onChanged();
} else {
furnitureMakeDataListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder addFurnitureMakeDataList(
int index, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder builderForValue) {
if (furnitureMakeDataListBuilder_ == null) {
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.add(index, builderForValue.build());
onChanged();
} else {
furnitureMakeDataListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder addAllFurnitureMakeDataList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData> values) {
if (furnitureMakeDataListBuilder_ == null) {
ensureFurnitureMakeDataListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, furnitureMakeDataList_);
onChanged();
} else {
furnitureMakeDataListBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder clearFurnitureMakeDataList() {
if (furnitureMakeDataListBuilder_ == null) {
furnitureMakeDataList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
furnitureMakeDataListBuilder_.clear();
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public Builder removeFurnitureMakeDataList(int index) {
if (furnitureMakeDataListBuilder_ == null) {
ensureFurnitureMakeDataListIsMutable();
furnitureMakeDataList_.remove(index);
onChanged();
} else {
furnitureMakeDataListBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder getFurnitureMakeDataListBuilder(
int index) {
return getFurnitureMakeDataListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder getFurnitureMakeDataListOrBuilder(
int index) {
if (furnitureMakeDataListBuilder_ == null) {
return furnitureMakeDataList_.get(index); } else {
return furnitureMakeDataListBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder>
getFurnitureMakeDataListOrBuilderList() {
if (furnitureMakeDataListBuilder_ != null) {
return furnitureMakeDataListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(furnitureMakeDataList_);
}
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder addFurnitureMakeDataListBuilder() {
return getFurnitureMakeDataListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.getDefaultInstance());
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder addFurnitureMakeDataListBuilder(
int index) {
return getFurnitureMakeDataListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.getDefaultInstance());
}
/**
* <code>repeated .FurnitureMakeData furniture_make_data_list = 14;</code>
*/
public java.util.List<emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder>
getFurnitureMakeDataListBuilderList() {
return getFurnitureMakeDataListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder>
getFurnitureMakeDataListFieldBuilder() {
if (furnitureMakeDataListBuilder_ == null) {
furnitureMakeDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeData.Builder, emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.FurnitureMakeDataOrBuilder>(
furnitureMakeDataList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
furnitureMakeDataList_ = null;
}
return furnitureMakeDataListBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureMakeSlot)
}
// @@protoc_insertion_point(class_scope:FurnitureMakeSlot)
private static final emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot();
}
public static emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureMakeSlot>
PARSER = new com.google.protobuf.AbstractParser<FurnitureMakeSlot>() {
@java.lang.Override
public FurnitureMakeSlot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureMakeSlot(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureMakeSlot> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureMakeSlot> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureMakeSlot_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureMakeSlot_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027FurnitureMakeSlot.proto\032\027FurnitureMake" +
"Data.proto\"I\n\021FurnitureMakeSlot\0224\n\030furni" +
"ture_make_data_list\030\016 \003(\0132\022.FurnitureMak" +
"eDataB\033\n\031emu.grasscutter.net.protob\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.getDescriptor(),
});
internal_static_FurnitureMakeSlot_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureMakeSlot_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureMakeSlot_descriptor,
new java.lang.String[] { "FurnitureMakeDataList", });
emu.grasscutter.net.proto.FurnitureMakeDataOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,621 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureMakeStartReq.proto
package emu.grasscutter.net.proto;
public final class FurnitureMakeStartReqOuterClass {
private FurnitureMakeStartReqOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureMakeStartReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureMakeStartReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 avatar_id = 9;</code>
* @return The avatarId.
*/
int getAvatarId();
/**
* <code>uint32 make_id = 1;</code>
* @return The makeId.
*/
int getMakeId();
}
/**
* <pre>
* CmdId: 4633
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code FurnitureMakeStartReq}
*/
public static final class FurnitureMakeStartReq extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureMakeStartReq)
FurnitureMakeStartReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureMakeStartReq.newBuilder() to construct.
private FurnitureMakeStartReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureMakeStartReq() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureMakeStartReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureMakeStartReq(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
makeId_ = input.readUInt32();
break;
}
case 72: {
avatarId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.internal_static_FurnitureMakeStartReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.internal_static_FurnitureMakeStartReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.class, emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.Builder.class);
}
public static final int AVATAR_ID_FIELD_NUMBER = 9;
private int avatarId_;
/**
* <code>uint32 avatar_id = 9;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
public static final int MAKE_ID_FIELD_NUMBER = 1;
private int makeId_;
/**
* <code>uint32 make_id = 1;</code>
* @return The makeId.
*/
@java.lang.Override
public int getMakeId() {
return makeId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (makeId_ != 0) {
output.writeUInt32(1, makeId_);
}
if (avatarId_ != 0) {
output.writeUInt32(9, avatarId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (makeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, makeId_);
}
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, avatarId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq other = (emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq) obj;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (getMakeId()
!= other.getMakeId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
hash = (37 * hash) + MAKE_ID_FIELD_NUMBER;
hash = (53 * hash) + getMakeId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* CmdId: 4633
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code FurnitureMakeStartReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureMakeStartReq)
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.internal_static_FurnitureMakeStartReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.internal_static_FurnitureMakeStartReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.class, emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
avatarId_ = 0;
makeId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.internal_static_FurnitureMakeStartReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq build() {
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq buildPartial() {
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq result = new emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq(this);
result.avatarId_ = avatarId_;
result.makeId_ = makeId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq other) {
if (other == emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.getDefaultInstance()) return this;
if (other.getAvatarId() != 0) {
setAvatarId(other.getAvatarId());
}
if (other.getMakeId() != 0) {
setMakeId(other.getMakeId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int avatarId_ ;
/**
* <code>uint32 avatar_id = 9;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* <code>uint32 avatar_id = 9;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 avatar_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
avatarId_ = 0;
onChanged();
return this;
}
private int makeId_ ;
/**
* <code>uint32 make_id = 1;</code>
* @return The makeId.
*/
@java.lang.Override
public int getMakeId() {
return makeId_;
}
/**
* <code>uint32 make_id = 1;</code>
* @param value The makeId to set.
* @return This builder for chaining.
*/
public Builder setMakeId(int value) {
makeId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 make_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearMakeId() {
makeId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureMakeStartReq)
}
// @@protoc_insertion_point(class_scope:FurnitureMakeStartReq)
private static final emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq();
}
public static emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureMakeStartReq>
PARSER = new com.google.protobuf.AbstractParser<FurnitureMakeStartReq>() {
@java.lang.Override
public FurnitureMakeStartReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureMakeStartReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureMakeStartReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureMakeStartReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureMakeStartReq_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureMakeStartReq_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033FurnitureMakeStartReq.proto\";\n\025Furnitu" +
"reMakeStartReq\022\021\n\tavatar_id\030\t \001(\r\022\017\n\007mak" +
"e_id\030\001 \001(\rB\033\n\031emu.grasscutter.net.protob" +
"\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_FurnitureMakeStartReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureMakeStartReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureMakeStartReq_descriptor,
new java.lang.String[] { "AvatarId", "MakeId", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,757 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FurnitureMakeStartRsp.proto
package emu.grasscutter.net.proto;
public final class FurnitureMakeStartRspOuterClass {
private FurnitureMakeStartRspOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface FurnitureMakeStartRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:FurnitureMakeStartRsp)
com.google.protobuf.MessageOrBuilder {
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
* @return Whether the furnitureMakeSlot field is set.
*/
boolean hasFurnitureMakeSlot();
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
* @return The furnitureMakeSlot.
*/
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot getFurnitureMakeSlot();
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder getFurnitureMakeSlotOrBuilder();
/**
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 4729
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code FurnitureMakeStartRsp}
*/
public static final class FurnitureMakeStartRsp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FurnitureMakeStartRsp)
FurnitureMakeStartRspOrBuilder {
private static final long serialVersionUID = 0L;
// Use FurnitureMakeStartRsp.newBuilder() to construct.
private FurnitureMakeStartRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FurnitureMakeStartRsp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FurnitureMakeStartRsp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FurnitureMakeStartRsp(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 42: {
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder subBuilder = null;
if (furnitureMakeSlot_ != null) {
subBuilder = furnitureMakeSlot_.toBuilder();
}
furnitureMakeSlot_ = input.readMessage(emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(furnitureMakeSlot_);
furnitureMakeSlot_ = subBuilder.buildPartial();
}
break;
}
case 64: {
retcode_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.internal_static_FurnitureMakeStartRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.internal_static_FurnitureMakeStartRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.class, emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.Builder.class);
}
public static final int FURNITURE_MAKE_SLOT_FIELD_NUMBER = 5;
private emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot furnitureMakeSlot_;
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
* @return Whether the furnitureMakeSlot field is set.
*/
@java.lang.Override
public boolean hasFurnitureMakeSlot() {
return furnitureMakeSlot_ != null;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
* @return The furnitureMakeSlot.
*/
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot getFurnitureMakeSlot() {
return furnitureMakeSlot_ == null ? emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.getDefaultInstance() : furnitureMakeSlot_;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder getFurnitureMakeSlotOrBuilder() {
return getFurnitureMakeSlot();
}
public static final int RETCODE_FIELD_NUMBER = 8;
private int retcode_;
/**
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (furnitureMakeSlot_ != null) {
output.writeMessage(5, getFurnitureMakeSlot());
}
if (retcode_ != 0) {
output.writeInt32(8, retcode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (furnitureMakeSlot_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getFurnitureMakeSlot());
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp other = (emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp) obj;
if (hasFurnitureMakeSlot() != other.hasFurnitureMakeSlot()) return false;
if (hasFurnitureMakeSlot()) {
if (!getFurnitureMakeSlot()
.equals(other.getFurnitureMakeSlot())) return false;
}
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFurnitureMakeSlot()) {
hash = (37 * hash) + FURNITURE_MAKE_SLOT_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureMakeSlot().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* CmdId: 4729
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code FurnitureMakeStartRsp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:FurnitureMakeStartRsp)
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRspOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.internal_static_FurnitureMakeStartRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.internal_static_FurnitureMakeStartRsp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.class, emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.Builder.class);
}
// Construct using emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (furnitureMakeSlotBuilder_ == null) {
furnitureMakeSlot_ = null;
} else {
furnitureMakeSlot_ = null;
furnitureMakeSlotBuilder_ = null;
}
retcode_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.internal_static_FurnitureMakeStartRsp_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp build() {
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp buildPartial() {
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp result = new emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp(this);
if (furnitureMakeSlotBuilder_ == null) {
result.furnitureMakeSlot_ = furnitureMakeSlot_;
} else {
result.furnitureMakeSlot_ = furnitureMakeSlotBuilder_.build();
}
result.retcode_ = retcode_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp) {
return mergeFrom((emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp other) {
if (other == emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.getDefaultInstance()) return this;
if (other.hasFurnitureMakeSlot()) {
mergeFurnitureMakeSlot(other.getFurnitureMakeSlot());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot furnitureMakeSlot_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder> furnitureMakeSlotBuilder_;
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
* @return Whether the furnitureMakeSlot field is set.
*/
public boolean hasFurnitureMakeSlot() {
return furnitureMakeSlotBuilder_ != null || furnitureMakeSlot_ != null;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
* @return The furnitureMakeSlot.
*/
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot getFurnitureMakeSlot() {
if (furnitureMakeSlotBuilder_ == null) {
return furnitureMakeSlot_ == null ? emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.getDefaultInstance() : furnitureMakeSlot_;
} else {
return furnitureMakeSlotBuilder_.getMessage();
}
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
public Builder setFurnitureMakeSlot(emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot value) {
if (furnitureMakeSlotBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
furnitureMakeSlot_ = value;
onChanged();
} else {
furnitureMakeSlotBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
public Builder setFurnitureMakeSlot(
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder builderForValue) {
if (furnitureMakeSlotBuilder_ == null) {
furnitureMakeSlot_ = builderForValue.build();
onChanged();
} else {
furnitureMakeSlotBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
public Builder mergeFurnitureMakeSlot(emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot value) {
if (furnitureMakeSlotBuilder_ == null) {
if (furnitureMakeSlot_ != null) {
furnitureMakeSlot_ =
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.newBuilder(furnitureMakeSlot_).mergeFrom(value).buildPartial();
} else {
furnitureMakeSlot_ = value;
}
onChanged();
} else {
furnitureMakeSlotBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
public Builder clearFurnitureMakeSlot() {
if (furnitureMakeSlotBuilder_ == null) {
furnitureMakeSlot_ = null;
onChanged();
} else {
furnitureMakeSlot_ = null;
furnitureMakeSlotBuilder_ = null;
}
return this;
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder getFurnitureMakeSlotBuilder() {
onChanged();
return getFurnitureMakeSlotFieldBuilder().getBuilder();
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
public emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder getFurnitureMakeSlotOrBuilder() {
if (furnitureMakeSlotBuilder_ != null) {
return furnitureMakeSlotBuilder_.getMessageOrBuilder();
} else {
return furnitureMakeSlot_ == null ?
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.getDefaultInstance() : furnitureMakeSlot_;
}
}
/**
* <code>.FurnitureMakeSlot furniture_make_slot = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder>
getFurnitureMakeSlotFieldBuilder() {
if (furnitureMakeSlotBuilder_ == null) {
furnitureMakeSlotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlot.Builder, emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.FurnitureMakeSlotOrBuilder>(
getFurnitureMakeSlot(),
getParentForChildren(),
isClean());
furnitureMakeSlot_ = null;
}
return furnitureMakeSlotBuilder_;
}
private int retcode_ ;
/**
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 8;</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 = 8;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:FurnitureMakeStartRsp)
}
// @@protoc_insertion_point(class_scope:FurnitureMakeStartRsp)
private static final emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp();
}
public static emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<FurnitureMakeStartRsp>
PARSER = new com.google.protobuf.AbstractParser<FurnitureMakeStartRsp>() {
@java.lang.Override
public FurnitureMakeStartRsp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FurnitureMakeStartRsp(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<FurnitureMakeStartRsp> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FurnitureMakeStartRsp> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_FurnitureMakeStartRsp_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_FurnitureMakeStartRsp_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033FurnitureMakeStartRsp.proto\032\027Furniture" +
"MakeSlot.proto\"Y\n\025FurnitureMakeStartRsp\022" +
"/\n\023furniture_make_slot\030\005 \001(\0132\022.Furniture" +
"MakeSlot\022\017\n\007retcode\030\010 \001(\005B\033\n\031emu.grasscu" +
"tter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.getDescriptor(),
});
internal_static_FurnitureMakeStartRsp_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_FurnitureMakeStartRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FurnitureMakeStartRsp_descriptor,
new java.lang.String[] { "FurnitureMakeSlot", "Retcode", });
emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,606 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ItemParam.proto
package emu.grasscutter.net.proto;
public final class ItemParamOuterClass {
private ItemParamOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ItemParamOrBuilder extends
// @@protoc_insertion_point(interface_extends:ItemParam)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 item_id = 1;</code>
* @return The itemId.
*/
int getItemId();
/**
* <code>uint32 count = 2;</code>
* @return The count.
*/
int getCount();
}
/**
* Protobuf type {@code ItemParam}
*/
public static final class ItemParam extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ItemParam)
ItemParamOrBuilder {
private static final long serialVersionUID = 0L;
// Use ItemParam.newBuilder() to construct.
private ItemParam(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ItemParam() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ItemParam();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ItemParam(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
itemId_ = input.readUInt32();
break;
}
case 16: {
count_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ItemParamOuterClass.internal_static_ItemParam_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ItemParamOuterClass.internal_static_ItemParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.class, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder.class);
}
public static final int ITEM_ID_FIELD_NUMBER = 1;
private int itemId_;
/**
* <code>uint32 item_id = 1;</code>
* @return The itemId.
*/
@java.lang.Override
public int getItemId() {
return itemId_;
}
public static final int COUNT_FIELD_NUMBER = 2;
private int count_;
/**
* <code>uint32 count = 2;</code>
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (itemId_ != 0) {
output.writeUInt32(1, itemId_);
}
if (count_ != 0) {
output.writeUInt32(2, count_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (itemId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, itemId_);
}
if (count_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, count_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam other = (emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam) obj;
if (getItemId()
!= other.getItemId()) return false;
if (getCount()
!= other.getCount()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
hash = (53 * hash) + getItemId();
hash = (37 * hash) + COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ItemParam}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:ItemParam)
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ItemParamOuterClass.internal_static_ItemParam_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ItemParamOuterClass.internal_static_ItemParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.class, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder.class);
}
// Construct using emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
itemId_ = 0;
count_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.ItemParamOuterClass.internal_static_ItemParam_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam build() {
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam buildPartial() {
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam result = new emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam(this);
result.itemId_ = itemId_;
result.count_ = count_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam) {
return mergeFrom((emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam other) {
if (other == emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance()) return this;
if (other.getItemId() != 0) {
setItemId(other.getItemId());
}
if (other.getCount() != 0) {
setCount(other.getCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int itemId_ ;
/**
* <code>uint32 item_id = 1;</code>
* @return The itemId.
*/
@java.lang.Override
public int getItemId() {
return itemId_;
}
/**
* <code>uint32 item_id = 1;</code>
* @param value The itemId to set.
* @return This builder for chaining.
*/
public Builder setItemId(int value) {
itemId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 item_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearItemId() {
itemId_ = 0;
onChanged();
return this;
}
private int count_ ;
/**
* <code>uint32 count = 2;</code>
* @return The count.
*/
@java.lang.Override
public int getCount() {
return count_;
}
/**
* <code>uint32 count = 2;</code>
* @param value The count to set.
* @return This builder for chaining.
*/
public Builder setCount(int value) {
count_ = value;
onChanged();
return this;
}
/**
* <code>uint32 count = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCount() {
count_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ItemParam)
}
// @@protoc_insertion_point(class_scope:ItemParam)
private static final emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam();
}
public static emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ItemParam>
PARSER = new com.google.protobuf.AbstractParser<ItemParam>() {
@java.lang.Override
public ItemParam parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ItemParam(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ItemParam> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ItemParam> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ItemParam_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ItemParam_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\017ItemParam.proto\"+\n\tItemParam\022\017\n\007item_i" +
"d\030\001 \001(\r\022\r\n\005count\030\002 \001(\rB\033\n\031emu.grasscutte" +
"r.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_ItemParam_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ItemParam_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ItemParam_descriptor,
new java.lang.String[] { "ItemId", "Count", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,606 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ProfilePicture.proto
package emu.grasscutter.net.proto;
public final class ProfilePictureOuterClass {
private ProfilePictureOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ProfilePictureOrBuilder extends
// @@protoc_insertion_point(interface_extends:ProfilePicture)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 avatar_id = 1;</code>
* @return The avatarId.
*/
int getAvatarId();
/**
* <code>uint32 costume_id = 2;</code>
* @return The costumeId.
*/
int getCostumeId();
}
/**
* Protobuf type {@code ProfilePicture}
*/
public static final class ProfilePicture extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ProfilePicture)
ProfilePictureOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProfilePicture.newBuilder() to construct.
private ProfilePicture(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ProfilePicture() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ProfilePicture();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProfilePicture(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
avatarId_ = input.readUInt32();
break;
}
case 16: {
costumeId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ProfilePictureOuterClass.internal_static_ProfilePicture_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ProfilePictureOuterClass.internal_static_ProfilePicture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.class, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder.class);
}
public static final int AVATAR_ID_FIELD_NUMBER = 1;
private int avatarId_;
/**
* <code>uint32 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
public static final int COSTUME_ID_FIELD_NUMBER = 2;
private int costumeId_;
/**
* <code>uint32 costume_id = 2;</code>
* @return The costumeId.
*/
@java.lang.Override
public int getCostumeId() {
return costumeId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarId_ != 0) {
output.writeUInt32(1, avatarId_);
}
if (costumeId_ != 0) {
output.writeUInt32(2, costumeId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, avatarId_);
}
if (costumeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, costumeId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture other = (emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture) obj;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (getCostumeId()
!= other.getCostumeId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
hash = (37 * hash) + COSTUME_ID_FIELD_NUMBER;
hash = (53 * hash) + getCostumeId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ProfilePicture}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:ProfilePicture)
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.ProfilePictureOuterClass.internal_static_ProfilePicture_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.ProfilePictureOuterClass.internal_static_ProfilePicture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.class, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder.class);
}
// Construct using emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
avatarId_ = 0;
costumeId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.ProfilePictureOuterClass.internal_static_ProfilePicture_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getDefaultInstanceForType() {
return emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture build() {
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture buildPartial() {
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture result = new emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture(this);
result.avatarId_ = avatarId_;
result.costumeId_ = costumeId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture) {
return mergeFrom((emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture other) {
if (other == emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance()) return this;
if (other.getAvatarId() != 0) {
setAvatarId(other.getAvatarId());
}
if (other.getCostumeId() != 0) {
setCostumeId(other.getCostumeId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int avatarId_ ;
/**
* <code>uint32 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* <code>uint32 avatar_id = 1;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 avatar_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
avatarId_ = 0;
onChanged();
return this;
}
private int costumeId_ ;
/**
* <code>uint32 costume_id = 2;</code>
* @return The costumeId.
*/
@java.lang.Override
public int getCostumeId() {
return costumeId_;
}
/**
* <code>uint32 costume_id = 2;</code>
* @param value The costumeId to set.
* @return This builder for chaining.
*/
public Builder setCostumeId(int value) {
costumeId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 costume_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCostumeId() {
costumeId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ProfilePicture)
}
// @@protoc_insertion_point(class_scope:ProfilePicture)
private static final emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture();
}
public static emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ProfilePicture>
PARSER = new com.google.protobuf.AbstractParser<ProfilePicture>() {
@java.lang.Override
public ProfilePicture parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProfilePicture(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ProfilePicture> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ProfilePicture> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_ProfilePicture_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ProfilePicture_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\024ProfilePicture.proto\"7\n\016ProfilePicture" +
"\022\021\n\tavatar_id\030\001 \001(\r\022\022\n\ncostume_id\030\002 \001(\rB" +
"\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_ProfilePicture_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ProfilePicture_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ProfilePicture_descriptor,
new java.lang.String[] { "AvatarId", "CostumeId", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,692 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TakeFurnitureMakeReq.proto
package emu.grasscutter.net.proto;
public final class TakeFurnitureMakeReqOuterClass {
private TakeFurnitureMakeReqOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface TakeFurnitureMakeReqOrBuilder extends
// @@protoc_insertion_point(interface_extends:TakeFurnitureMakeReq)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 index = 8;</code>
* @return The index.
*/
int getIndex();
/**
* <code>bool is_fast_finish = 12;</code>
* @return The isFastFinish.
*/
boolean getIsFastFinish();
/**
* <code>uint32 make_id = 7;</code>
* @return The makeId.
*/
int getMakeId();
}
/**
* <pre>
* CmdId: 4772
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code TakeFurnitureMakeReq}
*/
public static final class TakeFurnitureMakeReq extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:TakeFurnitureMakeReq)
TakeFurnitureMakeReqOrBuilder {
private static final long serialVersionUID = 0L;
// Use TakeFurnitureMakeReq.newBuilder() to construct.
private TakeFurnitureMakeReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TakeFurnitureMakeReq() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TakeFurnitureMakeReq();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TakeFurnitureMakeReq(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 56: {
makeId_ = input.readUInt32();
break;
}
case 64: {
index_ = input.readUInt32();
break;
}
case 96: {
isFastFinish_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.internal_static_TakeFurnitureMakeReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.internal_static_TakeFurnitureMakeReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.class, emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.Builder.class);
}
public static final int INDEX_FIELD_NUMBER = 8;
private int index_;
/**
* <code>uint32 index = 8;</code>
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
public static final int IS_FAST_FINISH_FIELD_NUMBER = 12;
private boolean isFastFinish_;
/**
* <code>bool is_fast_finish = 12;</code>
* @return The isFastFinish.
*/
@java.lang.Override
public boolean getIsFastFinish() {
return isFastFinish_;
}
public static final int MAKE_ID_FIELD_NUMBER = 7;
private int makeId_;
/**
* <code>uint32 make_id = 7;</code>
* @return The makeId.
*/
@java.lang.Override
public int getMakeId() {
return makeId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (makeId_ != 0) {
output.writeUInt32(7, makeId_);
}
if (index_ != 0) {
output.writeUInt32(8, index_);
}
if (isFastFinish_ != false) {
output.writeBool(12, isFastFinish_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (makeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, makeId_);
}
if (index_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, index_);
}
if (isFastFinish_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, isFastFinish_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq other = (emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq) obj;
if (getIndex()
!= other.getIndex()) return false;
if (getIsFastFinish()
!= other.getIsFastFinish()) return false;
if (getMakeId()
!= other.getMakeId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex();
hash = (37 * hash) + IS_FAST_FINISH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFastFinish());
hash = (37 * hash) + MAKE_ID_FIELD_NUMBER;
hash = (53 * hash) + getMakeId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* CmdId: 4772
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code TakeFurnitureMakeReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:TakeFurnitureMakeReq)
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.internal_static_TakeFurnitureMakeReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.internal_static_TakeFurnitureMakeReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.class, emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.Builder.class);
}
// Construct using emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
index_ = 0;
isFastFinish_ = false;
makeId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.internal_static_TakeFurnitureMakeReq_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq build() {
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq buildPartial() {
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq result = new emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq(this);
result.index_ = index_;
result.isFastFinish_ = isFastFinish_;
result.makeId_ = makeId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq) {
return mergeFrom((emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq other) {
if (other == emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.getDefaultInstance()) return this;
if (other.getIndex() != 0) {
setIndex(other.getIndex());
}
if (other.getIsFastFinish() != false) {
setIsFastFinish(other.getIsFastFinish());
}
if (other.getMakeId() != 0) {
setMakeId(other.getMakeId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int index_ ;
/**
* <code>uint32 index = 8;</code>
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
/**
* <code>uint32 index = 8;</code>
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
}
/**
* <code>uint32 index = 8;</code>
* @return This builder for chaining.
*/
public Builder clearIndex() {
index_ = 0;
onChanged();
return this;
}
private boolean isFastFinish_ ;
/**
* <code>bool is_fast_finish = 12;</code>
* @return The isFastFinish.
*/
@java.lang.Override
public boolean getIsFastFinish() {
return isFastFinish_;
}
/**
* <code>bool is_fast_finish = 12;</code>
* @param value The isFastFinish to set.
* @return This builder for chaining.
*/
public Builder setIsFastFinish(boolean value) {
isFastFinish_ = value;
onChanged();
return this;
}
/**
* <code>bool is_fast_finish = 12;</code>
* @return This builder for chaining.
*/
public Builder clearIsFastFinish() {
isFastFinish_ = false;
onChanged();
return this;
}
private int makeId_ ;
/**
* <code>uint32 make_id = 7;</code>
* @return The makeId.
*/
@java.lang.Override
public int getMakeId() {
return makeId_;
}
/**
* <code>uint32 make_id = 7;</code>
* @param value The makeId to set.
* @return This builder for chaining.
*/
public Builder setMakeId(int value) {
makeId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 make_id = 7;</code>
* @return This builder for chaining.
*/
public Builder clearMakeId() {
makeId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:TakeFurnitureMakeReq)
}
// @@protoc_insertion_point(class_scope:TakeFurnitureMakeReq)
private static final emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq();
}
public static emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TakeFurnitureMakeReq>
PARSER = new com.google.protobuf.AbstractParser<TakeFurnitureMakeReq>() {
@java.lang.Override
public TakeFurnitureMakeReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TakeFurnitureMakeReq(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<TakeFurnitureMakeReq> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TakeFurnitureMakeReq> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TakeFurnitureMakeReq_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TakeFurnitureMakeReq_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032TakeFurnitureMakeReq.proto\"N\n\024TakeFurn" +
"itureMakeReq\022\r\n\005index\030\010 \001(\r\022\026\n\016is_fast_f" +
"inish\030\014 \001(\010\022\017\n\007make_id\030\007 \001(\rB\033\n\031emu.gras" +
"scutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_TakeFurnitureMakeReq_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_TakeFurnitureMakeReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TakeFurnitureMakeReq_descriptor,
new java.lang.String[] { "Index", "IsFastFinish", "MakeId", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,606 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Uint32Pair.proto
package emu.grasscutter.net.proto;
public final class Uint32PairOuterClass {
private Uint32PairOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface Uint32PairOrBuilder extends
// @@protoc_insertion_point(interface_extends:Uint32Pair)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 key = 1;</code>
* @return The key.
*/
int getKey();
/**
* <code>uint32 value = 2;</code>
* @return The value.
*/
int getValue();
}
/**
* Protobuf type {@code Uint32Pair}
*/
public static final class Uint32Pair extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Uint32Pair)
Uint32PairOrBuilder {
private static final long serialVersionUID = 0L;
// Use Uint32Pair.newBuilder() to construct.
private Uint32Pair(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Uint32Pair() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Uint32Pair();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Uint32Pair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
key_ = input.readUInt32();
break;
}
case 16: {
value_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.Uint32PairOuterClass.internal_static_Uint32Pair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.Uint32PairOuterClass.internal_static_Uint32Pair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.class, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 1;
private int key_;
/**
* <code>uint32 key = 1;</code>
* @return The key.
*/
@java.lang.Override
public int getKey() {
return key_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private int value_;
/**
* <code>uint32 value = 2;</code>
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (key_ != 0) {
output.writeUInt32(1, key_);
}
if (value_ != 0) {
output.writeUInt32(2, value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (key_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, key_);
}
if (value_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair other = (emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair) obj;
if (getKey()
!= other.getKey()) return false;
if (getValue()
!= other.getValue()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code Uint32Pair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:Uint32Pair)
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32PairOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.Uint32PairOuterClass.internal_static_Uint32Pair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.Uint32PairOuterClass.internal_static_Uint32Pair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.class, emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.Builder.class);
}
// Construct using emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
key_ = 0;
value_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.Uint32PairOuterClass.internal_static_Uint32Pair_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getDefaultInstanceForType() {
return emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair build() {
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair buildPartial() {
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair result = new emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair(this);
result.key_ = key_;
result.value_ = value_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair) {
return mergeFrom((emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair other) {
if (other == emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair.getDefaultInstance()) return this;
if (other.getKey() != 0) {
setKey(other.getKey());
}
if (other.getValue() != 0) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int key_ ;
/**
* <code>uint32 key = 1;</code>
* @return The key.
*/
@java.lang.Override
public int getKey() {
return key_;
}
/**
* <code>uint32 key = 1;</code>
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(int value) {
key_ = value;
onChanged();
return this;
}
/**
* <code>uint32 key = 1;</code>
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = 0;
onChanged();
return this;
}
private int value_ ;
/**
* <code>uint32 value = 2;</code>
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
/**
* <code>uint32 value = 2;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(int value) {
value_ = value;
onChanged();
return this;
}
/**
* <code>uint32 value = 2;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Uint32Pair)
}
// @@protoc_insertion_point(class_scope:Uint32Pair)
private static final emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair();
}
public static emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<Uint32Pair>
PARSER = new com.google.protobuf.AbstractParser<Uint32Pair>() {
@java.lang.Override
public Uint32Pair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Uint32Pair(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<Uint32Pair> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Uint32Pair> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.Uint32PairOuterClass.Uint32Pair getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Uint32Pair_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Uint32Pair_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\020Uint32Pair.proto\"(\n\nUint32Pair\022\013\n\003key\030" +
"\001 \001(\r\022\r\n\005value\030\002 \001(\rB\033\n\031emu.grasscutter." +
"net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_Uint32Pair_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Uint32Pair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Uint32Pair_descriptor,
new java.lang.String[] { "Key", "Value", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,749 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UnlockedFurnitureFormulaDataNotify.proto
package emu.grasscutter.net.proto;
public final class UnlockedFurnitureFormulaDataNotifyOuterClass {
private UnlockedFurnitureFormulaDataNotifyOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface UnlockedFurnitureFormulaDataNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:UnlockedFurnitureFormulaDataNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return A list containing the furnitureIdList.
*/
java.util.List<java.lang.Integer> getFurnitureIdListList();
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return The count of furnitureIdList.
*/
int getFurnitureIdListCount();
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @param index The index of the element to return.
* @return The furnitureIdList at the given index.
*/
int getFurnitureIdList(int index);
/**
* <code>bool is_all = 11;</code>
* @return The isAll.
*/
boolean getIsAll();
}
/**
* <pre>
* CmdId: 4846
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code UnlockedFurnitureFormulaDataNotify}
*/
public static final class UnlockedFurnitureFormulaDataNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:UnlockedFurnitureFormulaDataNotify)
UnlockedFurnitureFormulaDataNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use UnlockedFurnitureFormulaDataNotify.newBuilder() to construct.
private UnlockedFurnitureFormulaDataNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UnlockedFurnitureFormulaDataNotify() {
furnitureIdList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UnlockedFurnitureFormulaDataNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UnlockedFurnitureFormulaDataNotify(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 88: {
isAll_ = input.readBool();
break;
}
case 120: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
furnitureIdList_.addInt(input.readUInt32());
break;
}
case 122: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
furnitureIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
furnitureIdList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureIdList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.internal_static_UnlockedFurnitureFormulaDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.internal_static_UnlockedFurnitureFormulaDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.class, emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.Builder.class);
}
public static final int FURNITURE_ID_LIST_FIELD_NUMBER = 15;
private com.google.protobuf.Internal.IntList furnitureIdList_;
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return A list containing the furnitureIdList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getFurnitureIdListList() {
return furnitureIdList_;
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return The count of furnitureIdList.
*/
public int getFurnitureIdListCount() {
return furnitureIdList_.size();
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @param index The index of the element to return.
* @return The furnitureIdList at the given index.
*/
public int getFurnitureIdList(int index) {
return furnitureIdList_.getInt(index);
}
private int furnitureIdListMemoizedSerializedSize = -1;
public static final int IS_ALL_FIELD_NUMBER = 11;
private boolean isAll_;
/**
* <code>bool is_all = 11;</code>
* @return The isAll.
*/
@java.lang.Override
public boolean getIsAll() {
return isAll_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (isAll_ != false) {
output.writeBool(11, isAll_);
}
if (getFurnitureIdListList().size() > 0) {
output.writeUInt32NoTag(122);
output.writeUInt32NoTag(furnitureIdListMemoizedSerializedSize);
}
for (int i = 0; i < furnitureIdList_.size(); i++) {
output.writeUInt32NoTag(furnitureIdList_.getInt(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isAll_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isAll_);
}
{
int dataSize = 0;
for (int i = 0; i < furnitureIdList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(furnitureIdList_.getInt(i));
}
size += dataSize;
if (!getFurnitureIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
furnitureIdListMemoizedSerializedSize = dataSize;
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify other = (emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify) obj;
if (!getFurnitureIdListList()
.equals(other.getFurnitureIdListList())) return false;
if (getIsAll()
!= other.getIsAll()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFurnitureIdListCount() > 0) {
hash = (37 * hash) + FURNITURE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureIdListList().hashCode();
}
hash = (37 * hash) + IS_ALL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAll());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* CmdId: 4846
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code UnlockedFurnitureFormulaDataNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:UnlockedFurnitureFormulaDataNotify)
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.internal_static_UnlockedFurnitureFormulaDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.internal_static_UnlockedFurnitureFormulaDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.class, emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
furnitureIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
isAll_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.internal_static_UnlockedFurnitureFormulaDataNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify build() {
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify buildPartial() {
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify result = new emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
furnitureIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.furnitureIdList_ = furnitureIdList_;
result.isAll_ = isAll_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify) {
return mergeFrom((emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify other) {
if (other == emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.getDefaultInstance()) return this;
if (!other.furnitureIdList_.isEmpty()) {
if (furnitureIdList_.isEmpty()) {
furnitureIdList_ = other.furnitureIdList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFurnitureIdListIsMutable();
furnitureIdList_.addAll(other.furnitureIdList_);
}
onChanged();
}
if (other.getIsAll() != false) {
setIsAll(other.getIsAll());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList furnitureIdList_ = emptyIntList();
private void ensureFurnitureIdListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
furnitureIdList_ = mutableCopy(furnitureIdList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return A list containing the furnitureIdList.
*/
public java.util.List<java.lang.Integer>
getFurnitureIdListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(furnitureIdList_) : furnitureIdList_;
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return The count of furnitureIdList.
*/
public int getFurnitureIdListCount() {
return furnitureIdList_.size();
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @param index The index of the element to return.
* @return The furnitureIdList at the given index.
*/
public int getFurnitureIdList(int index) {
return furnitureIdList_.getInt(index);
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @param index The index to set the value at.
* @param value The furnitureIdList to set.
* @return This builder for chaining.
*/
public Builder setFurnitureIdList(
int index, int value) {
ensureFurnitureIdListIsMutable();
furnitureIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @param value The furnitureIdList to add.
* @return This builder for chaining.
*/
public Builder addFurnitureIdList(int value) {
ensureFurnitureIdListIsMutable();
furnitureIdList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @param values The furnitureIdList to add.
* @return This builder for chaining.
*/
public Builder addAllFurnitureIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureFurnitureIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, furnitureIdList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 furniture_id_list = 15;</code>
* @return This builder for chaining.
*/
public Builder clearFurnitureIdList() {
furnitureIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private boolean isAll_ ;
/**
* <code>bool is_all = 11;</code>
* @return The isAll.
*/
@java.lang.Override
public boolean getIsAll() {
return isAll_;
}
/**
* <code>bool is_all = 11;</code>
* @param value The isAll to set.
* @return This builder for chaining.
*/
public Builder setIsAll(boolean value) {
isAll_ = value;
onChanged();
return this;
}
/**
* <code>bool is_all = 11;</code>
* @return This builder for chaining.
*/
public Builder clearIsAll() {
isAll_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:UnlockedFurnitureFormulaDataNotify)
}
// @@protoc_insertion_point(class_scope:UnlockedFurnitureFormulaDataNotify)
private static final emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify();
}
public static emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<UnlockedFurnitureFormulaDataNotify>
PARSER = new com.google.protobuf.AbstractParser<UnlockedFurnitureFormulaDataNotify>() {
@java.lang.Override
public UnlockedFurnitureFormulaDataNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UnlockedFurnitureFormulaDataNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<UnlockedFurnitureFormulaDataNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UnlockedFurnitureFormulaDataNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_UnlockedFurnitureFormulaDataNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_UnlockedFurnitureFormulaDataNotify_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n(UnlockedFurnitureFormulaDataNotify.pro" +
"to\"O\n\"UnlockedFurnitureFormulaDataNotify" +
"\022\031\n\021furniture_id_list\030\017 \003(\r\022\016\n\006is_all\030\013 " +
"\001(\010B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_UnlockedFurnitureFormulaDataNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_UnlockedFurnitureFormulaDataNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_UnlockedFurnitureFormulaDataNotify_descriptor,
new java.lang.String[] { "FurnitureIdList", "IsAll", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -1,750 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UnlockedFurnitureSuiteDataNotify.proto
package emu.grasscutter.net.proto;
public final class UnlockedFurnitureSuiteDataNotifyOuterClass {
private UnlockedFurnitureSuiteDataNotifyOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface UnlockedFurnitureSuiteDataNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:UnlockedFurnitureSuiteDataNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_all = 10;</code>
* @return The isAll.
*/
boolean getIsAll();
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return A list containing the furnitureSuiteIdList.
*/
java.util.List<java.lang.Integer> getFurnitureSuiteIdListList();
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return The count of furnitureSuiteIdList.
*/
int getFurnitureSuiteIdListCount();
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @param index The index of the element to return.
* @return The furnitureSuiteIdList at the given index.
*/
int getFurnitureSuiteIdList(int index);
}
/**
* <pre>
* CmdId: 4454
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code UnlockedFurnitureSuiteDataNotify}
*/
public static final class UnlockedFurnitureSuiteDataNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:UnlockedFurnitureSuiteDataNotify)
UnlockedFurnitureSuiteDataNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use UnlockedFurnitureSuiteDataNotify.newBuilder() to construct.
private UnlockedFurnitureSuiteDataNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UnlockedFurnitureSuiteDataNotify() {
furnitureSuiteIdList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UnlockedFurnitureSuiteDataNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UnlockedFurnitureSuiteDataNotify(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 40: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureSuiteIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
furnitureSuiteIdList_.addInt(input.readUInt32());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
furnitureSuiteIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
furnitureSuiteIdList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 80: {
isAll_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
furnitureSuiteIdList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.internal_static_UnlockedFurnitureSuiteDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.internal_static_UnlockedFurnitureSuiteDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.class, emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.Builder.class);
}
public static final int IS_ALL_FIELD_NUMBER = 10;
private boolean isAll_;
/**
* <code>bool is_all = 10;</code>
* @return The isAll.
*/
@java.lang.Override
public boolean getIsAll() {
return isAll_;
}
public static final int FURNITURE_SUITE_ID_LIST_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.IntList furnitureSuiteIdList_;
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return A list containing the furnitureSuiteIdList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getFurnitureSuiteIdListList() {
return furnitureSuiteIdList_;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return The count of furnitureSuiteIdList.
*/
public int getFurnitureSuiteIdListCount() {
return furnitureSuiteIdList_.size();
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @param index The index of the element to return.
* @return The furnitureSuiteIdList at the given index.
*/
public int getFurnitureSuiteIdList(int index) {
return furnitureSuiteIdList_.getInt(index);
}
private int furnitureSuiteIdListMemoizedSerializedSize = -1;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getFurnitureSuiteIdListList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(furnitureSuiteIdListMemoizedSerializedSize);
}
for (int i = 0; i < furnitureSuiteIdList_.size(); i++) {
output.writeUInt32NoTag(furnitureSuiteIdList_.getInt(i));
}
if (isAll_ != false) {
output.writeBool(10, isAll_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < furnitureSuiteIdList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(furnitureSuiteIdList_.getInt(i));
}
size += dataSize;
if (!getFurnitureSuiteIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
furnitureSuiteIdListMemoizedSerializedSize = dataSize;
}
if (isAll_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, isAll_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify other = (emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify) obj;
if (getIsAll()
!= other.getIsAll()) return false;
if (!getFurnitureSuiteIdListList()
.equals(other.getFurnitureSuiteIdListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_ALL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAll());
if (getFurnitureSuiteIdListCount() > 0) {
hash = (37 * hash) + FURNITURE_SUITE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureSuiteIdListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* CmdId: 4454
* EnetChannelId: 0
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code UnlockedFurnitureSuiteDataNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:UnlockedFurnitureSuiteDataNotify)
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.internal_static_UnlockedFurnitureSuiteDataNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.internal_static_UnlockedFurnitureSuiteDataNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.class, emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
isAll_ = false;
furnitureSuiteIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.internal_static_UnlockedFurnitureSuiteDataNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify build() {
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify buildPartial() {
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify result = new emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify(this);
int from_bitField0_ = bitField0_;
result.isAll_ = isAll_;
if (((bitField0_ & 0x00000001) != 0)) {
furnitureSuiteIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.furnitureSuiteIdList_ = furnitureSuiteIdList_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify) {
return mergeFrom((emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify other) {
if (other == emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.getDefaultInstance()) return this;
if (other.getIsAll() != false) {
setIsAll(other.getIsAll());
}
if (!other.furnitureSuiteIdList_.isEmpty()) {
if (furnitureSuiteIdList_.isEmpty()) {
furnitureSuiteIdList_ = other.furnitureSuiteIdList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFurnitureSuiteIdListIsMutable();
furnitureSuiteIdList_.addAll(other.furnitureSuiteIdList_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isAll_ ;
/**
* <code>bool is_all = 10;</code>
* @return The isAll.
*/
@java.lang.Override
public boolean getIsAll() {
return isAll_;
}
/**
* <code>bool is_all = 10;</code>
* @param value The isAll to set.
* @return This builder for chaining.
*/
public Builder setIsAll(boolean value) {
isAll_ = value;
onChanged();
return this;
}
/**
* <code>bool is_all = 10;</code>
* @return This builder for chaining.
*/
public Builder clearIsAll() {
isAll_ = false;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList furnitureSuiteIdList_ = emptyIntList();
private void ensureFurnitureSuiteIdListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
furnitureSuiteIdList_ = mutableCopy(furnitureSuiteIdList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return A list containing the furnitureSuiteIdList.
*/
public java.util.List<java.lang.Integer>
getFurnitureSuiteIdListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(furnitureSuiteIdList_) : furnitureSuiteIdList_;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return The count of furnitureSuiteIdList.
*/
public int getFurnitureSuiteIdListCount() {
return furnitureSuiteIdList_.size();
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @param index The index of the element to return.
* @return The furnitureSuiteIdList at the given index.
*/
public int getFurnitureSuiteIdList(int index) {
return furnitureSuiteIdList_.getInt(index);
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @param index The index to set the value at.
* @param value The furnitureSuiteIdList to set.
* @return This builder for chaining.
*/
public Builder setFurnitureSuiteIdList(
int index, int value) {
ensureFurnitureSuiteIdListIsMutable();
furnitureSuiteIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @param value The furnitureSuiteIdList to add.
* @return This builder for chaining.
*/
public Builder addFurnitureSuiteIdList(int value) {
ensureFurnitureSuiteIdListIsMutable();
furnitureSuiteIdList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @param values The furnitureSuiteIdList to add.
* @return This builder for chaining.
*/
public Builder addAllFurnitureSuiteIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureFurnitureSuiteIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, furnitureSuiteIdList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 furniture_suite_id_list = 5;</code>
* @return This builder for chaining.
*/
public Builder clearFurnitureSuiteIdList() {
furnitureSuiteIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:UnlockedFurnitureSuiteDataNotify)
}
// @@protoc_insertion_point(class_scope:UnlockedFurnitureSuiteDataNotify)
private static final emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify();
}
public static emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<UnlockedFurnitureSuiteDataNotify>
PARSER = new com.google.protobuf.AbstractParser<UnlockedFurnitureSuiteDataNotify>() {
@java.lang.Override
public UnlockedFurnitureSuiteDataNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UnlockedFurnitureSuiteDataNotify(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<UnlockedFurnitureSuiteDataNotify> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UnlockedFurnitureSuiteDataNotify> getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_UnlockedFurnitureSuiteDataNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_UnlockedFurnitureSuiteDataNotify_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n&UnlockedFurnitureSuiteDataNotify.proto" +
"\"S\n UnlockedFurnitureSuiteDataNotify\022\016\n\006" +
"is_all\030\n \001(\010\022\037\n\027furniture_suite_id_list\030" +
"\005 \003(\rB\033\n\031emu.grasscutter.net.protob\006prot" +
"o3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_UnlockedFurnitureSuiteDataNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_UnlockedFurnitureSuiteDataNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_UnlockedFurnitureSuiteDataNotify_descriptor,
new java.lang.String[] { "IsAll", "FurnitureSuiteIdList", });
}
// @@protoc_insertion_point(outer_class_scope)
}

View File

@ -2,12 +2,12 @@ package emu.grasscutter.game.home;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Id;
import emu.grasscutter.net.proto.FurnitureMakeDataOuterClass;
import emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import lombok.val;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeData;
@Entity
@Data
@ -21,13 +21,13 @@ public class FurnitureMakeSlotItem {
int beginTime;
int durTime;
public FurnitureMakeDataOuterClass.FurnitureMakeData toProto() {
return FurnitureMakeDataOuterClass.FurnitureMakeData.newBuilder()
.setIndex(index)
.setAvatarId(avatarId)
.setMakeId(makeId)
.setBeginTime(beginTime)
.setDurTime(durTime)
.build();
public FurnitureMakeData toProto() {
val proto = new FurnitureMakeData();
proto.setIndex(index);
proto.setAvatarId(avatarId);
proto.setMakeId(makeId);
proto.setBeginTime(beginTime);
proto.setDurTime(durTime);
return proto;
}
}

View File

@ -4,10 +4,11 @@ import emu.grasscutter.data.GameData;
import emu.grasscutter.game.home.FurnitureMakeSlotItem;
import emu.grasscutter.game.player.BasePlayerManager;
import emu.grasscutter.game.player.Player;
import emu.grasscutter.net.proto.ItemParamOuterClass;
import emu.grasscutter.net.proto.RetcodeOuterClass.Retcode;
import emu.grasscutter.server.packet.send.*;
import emu.grasscutter.utils.Utils;
import lombok.val;
import org.anime_game_servers.multi_proto.gi.messages.general.item.ItemParam;
import org.anime_game_servers.multi_proto.gi.messages.general.Retcode;
import java.util.ArrayList;
import java.util.List;
@ -50,19 +51,19 @@ public class FurnitureManager extends BasePlayerManager {
public void startMake(int makeId, int avatarId) {
var makeData = GameData.getFurnitureMakeConfigDataMap().get(makeId);
if (makeData == null) {
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_FURNITURE_MAKE_CONFIG_ERROR_VALUE, null));
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_FURNITURE_MAKE_CONFIG_ERROR, null));
return;
}
// check slot count
if (player.getHome().getLevelData().getFurnitureMakeSlotCount() <= player.getHome().getFurnitureMakeSlotItemList().size()) {
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_FURNITURE_MAKE_SLOT_FULL_VALUE, null));
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_FURNITURE_MAKE_SLOT_FULL, null));
return;
}
// pay items first
if (!player.getInventory().payItems(makeData.getMaterialItems())) {
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_HOME_FURNITURE_COUNT_NOT_ENOUGH_VALUE, null));
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_HOME_FURNITURE_COUNT_NOT_ENOUGH, null));
return;
}
@ -75,7 +76,7 @@ public class FurnitureManager extends BasePlayerManager {
// add furniture make task
player.getHome().getFurnitureMakeSlotItemList().add(furnitureSlot);
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_SUCC_VALUE,
player.getSession().send(new PacketFurnitureMakeStartRsp(Retcode.RET_SUCC,
player.getHome().getFurnitureMakeSlotItemList().stream()
.map(FurnitureMakeSlotItem::toProto)
.toList()
@ -96,7 +97,7 @@ public class FurnitureManager extends BasePlayerManager {
public void take(int index, int makeId, boolean isFastFinish) {
var makeData = GameData.getFurnitureMakeConfigDataMap().get(makeId);
if (makeData == null) {
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_FURNITURE_MAKE_CONFIG_ERROR_VALUE, makeId, null, null));
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_FURNITURE_MAKE_CONFIG_ERROR, makeId, null, null));
return;
}
@ -105,13 +106,13 @@ public class FurnitureManager extends BasePlayerManager {
.findFirst();
if (slotItem.isEmpty()) {
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_FURNITURE_MAKE_NO_MAKE_DATA_VALUE, makeId, null, null));
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_FURNITURE_MAKE_NO_MAKE_DATA, makeId, null, null));
return;
}
// pay the speedup item
if (isFastFinish && !player.getInventory().payItem(107013,1)) {
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_FURNITURE_MAKE_UNFINISH_VALUE, makeId, null, null));
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_FURNITURE_MAKE_UNFINISH, makeId, null, null));
return;
}
@ -124,11 +125,11 @@ public class FurnitureManager extends BasePlayerManager {
player.getInventory().addItem(makeData.getFurnitureItemID(), makeData.getCount());
player.getHome().getFurnitureMakeSlotItemList().remove(slotItem.get());
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_SUCC_VALUE, makeId,
List.of(ItemParamOuterClass.ItemParam.newBuilder()
.setItemId(makeData.getFurnitureItemID())
.setCount(makeData.getCount())
.build()),
val itemParam = new ItemParam();
itemParam.setItemId(makeData.getFurnitureItemID());
itemParam.setCount(makeData.getCount());
player.getSession().send(new PacketTakeFurnitureMakeRsp(Retcode.RET_SUCC, makeId,
List.of(itemParam),
player.getHome().getFurnitureMakeSlotItemList().stream()
.map(FurnitureMakeSlotItem::toProto)
.toList()

View File

@ -1,15 +1,12 @@
package emu.grasscutter.server.packet.recv;
import emu.grasscutter.net.packet.Opcodes;
import emu.grasscutter.net.packet.PacketHandler;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.packet.TypedPacketHandler;
import emu.grasscutter.server.game.GameSession;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeReq;
@Opcodes(PacketOpcodes.FurnitureMakeReq)
public class HandlerFurnitureMakeReq extends PacketHandler {
public class HandlerFurnitureMakeReq extends TypedPacketHandler<FurnitureMakeReq> {
@Override
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
public void handle(GameSession session, byte[] header, FurnitureMakeReq req) throws Exception {
session.getPlayer().getFurnitureManager().queryStatus();
}

View File

@ -1,20 +1,12 @@
package emu.grasscutter.server.packet.recv;
import emu.grasscutter.net.packet.Opcodes;
import emu.grasscutter.net.packet.PacketHandler;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.FurnitureMakeStartReqOuterClass;
import emu.grasscutter.net.packet.TypedPacketHandler;
import emu.grasscutter.server.game.GameSession;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeStartReq;
@Opcodes(PacketOpcodes.FurnitureMakeStartReq)
public class HandlerFurnitureMakeStartReq extends PacketHandler {
public class HandlerFurnitureMakeStartReq extends TypedPacketHandler<FurnitureMakeStartReq> {
@Override
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
var req = FurnitureMakeStartReqOuterClass.FurnitureMakeStartReq.parseFrom(payload);
public void handle(GameSession session, byte[] header, FurnitureMakeStartReq req) throws Exception {
session.getPlayer().getFurnitureManager().startMake(req.getMakeId(), req.getAvatarId());
}
}

View File

@ -1,17 +1,13 @@
package emu.grasscutter.server.packet.recv;
import emu.grasscutter.net.packet.Opcodes;
import emu.grasscutter.net.packet.PacketHandler;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.packet.TypedPacketHandler;
import emu.grasscutter.server.game.GameSession;
import emu.grasscutter.server.packet.send.PacketFurnitureCurModuleArrangeCountNotify;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.GetFurnitureCurModuleArrangeCountReq;
@Opcodes(PacketOpcodes.GetFurnitureCurModuleArrangeCountReq)
public class HandlerGetFurnitureCurModuleArrangeCountReq extends PacketHandler {
public class HandlerGetFurnitureCurModuleArrangeCountReq extends TypedPacketHandler<GetFurnitureCurModuleArrangeCountReq> {
@Override
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
public void handle(GameSession session, byte[] header, GetFurnitureCurModuleArrangeCountReq req) throws Exception {
session.send(new PacketFurnitureCurModuleArrangeCountNotify());
}
}

View File

@ -1,19 +1,12 @@
package emu.grasscutter.server.packet.recv;
import emu.grasscutter.net.packet.Opcodes;
import emu.grasscutter.net.packet.PacketHandler;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.TakeFurnitureMakeReqOuterClass;
import emu.grasscutter.net.packet.TypedPacketHandler;
import emu.grasscutter.server.game.GameSession;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.TakeFurnitureMakeReq;
@Opcodes(PacketOpcodes.TakeFurnitureMakeReq)
public class HandlerTakeFurnitureMakeReq extends PacketHandler {
public class HandlerTakeFurnitureMakeReq extends TypedPacketHandler<TakeFurnitureMakeReq> {
@Override
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
var req = TakeFurnitureMakeReqOuterClass.TakeFurnitureMakeReq.parseFrom(payload);
session.getPlayer().getFurnitureManager().take(req.getIndex(), req.getMakeId(), req.getIsFastFinish());
public void handle(GameSession session, byte[] header, TakeFurnitureMakeReq req) throws Exception {
session.getPlayer().getFurnitureManager().take(req.getIndex(), req.getMakeId(), req.isFastFinish());
}
}

View File

@ -1,19 +1,11 @@
package emu.grasscutter.server.packet.send;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.FurnitureCurModuleArrangeCountNotifyOuterClass;
import emu.grasscutter.net.proto.Uint32PairOuterClass;
public class PacketFurnitureCurModuleArrangeCountNotify extends BasePacket {
import emu.grasscutter.net.packet.BaseTypedPacket;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureCurModuleArrangeCountNotify;
public class PacketFurnitureCurModuleArrangeCountNotify extends BaseTypedPacket<FurnitureCurModuleArrangeCountNotify> {
public PacketFurnitureCurModuleArrangeCountNotify() {
super(PacketOpcodes.FurnitureCurModuleArrangeCountNotify);
var proto = FurnitureCurModuleArrangeCountNotifyOuterClass.FurnitureCurModuleArrangeCountNotify.newBuilder();
super(new FurnitureCurModuleArrangeCountNotify());
// TODO
this.setData(proto);
}
}

View File

@ -2,24 +2,19 @@ package emu.grasscutter.server.packet.send;
import emu.grasscutter.game.home.FurnitureMakeSlotItem;
import emu.grasscutter.game.home.GameHome;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.FurnitureMakeRspOuterClass;
import emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass;
import emu.grasscutter.net.packet.BaseTypedPacket;
import lombok.val;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeRsp;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeSlot;
public class PacketFurnitureMakeRsp extends BasePacket {
public class PacketFurnitureMakeRsp extends BaseTypedPacket<FurnitureMakeRsp> {
public PacketFurnitureMakeRsp(GameHome home) {
super(PacketOpcodes.FurnitureMakeRsp);
var proto = FurnitureMakeRspOuterClass.FurnitureMakeRsp.newBuilder();
proto.setFurnitureMakeSlot(FurnitureMakeSlotOuterClass.FurnitureMakeSlot.newBuilder()
.addAllFurnitureMakeDataList(home.getFurnitureMakeSlotItemList().stream()
.map(FurnitureMakeSlotItem::toProto)
.toList())
.build());
this.setData(proto);
super(new FurnitureMakeRsp());
val furnitureMakeSlot = new FurnitureMakeSlot();
furnitureMakeSlot.setFurnitureMakeDataList(home.getFurnitureMakeSlotItemList().stream()
.map(FurnitureMakeSlotItem::toProto)
.toList());
proto.setFurnitureMakeSlot(furnitureMakeSlot);
}
}

View File

@ -1,28 +1,23 @@
package emu.grasscutter.server.packet.send;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.FurnitureMakeDataOuterClass;
import emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass;
import emu.grasscutter.net.proto.FurnitureMakeStartRspOuterClass;
import emu.grasscutter.net.packet.BaseTypedPacket;
import lombok.val;
import org.anime_game_servers.multi_proto.gi.messages.general.Retcode;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeData;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeSlot;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeStartRsp;
import java.util.List;
public class PacketFurnitureMakeStartRsp extends BasePacket {
public class PacketFurnitureMakeStartRsp extends BaseTypedPacket<FurnitureMakeStartRsp> {
public PacketFurnitureMakeStartRsp(Retcode ret, List<FurnitureMakeData> furnitureMakeData) {
super(new FurnitureMakeStartRsp());
proto.setRetcode(ret);
public PacketFurnitureMakeStartRsp(int ret, List<FurnitureMakeDataOuterClass.FurnitureMakeData> furnitureMakeData) {
super(PacketOpcodes.FurnitureMakeStartRsp);
var proto = FurnitureMakeStartRspOuterClass.FurnitureMakeStartRsp.newBuilder();
proto.setRetcode(ret);
if(furnitureMakeData != null){
proto.setFurnitureMakeSlot(FurnitureMakeSlotOuterClass.FurnitureMakeSlot.newBuilder()
.addAllFurnitureMakeDataList(furnitureMakeData)
.build());
}
this.setData(proto);
}
if (furnitureMakeData != null) {
val furnitureMakeSlot = new FurnitureMakeSlot();
furnitureMakeSlot.setFurnitureMakeDataList(furnitureMakeData);
proto.setFurnitureMakeSlot(furnitureMakeSlot);
}
}
}

View File

@ -1,38 +1,32 @@
package emu.grasscutter.server.packet.send;
import emu.grasscutter.data.common.ItemParamData;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.FurnitureMakeDataOuterClass;
import emu.grasscutter.net.proto.FurnitureMakeSlotOuterClass;
import emu.grasscutter.net.proto.ItemParamOuterClass;
import emu.grasscutter.net.proto.TakeFurnitureMakeRspOuterClass;
import emu.grasscutter.net.packet.BaseTypedPacket;
import lombok.val;
import org.anime_game_servers.multi_proto.gi.messages.general.item.ItemParam;
import org.anime_game_servers.multi_proto.gi.messages.general.Retcode;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeData;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.FurnitureMakeSlot;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.TakeFurnitureMakeRsp;
import java.util.List;
public class PacketTakeFurnitureMakeRsp extends BasePacket {
public class PacketTakeFurnitureMakeRsp extends BaseTypedPacket<TakeFurnitureMakeRsp> {
public PacketTakeFurnitureMakeRsp(Retcode ret,
int makeId,
List<ItemParam> output,
List<FurnitureMakeData> others) {
super(new TakeFurnitureMakeRsp());
proto.setRetcode(ret);
proto.setMakeId(makeId);
public PacketTakeFurnitureMakeRsp(int ret,
int makeId,
List<ItemParamOuterClass.ItemParam> output,
List<FurnitureMakeDataOuterClass.FurnitureMakeData> others) {
super(PacketOpcodes.TakeFurnitureMakeRsp);
if (output != null) {
proto.setOutputItemList(output);
}
var proto = TakeFurnitureMakeRspOuterClass.TakeFurnitureMakeRsp.newBuilder();
proto.setRetcode(ret)
.setMakeId(makeId);
if(output != null){
proto.addAllOutputItemList(output);
}
if(others != null){
proto.setFurnitureMakeSlot(FurnitureMakeSlotOuterClass.FurnitureMakeSlot.newBuilder()
.addAllFurnitureMakeDataList(others)
.build());
}
this.setData(proto);
}
if (others != null) {
val furnitureMakeSlot = new FurnitureMakeSlot();
furnitureMakeSlot.setFurnitureMakeDataList(others);
proto.setFurnitureMakeSlot(furnitureMakeSlot);
}
}
}

View File

@ -1,21 +1,14 @@
package emu.grasscutter.server.packet.send;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.UnlockedFurnitureFormulaDataNotifyOuterClass;
import emu.grasscutter.net.packet.BaseTypedPacket;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.UnlockedFurnitureFormulaDataNotify;
import java.util.Set;
public class PacketUnlockedFurnitureFormulaDataNotify extends BasePacket {
public class PacketUnlockedFurnitureFormulaDataNotify extends BaseTypedPacket<UnlockedFurnitureFormulaDataNotify> {
public PacketUnlockedFurnitureFormulaDataNotify(Set<Integer> unlockList) {
super(PacketOpcodes.UnlockedFurnitureFormulaDataNotify);
var proto = UnlockedFurnitureFormulaDataNotifyOuterClass.UnlockedFurnitureFormulaDataNotify.newBuilder();
proto.addAllFurnitureIdList(unlockList);
proto.setIsAll(true);
this.setData(proto);
super(new UnlockedFurnitureFormulaDataNotify());
proto.setFurnitureIdList(unlockList.stream().toList());
proto.setAll(true);
}
}

View File

@ -1,21 +1,14 @@
package emu.grasscutter.server.packet.send;
import emu.grasscutter.net.packet.BasePacket;
import emu.grasscutter.net.packet.PacketOpcodes;
import emu.grasscutter.net.proto.UnlockedFurnitureSuiteDataNotifyOuterClass;
import emu.grasscutter.net.packet.BaseTypedPacket;
import org.anime_game_servers.multi_proto.gi.messages.serenitea_pot.furniture.UnlockedFurnitureSuiteDataNotify;
import java.util.Set;
public class PacketUnlockedFurnitureSuiteDataNotify extends BasePacket {
public class PacketUnlockedFurnitureSuiteDataNotify extends BaseTypedPacket<UnlockedFurnitureSuiteDataNotify> {
public PacketUnlockedFurnitureSuiteDataNotify(Set<Integer> unlockList) {
super(PacketOpcodes.UnlockedFurnitureSuiteDataNotify);
var proto = UnlockedFurnitureSuiteDataNotifyOuterClass.UnlockedFurnitureSuiteDataNotify.newBuilder();
proto.addAllFurnitureSuiteIdList(unlockList);
proto.setIsAll(true);
this.setData(proto);
super(new UnlockedFurnitureSuiteDataNotify());
proto.setFurnitureSuiteIdList(unlockList.stream().toList());
proto.setAll(true);
}
}