diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetFriendShowNameCardInfoReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetFriendShowNameCardInfoReqOuterClass.java
new file mode 100644
index 000000000..e1461cebe
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetFriendShowNameCardInfoReqOuterClass.java
@@ -0,0 +1,550 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: GetFriendShowNameCardInfoReq.proto
+
+package emu.grasscutter.net.proto;
+
+public final class GetFriendShowNameCardInfoReqOuterClass {
+ private GetFriendShowNameCardInfoReqOuterClass() {}
+ 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 GetFriendShowNameCardInfoReqOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetFriendShowNameCardInfoReq)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * uint32 uid = 3;
+ * @return The uid.
+ */
+ int getUid();
+ }
+ /**
+ *
+ * CmdId: 4061 + * EnetChannelId: 0 + * EnetIsReliable: true + * IsAllowClient: true + *+ * + * Protobuf type {@code GetFriendShowNameCardInfoReq} + */ + public static final class GetFriendShowNameCardInfoReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GetFriendShowNameCardInfoReq) + GetFriendShowNameCardInfoReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetFriendShowNameCardInfoReq.newBuilder() to construct. + private GetFriendShowNameCardInfoReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private GetFriendShowNameCardInfoReq() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetFriendShowNameCardInfoReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetFriendShowNameCardInfoReq( + 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 24: { + + 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.GetFriendShowNameCardInfoReqOuterClass.internal_static_GetFriendShowNameCardInfoReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.internal_static_GetFriendShowNameCardInfoReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq.class, emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq.Builder.class); + } + + public static final int UID_FIELD_NUMBER = 3; + private int uid_; + /** + *
uint32 uid = 3;
+ * @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 (uid_ != 0) {
+ output.writeUInt32(3, uid_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (uid_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(3, 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.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq other = (emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq) obj;
+
+ 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) + UID_FIELD_NUMBER;
+ hash = (53 * hash) + getUid();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq 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.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq 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.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq 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.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq 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.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq 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.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq 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;
+ }
+ /**
+ * + * CmdId: 4061 + * EnetChannelId: 0 + * EnetIsReliable: true + * IsAllowClient: true + *+ * + * Protobuf type {@code GetFriendShowNameCardInfoReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
uint32 uid = 3;
+ * @return The uid.
+ */
+ @java.lang.Override
+ public int getUid() {
+ return uid_;
+ }
+ /**
+ * uint32 uid = 3;
+ * @param value The uid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUid(int value) {
+
+ uid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 uid = 3;
+ * @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:GetFriendShowNameCardInfoReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetFriendShowNameCardInfoReq)
+ private static final emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq();
+ }
+
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoReqOuterClass.GetFriendShowNameCardInfoReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserint32 retcode = 15;
+ * @return The retcode.
+ */
+ int getRetcode();
+
+ /**
+ * uint32 uid = 7;
+ * @return The uid.
+ */
+ int getUid();
+
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @return A list containing the showNameCardIdList.
+ */
+ java.util.Listrepeated uint32 show_name_card_id_list = 10;
+ * @return The count of showNameCardIdList.
+ */
+ int getShowNameCardIdListCount();
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ int getShowNameCardIdList(int index);
+ }
+ /**
+ * + * CmdId: 4029 + * EnetChannelId: 0 + * EnetIsReliable: true + *+ * + * Protobuf type {@code GetFriendShowNameCardInfoRsp} + */ + public static final class GetFriendShowNameCardInfoRsp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GetFriendShowNameCardInfoRsp) + GetFriendShowNameCardInfoRspOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetFriendShowNameCardInfoRsp.newBuilder() to construct. + private GetFriendShowNameCardInfoRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private GetFriendShowNameCardInfoRsp() { + showNameCardIdList_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetFriendShowNameCardInfoRsp(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetFriendShowNameCardInfoRsp( + 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 56: { + + uid_ = input.readUInt32(); + break; + } + case 80: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + showNameCardIdList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + showNameCardIdList_.addInt(input.readUInt32()); + break; + } + case 82: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + showNameCardIdList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + showNameCardIdList_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 120: { + + 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 { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + showNameCardIdList_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.internal_static_GetFriendShowNameCardInfoRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.internal_static_GetFriendShowNameCardInfoRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp.class, emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp.Builder.class); + } + + public static final int RETCODE_FIELD_NUMBER = 15; + private int retcode_; + /** + *
int32 retcode = 15;
+ * @return The retcode.
+ */
+ @java.lang.Override
+ public int getRetcode() {
+ return retcode_;
+ }
+
+ public static final int UID_FIELD_NUMBER = 7;
+ private int uid_;
+ /**
+ * uint32 uid = 7;
+ * @return The uid.
+ */
+ @java.lang.Override
+ public int getUid() {
+ return uid_;
+ }
+
+ public static final int SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER = 10;
+ private com.google.protobuf.Internal.IntList showNameCardIdList_;
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @return A list containing the showNameCardIdList.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated uint32 show_name_card_id_list = 10;
+ * @return The count of showNameCardIdList.
+ */
+ public int getShowNameCardIdListCount() {
+ return showNameCardIdList_.size();
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ public int getShowNameCardIdList(int index) {
+ return showNameCardIdList_.getInt(index);
+ }
+ private int showNameCardIdListMemoizedSerializedSize = -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 (uid_ != 0) {
+ output.writeUInt32(7, uid_);
+ }
+ if (getShowNameCardIdListList().size() > 0) {
+ output.writeUInt32NoTag(82);
+ output.writeUInt32NoTag(showNameCardIdListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < showNameCardIdList_.size(); i++) {
+ output.writeUInt32NoTag(showNameCardIdList_.getInt(i));
+ }
+ if (retcode_ != 0) {
+ output.writeInt32(15, retcode_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (uid_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(7, uid_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < showNameCardIdList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(showNameCardIdList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getShowNameCardIdListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ showNameCardIdListMemoizedSerializedSize = dataSize;
+ }
+ if (retcode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(15, 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.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp other = (emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp) obj;
+
+ if (getRetcode()
+ != other.getRetcode()) return false;
+ if (getUid()
+ != other.getUid()) return false;
+ if (!getShowNameCardIdListList()
+ .equals(other.getShowNameCardIdListList())) 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) + RETCODE_FIELD_NUMBER;
+ hash = (53 * hash) + getRetcode();
+ hash = (37 * hash) + UID_FIELD_NUMBER;
+ hash = (53 * hash) + getUid();
+ if (getShowNameCardIdListCount() > 0) {
+ hash = (37 * hash) + SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getShowNameCardIdListList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp 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.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp 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.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp 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.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp 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.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp 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.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp 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;
+ }
+ /**
+ * + * CmdId: 4029 + * EnetChannelId: 0 + * EnetIsReliable: true + *+ * + * Protobuf type {@code GetFriendShowNameCardInfoRsp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
int32 retcode = 15;
+ * @return The retcode.
+ */
+ @java.lang.Override
+ public int getRetcode() {
+ return retcode_;
+ }
+ /**
+ * int32 retcode = 15;
+ * @param value The retcode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRetcode(int value) {
+
+ retcode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 retcode = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearRetcode() {
+
+ retcode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int uid_ ;
+ /**
+ * uint32 uid = 7;
+ * @return The uid.
+ */
+ @java.lang.Override
+ public int getUid() {
+ return uid_;
+ }
+ /**
+ * uint32 uid = 7;
+ * @param value The uid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUid(int value) {
+
+ uid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 uid = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearUid() {
+
+ uid_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList showNameCardIdList_ = emptyIntList();
+ private void ensureShowNameCardIdListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ showNameCardIdList_ = mutableCopy(showNameCardIdList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @return A list containing the showNameCardIdList.
+ */
+ public java.util.Listrepeated uint32 show_name_card_id_list = 10;
+ * @return The count of showNameCardIdList.
+ */
+ public int getShowNameCardIdListCount() {
+ return showNameCardIdList_.size();
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ public int getShowNameCardIdList(int index) {
+ return showNameCardIdList_.getInt(index);
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @param index The index to set the value at.
+ * @param value The showNameCardIdList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShowNameCardIdList(
+ int index, int value) {
+ ensureShowNameCardIdListIsMutable();
+ showNameCardIdList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @param value The showNameCardIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addShowNameCardIdList(int value) {
+ ensureShowNameCardIdListIsMutable();
+ showNameCardIdList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @param values The showNameCardIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllShowNameCardIdList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureShowNameCardIdListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, showNameCardIdList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearShowNameCardIdList() {
+ showNameCardIdList_ = 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:GetFriendShowNameCardInfoRsp)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetFriendShowNameCardInfoRsp)
+ private static final emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp();
+ }
+
+ public static emu.grasscutter.net.proto.GetFriendShowNameCardInfoRspOuterClass.GetFriendShowNameCardInfoRsp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated uint32 show_name_card_id_list = 15;
+ * @return A list containing the showNameCardIdList.
+ */
+ java.util.Listrepeated uint32 show_name_card_id_list = 15;
+ * @return The count of showNameCardIdList.
+ */
+ int getShowNameCardIdListCount();
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ int getShowNameCardIdList(int index);
+ }
+ /**
+ * + * CmdId: 4002 + * EnetChannelId: 0 + * EnetIsReliable: true + * IsAllowClient: true + *+ * + * Protobuf type {@code UpdatePlayerShowNameCardListReq} + */ + public static final class UpdatePlayerShowNameCardListReq extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UpdatePlayerShowNameCardListReq) + UpdatePlayerShowNameCardListReqOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdatePlayerShowNameCardListReq.newBuilder() to construct. + private UpdatePlayerShowNameCardListReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private UpdatePlayerShowNameCardListReq() { + showNameCardIdList_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpdatePlayerShowNameCardListReq(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpdatePlayerShowNameCardListReq( + 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 120: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + showNameCardIdList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + showNameCardIdList_.addInt(input.readUInt32()); + break; + } + case 122: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + showNameCardIdList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + showNameCardIdList_.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)) { + showNameCardIdList_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.internal_static_UpdatePlayerShowNameCardListReq_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.internal_static_UpdatePlayerShowNameCardListReq_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq.class, emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq.Builder.class); + } + + public static final int SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER = 15; + private com.google.protobuf.Internal.IntList showNameCardIdList_; + /** + *
repeated uint32 show_name_card_id_list = 15;
+ * @return A list containing the showNameCardIdList.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated uint32 show_name_card_id_list = 15;
+ * @return The count of showNameCardIdList.
+ */
+ public int getShowNameCardIdListCount() {
+ return showNameCardIdList_.size();
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ public int getShowNameCardIdList(int index) {
+ return showNameCardIdList_.getInt(index);
+ }
+ private int showNameCardIdListMemoizedSerializedSize = -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 (getShowNameCardIdListList().size() > 0) {
+ output.writeUInt32NoTag(122);
+ output.writeUInt32NoTag(showNameCardIdListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < showNameCardIdList_.size(); i++) {
+ output.writeUInt32NoTag(showNameCardIdList_.getInt(i));
+ }
+ 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 < showNameCardIdList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(showNameCardIdList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getShowNameCardIdListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ showNameCardIdListMemoizedSerializedSize = 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.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq other = (emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq) obj;
+
+ if (!getShowNameCardIdListList()
+ .equals(other.getShowNameCardIdListList())) 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 (getShowNameCardIdListCount() > 0) {
+ hash = (37 * hash) + SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getShowNameCardIdListList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq 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.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq 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.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq 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.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq 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.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq 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.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq 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;
+ }
+ /**
+ * + * CmdId: 4002 + * EnetChannelId: 0 + * EnetIsReliable: true + * IsAllowClient: true + *+ * + * Protobuf type {@code UpdatePlayerShowNameCardListReq} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
repeated uint32 show_name_card_id_list = 15;
+ * @return A list containing the showNameCardIdList.
+ */
+ public java.util.Listrepeated uint32 show_name_card_id_list = 15;
+ * @return The count of showNameCardIdList.
+ */
+ public int getShowNameCardIdListCount() {
+ return showNameCardIdList_.size();
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ public int getShowNameCardIdList(int index) {
+ return showNameCardIdList_.getInt(index);
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @param index The index to set the value at.
+ * @param value The showNameCardIdList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShowNameCardIdList(
+ int index, int value) {
+ ensureShowNameCardIdListIsMutable();
+ showNameCardIdList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @param value The showNameCardIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addShowNameCardIdList(int value) {
+ ensureShowNameCardIdListIsMutable();
+ showNameCardIdList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @param values The showNameCardIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllShowNameCardIdList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureShowNameCardIdListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, showNameCardIdList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearShowNameCardIdList() {
+ showNameCardIdList_ = 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:UpdatePlayerShowNameCardListReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:UpdatePlayerShowNameCardListReq)
+ private static final emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq();
+ }
+
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListReqOuterClass.UpdatePlayerShowNameCardListReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserint32 retcode = 13;
+ * @return The retcode.
+ */
+ int getRetcode();
+
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @return A list containing the showNameCardIdList.
+ */
+ java.util.Listrepeated uint32 show_name_card_id_list = 12;
+ * @return The count of showNameCardIdList.
+ */
+ int getShowNameCardIdListCount();
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ int getShowNameCardIdList(int index);
+ }
+ /**
+ * + * CmdId: 4019 + * EnetChannelId: 0 + * EnetIsReliable: true + *+ * + * Protobuf type {@code UpdatePlayerShowNameCardListRsp} + */ + public static final class UpdatePlayerShowNameCardListRsp extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UpdatePlayerShowNameCardListRsp) + UpdatePlayerShowNameCardListRspOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdatePlayerShowNameCardListRsp.newBuilder() to construct. + private UpdatePlayerShowNameCardListRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + private UpdatePlayerShowNameCardListRsp() { + showNameCardIdList_ = emptyIntList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpdatePlayerShowNameCardListRsp(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpdatePlayerShowNameCardListRsp( + 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 96: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + showNameCardIdList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + showNameCardIdList_.addInt(input.readUInt32()); + break; + } + case 98: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + showNameCardIdList_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + showNameCardIdList_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 104: { + + 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 { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + showNameCardIdList_.makeImmutable(); // C + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.internal_static_UpdatePlayerShowNameCardListRsp_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.internal_static_UpdatePlayerShowNameCardListRsp_fieldAccessorTable + .ensureFieldAccessorsInitialized( + emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp.class, emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp.Builder.class); + } + + public static final int RETCODE_FIELD_NUMBER = 13; + private int retcode_; + /** + *
int32 retcode = 13;
+ * @return The retcode.
+ */
+ @java.lang.Override
+ public int getRetcode() {
+ return retcode_;
+ }
+
+ public static final int SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER = 12;
+ private com.google.protobuf.Internal.IntList showNameCardIdList_;
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @return A list containing the showNameCardIdList.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated uint32 show_name_card_id_list = 12;
+ * @return The count of showNameCardIdList.
+ */
+ public int getShowNameCardIdListCount() {
+ return showNameCardIdList_.size();
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ public int getShowNameCardIdList(int index) {
+ return showNameCardIdList_.getInt(index);
+ }
+ private int showNameCardIdListMemoizedSerializedSize = -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 (getShowNameCardIdListList().size() > 0) {
+ output.writeUInt32NoTag(98);
+ output.writeUInt32NoTag(showNameCardIdListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < showNameCardIdList_.size(); i++) {
+ output.writeUInt32NoTag(showNameCardIdList_.getInt(i));
+ }
+ if (retcode_ != 0) {
+ output.writeInt32(13, retcode_);
+ }
+ 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 < showNameCardIdList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(showNameCardIdList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getShowNameCardIdListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ showNameCardIdListMemoizedSerializedSize = dataSize;
+ }
+ if (retcode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(13, 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.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp other = (emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp) obj;
+
+ if (getRetcode()
+ != other.getRetcode()) return false;
+ if (!getShowNameCardIdListList()
+ .equals(other.getShowNameCardIdListList())) 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) + RETCODE_FIELD_NUMBER;
+ hash = (53 * hash) + getRetcode();
+ if (getShowNameCardIdListCount() > 0) {
+ hash = (37 * hash) + SHOW_NAME_CARD_ID_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getShowNameCardIdListList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp 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.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp 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.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp 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.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp 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.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp 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.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp 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;
+ }
+ /**
+ * + * CmdId: 4019 + * EnetChannelId: 0 + * EnetIsReliable: true + *+ * + * Protobuf type {@code UpdatePlayerShowNameCardListRsp} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder
int32 retcode = 13;
+ * @return The retcode.
+ */
+ @java.lang.Override
+ public int getRetcode() {
+ return retcode_;
+ }
+ /**
+ * int32 retcode = 13;
+ * @param value The retcode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRetcode(int value) {
+
+ retcode_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 retcode = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearRetcode() {
+
+ retcode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Internal.IntList showNameCardIdList_ = emptyIntList();
+ private void ensureShowNameCardIdListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ showNameCardIdList_ = mutableCopy(showNameCardIdList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @return A list containing the showNameCardIdList.
+ */
+ public java.util.Listrepeated uint32 show_name_card_id_list = 12;
+ * @return The count of showNameCardIdList.
+ */
+ public int getShowNameCardIdListCount() {
+ return showNameCardIdList_.size();
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @param index The index of the element to return.
+ * @return The showNameCardIdList at the given index.
+ */
+ public int getShowNameCardIdList(int index) {
+ return showNameCardIdList_.getInt(index);
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @param index The index to set the value at.
+ * @param value The showNameCardIdList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShowNameCardIdList(
+ int index, int value) {
+ ensureShowNameCardIdListIsMutable();
+ showNameCardIdList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @param value The showNameCardIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addShowNameCardIdList(int value) {
+ ensureShowNameCardIdListIsMutable();
+ showNameCardIdList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @param values The showNameCardIdList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllShowNameCardIdList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureShowNameCardIdListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, showNameCardIdList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 show_name_card_id_list = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearShowNameCardIdList() {
+ showNameCardIdList_ = 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:UpdatePlayerShowNameCardListRsp)
+ }
+
+ // @@protoc_insertion_point(class_scope:UpdatePlayerShowNameCardListRsp)
+ private static final emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp();
+ }
+
+ public static emu.grasscutter.net.proto.UpdatePlayerShowNameCardListRspOuterClass.UpdatePlayerShowNameCardListRsp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser