getNameCardListList();
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @return The count of nameCardList.
*/
int getNameCardListCount();
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @param index The index of the element to return.
* @return The nameCardList at the given index.
*/
int getNameCardList(int index);
/**
- * int32 retcode = 9;
+ * int32 retcode = 12;
* @return The retcode.
*/
int getRetcode();
}
/**
*
- * CmdId: 28550
- * Obf: MIOFHIOGCNF
+ * CmdId: 22367
*
*
* Protobuf type {@code GetAllUnlockNameCardRsp}
@@ -93,7 +92,12 @@ private GetAllUnlockNameCardRsp(
case 0:
done = true;
break;
- case 64: {
+ case 96: {
+
+ retcode_ = input.readInt32();
+ break;
+ }
+ case 120: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
nameCardList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -101,7 +105,7 @@ private GetAllUnlockNameCardRsp(
nameCardList_.addInt(input.readUInt32());
break;
}
- case 66: {
+ case 122: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -114,11 +118,6 @@ private GetAllUnlockNameCardRsp(
input.popLimit(limit);
break;
}
- case 72: {
-
- retcode_ = input.readInt32();
- break;
- }
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -154,10 +153,10 @@ private GetAllUnlockNameCardRsp(
emu.grasscutter.net.proto.GetAllUnlockNameCardRspOuterClass.GetAllUnlockNameCardRsp.class, emu.grasscutter.net.proto.GetAllUnlockNameCardRspOuterClass.GetAllUnlockNameCardRsp.Builder.class);
}
- public static final int NAME_CARD_LIST_FIELD_NUMBER = 8;
+ public static final int NAME_CARD_LIST_FIELD_NUMBER = 15;
private com.google.protobuf.Internal.IntList nameCardList_;
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @return A list containing the nameCardList.
*/
@java.lang.Override
@@ -166,14 +165,14 @@ private GetAllUnlockNameCardRsp(
return nameCardList_;
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @return The count of nameCardList.
*/
public int getNameCardListCount() {
return nameCardList_.size();
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @param index The index of the element to return.
* @return The nameCardList at the given index.
*/
@@ -182,10 +181,10 @@ public int getNameCardList(int index) {
}
private int nameCardListMemoizedSerializedSize = -1;
- public static final int RETCODE_FIELD_NUMBER = 9;
+ public static final int RETCODE_FIELD_NUMBER = 12;
private int retcode_;
/**
- * int32 retcode = 9;
+ * int32 retcode = 12;
* @return The retcode.
*/
@java.lang.Override
@@ -208,16 +207,16 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
+ if (retcode_ != 0) {
+ output.writeInt32(12, retcode_);
+ }
if (getNameCardListList().size() > 0) {
- output.writeUInt32NoTag(66);
+ output.writeUInt32NoTag(122);
output.writeUInt32NoTag(nameCardListMemoizedSerializedSize);
}
for (int i = 0; i < nameCardList_.size(); i++) {
output.writeUInt32NoTag(nameCardList_.getInt(i));
}
- if (retcode_ != 0) {
- output.writeInt32(9, retcode_);
- }
unknownFields.writeTo(output);
}
@@ -227,6 +226,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
+ if (retcode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(12, retcode_);
+ }
{
int dataSize = 0;
for (int i = 0; i < nameCardList_.size(); i++) {
@@ -241,10 +244,6 @@ public int getSerializedSize() {
}
nameCardListMemoizedSerializedSize = dataSize;
}
- if (retcode_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(9, retcode_);
- }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -378,8 +377,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 28550
- * Obf: MIOFHIOGCNF
+ * CmdId: 22367
*
*
* Protobuf type {@code GetAllUnlockNameCardRsp}
@@ -555,7 +553,7 @@ private void ensureNameCardListIsMutable() {
}
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @return A list containing the nameCardList.
*/
public java.util.List
@@ -564,14 +562,14 @@ private void ensureNameCardListIsMutable() {
java.util.Collections.unmodifiableList(nameCardList_) : nameCardList_;
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @return The count of nameCardList.
*/
public int getNameCardListCount() {
return nameCardList_.size();
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @param index The index of the element to return.
* @return The nameCardList at the given index.
*/
@@ -579,7 +577,7 @@ public int getNameCardList(int index) {
return nameCardList_.getInt(index);
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @param index The index to set the value at.
* @param value The nameCardList to set.
* @return This builder for chaining.
@@ -592,7 +590,7 @@ public Builder setNameCardList(
return this;
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @param value The nameCardList to add.
* @return This builder for chaining.
*/
@@ -603,7 +601,7 @@ public Builder addNameCardList(int value) {
return this;
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @param values The nameCardList to add.
* @return This builder for chaining.
*/
@@ -616,7 +614,7 @@ public Builder addAllNameCardList(
return this;
}
/**
- * repeated uint32 name_card_list = 8;
+ * repeated uint32 name_card_list = 15;
* @return This builder for chaining.
*/
public Builder clearNameCardList() {
@@ -628,7 +626,7 @@ public Builder clearNameCardList() {
private int retcode_ ;
/**
- * int32 retcode = 9;
+ * int32 retcode = 12;
* @return The retcode.
*/
@java.lang.Override
@@ -636,7 +634,7 @@ public int getRetcode() {
return retcode_;
}
/**
- * int32 retcode = 9;
+ * int32 retcode = 12;
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -647,7 +645,7 @@ public Builder setRetcode(int value) {
return this;
}
/**
- * int32 retcode = 9;
+ * int32 retcode = 12;
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -724,8 +722,8 @@ public emu.grasscutter.net.proto.GetAllUnlockNameCardRspOuterClass.GetAllUnlockN
static {
java.lang.String[] descriptorData = {
"\n\035GetAllUnlockNameCardRsp.proto\"B\n\027GetAl" +
- "lUnlockNameCardRsp\022\026\n\016name_card_list\030\010 \003" +
- "(\r\022\017\n\007retcode\030\t \001(\005B\033\n\031emu.grasscutter.n" +
+ "lUnlockNameCardRsp\022\026\n\016name_card_list\030\017 \003" +
+ "(\r\022\017\n\007retcode\030\014 \001(\005B\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyReqOuterClass.java
index 11136385dae..22578712c1e 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyReqOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyReqOuterClass.java
@@ -19,33 +19,32 @@ public interface GetAuthkeyReqOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 PGANJHDNINM = 7;
- * @return The pGANJHDNINM.
- */
- int getPGANJHDNINM();
-
- /**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return The authAppid.
*/
java.lang.String getAuthAppid();
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return The bytes for authAppid.
*/
com.google.protobuf.ByteString
getAuthAppidBytes();
/**
- * uint32 BIGHJAIBJJK = 14;
- * @return The bIGHJAIBJJK.
+ * uint32 OEMFLAILONG = 6;
+ * @return The oEMFLAILONG.
+ */
+ int getOEMFLAILONG();
+
+ /**
+ * uint32 GOABEJGJJJP = 7;
+ * @return The gOABEJGJJJP.
*/
- int getBIGHJAIBJJK();
+ int getGOABEJGJJJP();
}
/**
*
- * CmdId: 27875
- * Obf: DCPMJKGKCGE
+ * CmdId: 20204
*
*
* Protobuf type {@code GetAuthkeyReq}
@@ -93,20 +92,20 @@ private GetAuthkeyReq(
case 0:
done = true;
break;
- case 18: {
+ case 10: {
java.lang.String s = input.readStringRequireUtf8();
authAppid_ = s;
break;
}
- case 56: {
+ case 48: {
- pGANJHDNINM_ = input.readUInt32();
+ oEMFLAILONG_ = input.readUInt32();
break;
}
- case 112: {
+ case 56: {
- bIGHJAIBJJK_ = input.readUInt32();
+ gOABEJGJJJP_ = input.readUInt32();
break;
}
default: {
@@ -141,21 +140,10 @@ private GetAuthkeyReq(
emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq.class, emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq.Builder.class);
}
- public static final int PGANJHDNINM_FIELD_NUMBER = 7;
- private int pGANJHDNINM_;
- /**
- * uint32 PGANJHDNINM = 7;
- * @return The pGANJHDNINM.
- */
- @java.lang.Override
- public int getPGANJHDNINM() {
- return pGANJHDNINM_;
- }
-
- public static final int AUTH_APPID_FIELD_NUMBER = 2;
+ public static final int AUTH_APPID_FIELD_NUMBER = 1;
private volatile java.lang.Object authAppid_;
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return The authAppid.
*/
@java.lang.Override
@@ -172,7 +160,7 @@ public java.lang.String getAuthAppid() {
}
}
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return The bytes for authAppid.
*/
@java.lang.Override
@@ -190,15 +178,26 @@ public java.lang.String getAuthAppid() {
}
}
- public static final int BIGHJAIBJJK_FIELD_NUMBER = 14;
- private int bIGHJAIBJJK_;
+ public static final int OEMFLAILONG_FIELD_NUMBER = 6;
+ private int oEMFLAILONG_;
+ /**
+ * uint32 OEMFLAILONG = 6;
+ * @return The oEMFLAILONG.
+ */
+ @java.lang.Override
+ public int getOEMFLAILONG() {
+ return oEMFLAILONG_;
+ }
+
+ public static final int GOABEJGJJJP_FIELD_NUMBER = 7;
+ private int gOABEJGJJJP_;
/**
- * uint32 BIGHJAIBJJK = 14;
- * @return The bIGHJAIBJJK.
+ * uint32 GOABEJGJJJP = 7;
+ * @return The gOABEJGJJJP.
*/
@java.lang.Override
- public int getBIGHJAIBJJK() {
- return bIGHJAIBJJK_;
+ public int getGOABEJGJJJP() {
+ return gOABEJGJJJP_;
}
private byte memoizedIsInitialized = -1;
@@ -216,13 +215,13 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authAppid_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, authAppid_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, authAppid_);
}
- if (pGANJHDNINM_ != 0) {
- output.writeUInt32(7, pGANJHDNINM_);
+ if (oEMFLAILONG_ != 0) {
+ output.writeUInt32(6, oEMFLAILONG_);
}
- if (bIGHJAIBJJK_ != 0) {
- output.writeUInt32(14, bIGHJAIBJJK_);
+ if (gOABEJGJJJP_ != 0) {
+ output.writeUInt32(7, gOABEJGJJJP_);
}
unknownFields.writeTo(output);
}
@@ -234,15 +233,15 @@ public int getSerializedSize() {
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authAppid_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, authAppid_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, authAppid_);
}
- if (pGANJHDNINM_ != 0) {
+ if (oEMFLAILONG_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(7, pGANJHDNINM_);
+ .computeUInt32Size(6, oEMFLAILONG_);
}
- if (bIGHJAIBJJK_ != 0) {
+ if (gOABEJGJJJP_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(14, bIGHJAIBJJK_);
+ .computeUInt32Size(7, gOABEJGJJJP_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -259,12 +258,12 @@ public boolean equals(final java.lang.Object obj) {
}
emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq other = (emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq) obj;
- if (getPGANJHDNINM()
- != other.getPGANJHDNINM()) return false;
if (!getAuthAppid()
.equals(other.getAuthAppid())) return false;
- if (getBIGHJAIBJJK()
- != other.getBIGHJAIBJJK()) return false;
+ if (getOEMFLAILONG()
+ != other.getOEMFLAILONG()) return false;
+ if (getGOABEJGJJJP()
+ != other.getGOABEJGJJJP()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -276,12 +275,12 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + PGANJHDNINM_FIELD_NUMBER;
- hash = (53 * hash) + getPGANJHDNINM();
hash = (37 * hash) + AUTH_APPID_FIELD_NUMBER;
hash = (53 * hash) + getAuthAppid().hashCode();
- hash = (37 * hash) + BIGHJAIBJJK_FIELD_NUMBER;
- hash = (53 * hash) + getBIGHJAIBJJK();
+ hash = (37 * hash) + OEMFLAILONG_FIELD_NUMBER;
+ hash = (53 * hash) + getOEMFLAILONG();
+ hash = (37 * hash) + GOABEJGJJJP_FIELD_NUMBER;
+ hash = (53 * hash) + getGOABEJGJJJP();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -379,8 +378,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 27875
- * Obf: DCPMJKGKCGE
+ * CmdId: 20204
*
*
* Protobuf type {@code GetAuthkeyReq}
@@ -420,11 +418,11 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- pGANJHDNINM_ = 0;
-
authAppid_ = "";
- bIGHJAIBJJK_ = 0;
+ oEMFLAILONG_ = 0;
+
+ gOABEJGJJJP_ = 0;
return this;
}
@@ -452,9 +450,9 @@ public emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq build() {
@java.lang.Override
public emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq buildPartial() {
emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq result = new emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq(this);
- result.pGANJHDNINM_ = pGANJHDNINM_;
result.authAppid_ = authAppid_;
- result.bIGHJAIBJJK_ = bIGHJAIBJJK_;
+ result.oEMFLAILONG_ = oEMFLAILONG_;
+ result.gOABEJGJJJP_ = gOABEJGJJJP_;
onBuilt();
return result;
}
@@ -503,15 +501,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq other) {
if (other == emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq.getDefaultInstance()) return this;
- if (other.getPGANJHDNINM() != 0) {
- setPGANJHDNINM(other.getPGANJHDNINM());
- }
if (!other.getAuthAppid().isEmpty()) {
authAppid_ = other.authAppid_;
onChanged();
}
- if (other.getBIGHJAIBJJK() != 0) {
- setBIGHJAIBJJK(other.getBIGHJAIBJJK());
+ if (other.getOEMFLAILONG() != 0) {
+ setOEMFLAILONG(other.getOEMFLAILONG());
+ }
+ if (other.getGOABEJGJJJP() != 0) {
+ setGOABEJGJJJP(other.getGOABEJGJJJP());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -542,40 +540,9 @@ public Builder mergeFrom(
return this;
}
- private int pGANJHDNINM_ ;
- /**
- * uint32 PGANJHDNINM = 7;
- * @return The pGANJHDNINM.
- */
- @java.lang.Override
- public int getPGANJHDNINM() {
- return pGANJHDNINM_;
- }
- /**
- * uint32 PGANJHDNINM = 7;
- * @param value The pGANJHDNINM to set.
- * @return This builder for chaining.
- */
- public Builder setPGANJHDNINM(int value) {
-
- pGANJHDNINM_ = value;
- onChanged();
- return this;
- }
- /**
- * uint32 PGANJHDNINM = 7;
- * @return This builder for chaining.
- */
- public Builder clearPGANJHDNINM() {
-
- pGANJHDNINM_ = 0;
- onChanged();
- return this;
- }
-
private java.lang.Object authAppid_ = "";
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return The authAppid.
*/
public java.lang.String getAuthAppid() {
@@ -591,7 +558,7 @@ public java.lang.String getAuthAppid() {
}
}
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return The bytes for authAppid.
*/
public com.google.protobuf.ByteString
@@ -608,7 +575,7 @@ public java.lang.String getAuthAppid() {
}
}
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @param value The authAppid to set.
* @return This builder for chaining.
*/
@@ -623,7 +590,7 @@ public Builder setAuthAppid(
return this;
}
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @return This builder for chaining.
*/
public Builder clearAuthAppid() {
@@ -633,7 +600,7 @@ public Builder clearAuthAppid() {
return this;
}
/**
- * string auth_appid = 2;
+ * string auth_appid = 1;
* @param value The bytes for authAppid to set.
* @return This builder for chaining.
*/
@@ -649,33 +616,64 @@ public Builder setAuthAppidBytes(
return this;
}
- private int bIGHJAIBJJK_ ;
+ private int oEMFLAILONG_ ;
+ /**
+ * uint32 OEMFLAILONG = 6;
+ * @return The oEMFLAILONG.
+ */
+ @java.lang.Override
+ public int getOEMFLAILONG() {
+ return oEMFLAILONG_;
+ }
+ /**
+ * uint32 OEMFLAILONG = 6;
+ * @param value The oEMFLAILONG to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOEMFLAILONG(int value) {
+
+ oEMFLAILONG_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 OEMFLAILONG = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearOEMFLAILONG() {
+
+ oEMFLAILONG_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int gOABEJGJJJP_ ;
/**
- * uint32 BIGHJAIBJJK = 14;
- * @return The bIGHJAIBJJK.
+ * uint32 GOABEJGJJJP = 7;
+ * @return The gOABEJGJJJP.
*/
@java.lang.Override
- public int getBIGHJAIBJJK() {
- return bIGHJAIBJJK_;
+ public int getGOABEJGJJJP() {
+ return gOABEJGJJJP_;
}
/**
- * uint32 BIGHJAIBJJK = 14;
- * @param value The bIGHJAIBJJK to set.
+ * uint32 GOABEJGJJJP = 7;
+ * @param value The gOABEJGJJJP to set.
* @return This builder for chaining.
*/
- public Builder setBIGHJAIBJJK(int value) {
+ public Builder setGOABEJGJJJP(int value) {
- bIGHJAIBJJK_ = value;
+ gOABEJGJJJP_ = value;
onChanged();
return this;
}
/**
- * uint32 BIGHJAIBJJK = 14;
+ * uint32 GOABEJGJJJP = 7;
* @return This builder for chaining.
*/
- public Builder clearBIGHJAIBJJK() {
+ public Builder clearGOABEJGJJJP() {
- bIGHJAIBJJK_ = 0;
+ gOABEJGJJJP_ = 0;
onChanged();
return this;
}
@@ -746,9 +744,9 @@ public emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq getDefaul
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\023GetAuthkeyReq.proto\"M\n\rGetAuthkeyReq\022\023" +
- "\n\013PGANJHDNINM\030\007 \001(\r\022\022\n\nauth_appid\030\002 \001(\t\022" +
- "\023\n\013BIGHJAIBJJK\030\016 \001(\rB\033\n\031emu.grasscutter." +
+ "\n\023GetAuthkeyReq.proto\"M\n\rGetAuthkeyReq\022\022" +
+ "\n\nauth_appid\030\001 \001(\t\022\023\n\013OEMFLAILONG\030\006 \001(\r\022" +
+ "\023\n\013GOABEJGJJJP\030\007 \001(\rB\033\n\031emu.grasscutter." +
"net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -760,7 +758,7 @@ public emu.grasscutter.net.proto.GetAuthkeyReqOuterClass.GetAuthkeyReq getDefaul
internal_static_GetAuthkeyReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetAuthkeyReq_descriptor,
- new java.lang.String[] { "PGANJHDNINM", "AuthAppid", "BIGHJAIBJJK", });
+ new java.lang.String[] { "AuthAppid", "OEMFLAILONG", "GOABEJGJJJP", });
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyRspOuterClass.java
index a9af63e1e7b..238661ebfff 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyRspOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyRspOuterClass.java
@@ -19,63 +19,62 @@ public interface GetAuthkeyRspOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 PGANJHDNINM = 7;
- * @return The pGANJHDNINM.
- */
- int getPGANJHDNINM();
-
- /**
- * string authkey = 12;
- * @return The authkey.
- */
- java.lang.String getAuthkey();
- /**
- * string authkey = 12;
- * @return The bytes for authkey.
- */
- com.google.protobuf.ByteString
- getAuthkeyBytes();
-
- /**
- * uint32 BIGHJAIBJJK = 2;
- * @return The bIGHJAIBJJK.
- */
- int getBIGHJAIBJJK();
-
- /**
- * int32 retcode = 9;
+ * int32 retcode = 1;
* @return The retcode.
*/
int getRetcode();
/**
- * string auth_appid = 5;
+ * string auth_appid = 2;
* @return The authAppid.
*/
java.lang.String getAuthAppid();
/**
- * string auth_appid = 5;
+ * string auth_appid = 2;
* @return The bytes for authAppid.
*/
com.google.protobuf.ByteString
getAuthAppidBytes();
/**
- * string game_biz = 1;
+ * string game_biz = 3;
* @return The gameBiz.
*/
java.lang.String getGameBiz();
/**
- * string game_biz = 1;
+ * string game_biz = 3;
* @return The bytes for gameBiz.
*/
com.google.protobuf.ByteString
getGameBizBytes();
+
+ /**
+ * uint32 GOABEJGJJJP = 4;
+ * @return The gOABEJGJJJP.
+ */
+ int getGOABEJGJJJP();
+
+ /**
+ * uint32 OEMFLAILONG = 7;
+ * @return The oEMFLAILONG.
+ */
+ int getOEMFLAILONG();
+
+ /**
+ * string authkey = 13;
+ * @return The authkey.
+ */
+ java.lang.String getAuthkey();
+ /**
+ * string authkey = 13;
+ * @return The bytes for authkey.
+ */
+ com.google.protobuf.ByteString
+ getAuthkeyBytes();
}
/**
*
- * CmdId: 29353
- * Obf: KNBBKOGAAHL
+ * CmdId: 383
*
*
* Protobuf type {@code GetAuthkeyRsp}
@@ -90,9 +89,9 @@ private GetAuthkeyRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder)
super(builder);
}
private GetAuthkeyRsp() {
- authkey_ = "";
authAppid_ = "";
gameBiz_ = "";
+ authkey_ = "";
}
@java.lang.Override
@@ -125,34 +124,34 @@ private GetAuthkeyRsp(
case 0:
done = true;
break;
- case 10: {
- java.lang.String s = input.readStringRequireUtf8();
+ case 8: {
- gameBiz_ = s;
+ retcode_ = input.readInt32();
break;
}
- case 16: {
+ case 18: {
+ java.lang.String s = input.readStringRequireUtf8();
- bIGHJAIBJJK_ = input.readUInt32();
+ authAppid_ = s;
break;
}
- case 42: {
+ case 26: {
java.lang.String s = input.readStringRequireUtf8();
- authAppid_ = s;
+ gameBiz_ = s;
break;
}
- case 56: {
+ case 32: {
- pGANJHDNINM_ = input.readUInt32();
+ gOABEJGJJJP_ = input.readUInt32();
break;
}
- case 72: {
+ case 56: {
- retcode_ = input.readInt32();
+ oEMFLAILONG_ = input.readUInt32();
break;
}
- case 98: {
+ case 106: {
java.lang.String s = input.readStringRequireUtf8();
authkey_ = s;
@@ -190,147 +189,147 @@ private GetAuthkeyRsp(
emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp.class, emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp.Builder.class);
}
- public static final int PGANJHDNINM_FIELD_NUMBER = 7;
- private int pGANJHDNINM_;
+ public static final int RETCODE_FIELD_NUMBER = 1;
+ private int retcode_;
/**
- * uint32 PGANJHDNINM = 7;
- * @return The pGANJHDNINM.
+ * int32 retcode = 1;
+ * @return The retcode.
*/
@java.lang.Override
- public int getPGANJHDNINM() {
- return pGANJHDNINM_;
+ public int getRetcode() {
+ return retcode_;
}
- public static final int AUTHKEY_FIELD_NUMBER = 12;
- private volatile java.lang.Object authkey_;
+ public static final int AUTH_APPID_FIELD_NUMBER = 2;
+ private volatile java.lang.Object authAppid_;
/**
- * string authkey = 12;
- * @return The authkey.
+ * string auth_appid = 2;
+ * @return The authAppid.
*/
@java.lang.Override
- public java.lang.String getAuthkey() {
- java.lang.Object ref = authkey_;
+ public java.lang.String getAuthAppid() {
+ java.lang.Object ref = authAppid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- authkey_ = s;
+ authAppid_ = s;
return s;
}
}
/**
- * string authkey = 12;
- * @return The bytes for authkey.
+ * string auth_appid = 2;
+ * @return The bytes for authAppid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
- getAuthkeyBytes() {
- java.lang.Object ref = authkey_;
+ getAuthAppidBytes() {
+ java.lang.Object ref = authAppid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- authkey_ = b;
+ authAppid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
- public static final int BIGHJAIBJJK_FIELD_NUMBER = 2;
- private int bIGHJAIBJJK_;
- /**
- * uint32 BIGHJAIBJJK = 2;
- * @return The bIGHJAIBJJK.
- */
- @java.lang.Override
- public int getBIGHJAIBJJK() {
- return bIGHJAIBJJK_;
- }
-
- public static final int RETCODE_FIELD_NUMBER = 9;
- private int retcode_;
- /**
- * int32 retcode = 9;
- * @return The retcode.
- */
- @java.lang.Override
- public int getRetcode() {
- return retcode_;
- }
-
- public static final int AUTH_APPID_FIELD_NUMBER = 5;
- private volatile java.lang.Object authAppid_;
+ public static final int GAME_BIZ_FIELD_NUMBER = 3;
+ private volatile java.lang.Object gameBiz_;
/**
- * string auth_appid = 5;
- * @return The authAppid.
+ * string game_biz = 3;
+ * @return The gameBiz.
*/
@java.lang.Override
- public java.lang.String getAuthAppid() {
- java.lang.Object ref = authAppid_;
+ public java.lang.String getGameBiz() {
+ java.lang.Object ref = gameBiz_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- authAppid_ = s;
+ gameBiz_ = s;
return s;
}
}
/**
- * string auth_appid = 5;
- * @return The bytes for authAppid.
+ * string game_biz = 3;
+ * @return The bytes for gameBiz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
- getAuthAppidBytes() {
- java.lang.Object ref = authAppid_;
+ getGameBizBytes() {
+ java.lang.Object ref = gameBiz_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- authAppid_ = b;
+ gameBiz_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
- public static final int GAME_BIZ_FIELD_NUMBER = 1;
- private volatile java.lang.Object gameBiz_;
+ public static final int GOABEJGJJJP_FIELD_NUMBER = 4;
+ private int gOABEJGJJJP_;
/**
- * string game_biz = 1;
- * @return The gameBiz.
+ * uint32 GOABEJGJJJP = 4;
+ * @return The gOABEJGJJJP.
*/
@java.lang.Override
- public java.lang.String getGameBiz() {
- java.lang.Object ref = gameBiz_;
+ public int getGOABEJGJJJP() {
+ return gOABEJGJJJP_;
+ }
+
+ public static final int OEMFLAILONG_FIELD_NUMBER = 7;
+ private int oEMFLAILONG_;
+ /**
+ * uint32 OEMFLAILONG = 7;
+ * @return The oEMFLAILONG.
+ */
+ @java.lang.Override
+ public int getOEMFLAILONG() {
+ return oEMFLAILONG_;
+ }
+
+ public static final int AUTHKEY_FIELD_NUMBER = 13;
+ private volatile java.lang.Object authkey_;
+ /**
+ * string authkey = 13;
+ * @return The authkey.
+ */
+ @java.lang.Override
+ public java.lang.String getAuthkey() {
+ java.lang.Object ref = authkey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- gameBiz_ = s;
+ authkey_ = s;
return s;
}
}
/**
- * string game_biz = 1;
- * @return The bytes for gameBiz.
+ * string authkey = 13;
+ * @return The bytes for authkey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
- getGameBizBytes() {
- java.lang.Object ref = gameBiz_;
+ getAuthkeyBytes() {
+ java.lang.Object ref = authkey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- gameBiz_ = b;
+ authkey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -351,23 +350,23 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gameBiz_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gameBiz_);
- }
- if (bIGHJAIBJJK_ != 0) {
- output.writeUInt32(2, bIGHJAIBJJK_);
+ if (retcode_ != 0) {
+ output.writeInt32(1, retcode_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authAppid_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, authAppid_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, authAppid_);
}
- if (pGANJHDNINM_ != 0) {
- output.writeUInt32(7, pGANJHDNINM_);
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gameBiz_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gameBiz_);
}
- if (retcode_ != 0) {
- output.writeInt32(9, retcode_);
+ if (gOABEJGJJJP_ != 0) {
+ output.writeUInt32(4, gOABEJGJJJP_);
+ }
+ if (oEMFLAILONG_ != 0) {
+ output.writeUInt32(7, oEMFLAILONG_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authkey_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 12, authkey_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, authkey_);
}
unknownFields.writeTo(output);
}
@@ -378,26 +377,26 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gameBiz_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, gameBiz_);
- }
- if (bIGHJAIBJJK_ != 0) {
+ if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, bIGHJAIBJJK_);
+ .computeInt32Size(1, retcode_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authAppid_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authAppid_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, authAppid_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gameBiz_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gameBiz_);
}
- if (pGANJHDNINM_ != 0) {
+ if (gOABEJGJJJP_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(7, pGANJHDNINM_);
+ .computeUInt32Size(4, gOABEJGJJJP_);
}
- if (retcode_ != 0) {
+ if (oEMFLAILONG_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(9, retcode_);
+ .computeUInt32Size(7, oEMFLAILONG_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authkey_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, authkey_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, authkey_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -414,18 +413,18 @@ public boolean equals(final java.lang.Object obj) {
}
emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp other = (emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp) obj;
- if (getPGANJHDNINM()
- != other.getPGANJHDNINM()) return false;
- if (!getAuthkey()
- .equals(other.getAuthkey())) return false;
- if (getBIGHJAIBJJK()
- != other.getBIGHJAIBJJK()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!getAuthAppid()
.equals(other.getAuthAppid())) return false;
if (!getGameBiz()
.equals(other.getGameBiz())) return false;
+ if (getGOABEJGJJJP()
+ != other.getGOABEJGJJJP()) return false;
+ if (getOEMFLAILONG()
+ != other.getOEMFLAILONG()) return false;
+ if (!getAuthkey()
+ .equals(other.getAuthkey())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -437,18 +436,18 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + PGANJHDNINM_FIELD_NUMBER;
- hash = (53 * hash) + getPGANJHDNINM();
- hash = (37 * hash) + AUTHKEY_FIELD_NUMBER;
- hash = (53 * hash) + getAuthkey().hashCode();
- hash = (37 * hash) + BIGHJAIBJJK_FIELD_NUMBER;
- hash = (53 * hash) + getBIGHJAIBJJK();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + AUTH_APPID_FIELD_NUMBER;
hash = (53 * hash) + getAuthAppid().hashCode();
hash = (37 * hash) + GAME_BIZ_FIELD_NUMBER;
hash = (53 * hash) + getGameBiz().hashCode();
+ hash = (37 * hash) + GOABEJGJJJP_FIELD_NUMBER;
+ hash = (53 * hash) + getGOABEJGJJJP();
+ hash = (37 * hash) + OEMFLAILONG_FIELD_NUMBER;
+ hash = (53 * hash) + getOEMFLAILONG();
+ hash = (37 * hash) + AUTHKEY_FIELD_NUMBER;
+ hash = (53 * hash) + getAuthkey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -546,8 +545,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 29353
- * Obf: KNBBKOGAAHL
+ * CmdId: 383
*
*
* Protobuf type {@code GetAuthkeyRsp}
@@ -587,18 +585,18 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- pGANJHDNINM_ = 0;
-
- authkey_ = "";
-
- bIGHJAIBJJK_ = 0;
-
retcode_ = 0;
authAppid_ = "";
gameBiz_ = "";
+ gOABEJGJJJP_ = 0;
+
+ oEMFLAILONG_ = 0;
+
+ authkey_ = "";
+
return this;
}
@@ -625,12 +623,12 @@ public emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp build() {
@java.lang.Override
public emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp buildPartial() {
emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp result = new emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp(this);
- result.pGANJHDNINM_ = pGANJHDNINM_;
- result.authkey_ = authkey_;
- result.bIGHJAIBJJK_ = bIGHJAIBJJK_;
result.retcode_ = retcode_;
result.authAppid_ = authAppid_;
result.gameBiz_ = gameBiz_;
+ result.gOABEJGJJJP_ = gOABEJGJJJP_;
+ result.oEMFLAILONG_ = oEMFLAILONG_;
+ result.authkey_ = authkey_;
onBuilt();
return result;
}
@@ -679,16 +677,6 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp other) {
if (other == emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp.getDefaultInstance()) return this;
- if (other.getPGANJHDNINM() != 0) {
- setPGANJHDNINM(other.getPGANJHDNINM());
- }
- if (!other.getAuthkey().isEmpty()) {
- authkey_ = other.authkey_;
- onChanged();
- }
- if (other.getBIGHJAIBJJK() != 0) {
- setBIGHJAIBJJK(other.getBIGHJAIBJJK());
- }
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
@@ -700,6 +688,16 @@ public Builder mergeFrom(emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAu
gameBiz_ = other.gameBiz_;
onChanged();
}
+ if (other.getGOABEJGJJJP() != 0) {
+ setGOABEJGJJJP(other.getGOABEJGJJJP());
+ }
+ if (other.getOEMFLAILONG() != 0) {
+ setOEMFLAILONG(other.getOEMFLAILONG());
+ }
+ if (!other.getAuthkey().isEmpty()) {
+ authkey_ = other.authkey_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -729,323 +727,323 @@ public Builder mergeFrom(
return this;
}
- private int pGANJHDNINM_ ;
+ private int retcode_ ;
/**
- * uint32 PGANJHDNINM = 7;
- * @return The pGANJHDNINM.
+ * int32 retcode = 1;
+ * @return The retcode.
*/
@java.lang.Override
- public int getPGANJHDNINM() {
- return pGANJHDNINM_;
+ public int getRetcode() {
+ return retcode_;
}
/**
- * uint32 PGANJHDNINM = 7;
- * @param value The pGANJHDNINM to set.
+ * int32 retcode = 1;
+ * @param value The retcode to set.
* @return This builder for chaining.
*/
- public Builder setPGANJHDNINM(int value) {
+ public Builder setRetcode(int value) {
- pGANJHDNINM_ = value;
+ retcode_ = value;
onChanged();
return this;
}
/**
- * uint32 PGANJHDNINM = 7;
+ * int32 retcode = 1;
* @return This builder for chaining.
*/
- public Builder clearPGANJHDNINM() {
+ public Builder clearRetcode() {
- pGANJHDNINM_ = 0;
+ retcode_ = 0;
onChanged();
return this;
}
- private java.lang.Object authkey_ = "";
+ private java.lang.Object authAppid_ = "";
/**
- * string authkey = 12;
- * @return The authkey.
+ * string auth_appid = 2;
+ * @return The authAppid.
*/
- public java.lang.String getAuthkey() {
- java.lang.Object ref = authkey_;
+ public java.lang.String getAuthAppid() {
+ java.lang.Object ref = authAppid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- authkey_ = s;
+ authAppid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
- * string authkey = 12;
- * @return The bytes for authkey.
+ * string auth_appid = 2;
+ * @return The bytes for authAppid.
*/
public com.google.protobuf.ByteString
- getAuthkeyBytes() {
- java.lang.Object ref = authkey_;
+ getAuthAppidBytes() {
+ java.lang.Object ref = authAppid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- authkey_ = b;
+ authAppid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
- * string authkey = 12;
- * @param value The authkey to set.
+ * string auth_appid = 2;
+ * @param value The authAppid to set.
* @return This builder for chaining.
*/
- public Builder setAuthkey(
+ public Builder setAuthAppid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- authkey_ = value;
+ authAppid_ = value;
onChanged();
return this;
}
/**
- * string authkey = 12;
+ * string auth_appid = 2;
* @return This builder for chaining.
*/
- public Builder clearAuthkey() {
+ public Builder clearAuthAppid() {
- authkey_ = getDefaultInstance().getAuthkey();
+ authAppid_ = getDefaultInstance().getAuthAppid();
onChanged();
return this;
}
/**
- * string authkey = 12;
- * @param value The bytes for authkey to set.
+ * string auth_appid = 2;
+ * @param value The bytes for authAppid to set.
* @return This builder for chaining.
*/
- public Builder setAuthkeyBytes(
+ public Builder setAuthAppidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- authkey_ = value;
+ authAppid_ = value;
onChanged();
return this;
}
- private int bIGHJAIBJJK_ ;
+ private java.lang.Object gameBiz_ = "";
/**
- * uint32 BIGHJAIBJJK = 2;
- * @return The bIGHJAIBJJK.
+ * string game_biz = 3;
+ * @return The gameBiz.
*/
- @java.lang.Override
- public int getBIGHJAIBJJK() {
- return bIGHJAIBJJK_;
+ public java.lang.String getGameBiz() {
+ java.lang.Object ref = gameBiz_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ gameBiz_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
- * uint32 BIGHJAIBJJK = 2;
- * @param value The bIGHJAIBJJK to set.
+ * string game_biz = 3;
+ * @return The bytes for gameBiz.
+ */
+ public com.google.protobuf.ByteString
+ getGameBizBytes() {
+ java.lang.Object ref = gameBiz_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ gameBiz_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * string game_biz = 3;
+ * @param value The gameBiz to set.
* @return This builder for chaining.
*/
- public Builder setBIGHJAIBJJK(int value) {
+ public Builder setGameBiz(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ gameBiz_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * string game_biz = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearGameBiz() {
- bIGHJAIBJJK_ = value;
+ gameBiz_ = getDefaultInstance().getGameBiz();
onChanged();
return this;
}
/**
- * uint32 BIGHJAIBJJK = 2;
+ * string game_biz = 3;
+ * @param value The bytes for gameBiz to set.
* @return This builder for chaining.
*/
- public Builder clearBIGHJAIBJJK() {
+ public Builder setGameBizBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
- bIGHJAIBJJK_ = 0;
+ gameBiz_ = value;
onChanged();
return this;
}
- private int retcode_ ;
+ private int gOABEJGJJJP_ ;
/**
- * int32 retcode = 9;
- * @return The retcode.
+ * uint32 GOABEJGJJJP = 4;
+ * @return The gOABEJGJJJP.
*/
@java.lang.Override
- public int getRetcode() {
- return retcode_;
+ public int getGOABEJGJJJP() {
+ return gOABEJGJJJP_;
}
/**
- * int32 retcode = 9;
- * @param value The retcode to set.
+ * uint32 GOABEJGJJJP = 4;
+ * @param value The gOABEJGJJJP to set.
* @return This builder for chaining.
*/
- public Builder setRetcode(int value) {
+ public Builder setGOABEJGJJJP(int value) {
- retcode_ = value;
+ gOABEJGJJJP_ = value;
onChanged();
return this;
}
/**
- * int32 retcode = 9;
+ * uint32 GOABEJGJJJP = 4;
* @return This builder for chaining.
*/
- public Builder clearRetcode() {
+ public Builder clearGOABEJGJJJP() {
- retcode_ = 0;
+ gOABEJGJJJP_ = 0;
onChanged();
return this;
}
- private java.lang.Object authAppid_ = "";
+ private int oEMFLAILONG_ ;
/**
- * string auth_appid = 5;
- * @return The authAppid.
+ * uint32 OEMFLAILONG = 7;
+ * @return The oEMFLAILONG.
*/
- public java.lang.String getAuthAppid() {
- java.lang.Object ref = authAppid_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- authAppid_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string auth_appid = 5;
- * @return The bytes for authAppid.
- */
- public com.google.protobuf.ByteString
- getAuthAppidBytes() {
- java.lang.Object ref = authAppid_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- authAppid_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string auth_appid = 5;
- * @param value The authAppid to set.
- * @return This builder for chaining.
- */
- public Builder setAuthAppid(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- authAppid_ = value;
- onChanged();
- return this;
+ @java.lang.Override
+ public int getOEMFLAILONG() {
+ return oEMFLAILONG_;
}
/**
- * string auth_appid = 5;
+ * uint32 OEMFLAILONG = 7;
+ * @param value The oEMFLAILONG to set.
* @return This builder for chaining.
*/
- public Builder clearAuthAppid() {
+ public Builder setOEMFLAILONG(int value) {
- authAppid_ = getDefaultInstance().getAuthAppid();
+ oEMFLAILONG_ = value;
onChanged();
return this;
}
/**
- * string auth_appid = 5;
- * @param value The bytes for authAppid to set.
+ * uint32 OEMFLAILONG = 7;
* @return This builder for chaining.
*/
- public Builder setAuthAppidBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
+ public Builder clearOEMFLAILONG() {
- authAppid_ = value;
+ oEMFLAILONG_ = 0;
onChanged();
return this;
}
- private java.lang.Object gameBiz_ = "";
+ private java.lang.Object authkey_ = "";
/**
- * string game_biz = 1;
- * @return The gameBiz.
+ * string authkey = 13;
+ * @return The authkey.
*/
- public java.lang.String getGameBiz() {
- java.lang.Object ref = gameBiz_;
+ public java.lang.String getAuthkey() {
+ java.lang.Object ref = authkey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- gameBiz_ = s;
+ authkey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
- * string game_biz = 1;
- * @return The bytes for gameBiz.
+ * string authkey = 13;
+ * @return The bytes for authkey.
*/
public com.google.protobuf.ByteString
- getGameBizBytes() {
- java.lang.Object ref = gameBiz_;
+ getAuthkeyBytes() {
+ java.lang.Object ref = authkey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
- gameBiz_ = b;
+ authkey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
- * string game_biz = 1;
- * @param value The gameBiz to set.
+ * string authkey = 13;
+ * @param value The authkey to set.
* @return This builder for chaining.
*/
- public Builder setGameBiz(
+ public Builder setAuthkey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- gameBiz_ = value;
+ authkey_ = value;
onChanged();
return this;
}
/**
- * string game_biz = 1;
+ * string authkey = 13;
* @return This builder for chaining.
*/
- public Builder clearGameBiz() {
+ public Builder clearAuthkey() {
- gameBiz_ = getDefaultInstance().getGameBiz();
+ authkey_ = getDefaultInstance().getAuthkey();
onChanged();
return this;
}
/**
- * string game_biz = 1;
- * @param value The bytes for gameBiz to set.
+ * string authkey = 13;
+ * @param value The bytes for authkey to set.
* @return This builder for chaining.
*/
- public Builder setGameBizBytes(
+ public Builder setAuthkeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- gameBiz_ = value;
+ authkey_ = value;
onChanged();
return this;
}
@@ -1117,9 +1115,9 @@ public emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp getDefaul
static {
java.lang.String[] descriptorData = {
"\n\023GetAuthkeyRsp.proto\"\201\001\n\rGetAuthkeyRsp\022" +
- "\023\n\013PGANJHDNINM\030\007 \001(\r\022\017\n\007authkey\030\014 \001(\t\022\023\n" +
- "\013BIGHJAIBJJK\030\002 \001(\r\022\017\n\007retcode\030\t \001(\005\022\022\n\na" +
- "uth_appid\030\005 \001(\t\022\020\n\010game_biz\030\001 \001(\tB\033\n\031emu" +
+ "\017\n\007retcode\030\001 \001(\005\022\022\n\nauth_appid\030\002 \001(\t\022\020\n\010" +
+ "game_biz\030\003 \001(\t\022\023\n\013GOABEJGJJJP\030\004 \001(\r\022\023\n\013O" +
+ "EMFLAILONG\030\007 \001(\r\022\017\n\007authkey\030\r \001(\tB\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -1131,7 +1129,7 @@ public emu.grasscutter.net.proto.GetAuthkeyRspOuterClass.GetAuthkeyRsp getDefaul
internal_static_GetAuthkeyRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetAuthkeyRsp_descriptor,
- new java.lang.String[] { "PGANJHDNINM", "Authkey", "BIGHJAIBJJK", "Retcode", "AuthAppid", "GameBiz", });
+ new java.lang.String[] { "Retcode", "AuthAppid", "GameBiz", "GOABEJGJJJP", "OEMFLAILONG", "Authkey", });
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/SceneInitFinishReq.java b/src/generated/main/java/emu/grasscutter/net/proto/GetHeadIconDataReqOuterClass.java
similarity index 59%
rename from src/generated/main/java/emu/grasscutter/net/proto/SceneInitFinishReq.java
rename to src/generated/main/java/emu/grasscutter/net/proto/GetHeadIconDataReqOuterClass.java
index a95f086dead..4df5d9844f0 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/SceneInitFinishReq.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetHeadIconDataReqOuterClass.java
@@ -1,10 +1,10 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: SceneInitFinishReq.proto
+// source: GetHeadIconDataReq.proto
package emu.grasscutter.net.proto;
-public final class SceneInitFinishReq {
- private SceneInitFinishReq() {}
+public final class GetHeadIconDataReqOuterClass {
+ private GetHeadIconDataReqOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
@@ -14,36 +14,34 @@ public static void registerAllExtensions(
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
- public interface EnterSceneReadyReqOrBuilder extends
- // @@protoc_insertion_point(interface_extends:EnterSceneReadyReq)
+ public interface GetHeadIconDataReqOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetHeadIconDataReq)
com.google.protobuf.MessageOrBuilder {
-
- /**
- * uint32 enter_scene_token = 1;
- * @return The enterSceneToken.
- */
- int getEnterSceneToken();
}
/**
- * Protobuf type {@code EnterSceneReadyReq}
+ *
+ * CmdId: 1648
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataReq}
*/
- public static final class EnterSceneReadyReq extends
+ public static final class GetHeadIconDataReq extends
com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:EnterSceneReadyReq)
- EnterSceneReadyReqOrBuilder {
+ // @@protoc_insertion_point(message_implements:GetHeadIconDataReq)
+ GetHeadIconDataReqOrBuilder {
private static final long serialVersionUID = 0L;
- // Use EnterSceneReadyReq.newBuilder() to construct.
- private EnterSceneReadyReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ // Use GetHeadIconDataReq.newBuilder() to construct.
+ private GetHeadIconDataReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
- private EnterSceneReadyReq() {
+ private GetHeadIconDataReq() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
- return new EnterSceneReadyReq();
+ return new GetHeadIconDataReq();
}
@java.lang.Override
@@ -51,7 +49,7 @@ protected java.lang.Object newInstance(
getUnknownFields() {
return this.unknownFields;
}
- private EnterSceneReadyReq(
+ private GetHeadIconDataReq(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -69,11 +67,6 @@ private EnterSceneReadyReq(
case 0:
done = true;
break;
- case 8: {
-
- enterSceneToken_ = input.readUInt32();
- break;
- }
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -95,26 +88,15 @@ private EnterSceneReadyReq(
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return emu.grasscutter.net.proto.SceneInitFinishReq.internal_static_EnterSceneReadyReq_descriptor;
+ return emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.internal_static_GetHeadIconDataReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return emu.grasscutter.net.proto.SceneInitFinishReq.internal_static_EnterSceneReadyReq_fieldAccessorTable
+ return emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.internal_static_GetHeadIconDataReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.class, emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.Builder.class);
- }
-
- public static final int ENTER_SCENE_TOKEN_FIELD_NUMBER = 1;
- private int enterSceneToken_;
- /**
- * uint32 enter_scene_token = 1;
- * @return The enterSceneToken.
- */
- @java.lang.Override
- public int getEnterSceneToken() {
- return enterSceneToken_;
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.class, emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.Builder.class);
}
private byte memoizedIsInitialized = -1;
@@ -131,9 +113,6 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (enterSceneToken_ != 0) {
- output.writeUInt32(1, enterSceneToken_);
- }
unknownFields.writeTo(output);
}
@@ -143,10 +122,6 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (enterSceneToken_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, enterSceneToken_);
- }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -157,13 +132,11 @@ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq)) {
+ if (!(obj instanceof emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq)) {
return super.equals(obj);
}
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq other = (emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq) obj;
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq other = (emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq) obj;
- if (getEnterSceneToken()
- != other.getEnterSceneToken()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -175,76 +148,74 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + ENTER_SCENE_TOKEN_FIELD_NUMBER;
- hash = (53 * hash) + getEnterSceneToken();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq 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.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq 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.SceneInitFinishReq.EnterSceneReadyReq parseFrom(byte[] data)
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(java.io.InputStream input)
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq 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.SceneInitFinishReq.EnterSceneReadyReq parseDelimitedFrom(java.io.InputStream input)
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseDelimitedFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq 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.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parseFrom(
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -257,7 +228,7 @@ public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq pa
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq prototype) {
+ public static Builder newBuilder(emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
@@ -273,26 +244,30 @@ protected Builder newBuilderForType(
return builder;
}
/**
- * Protobuf type {@code EnterSceneReadyReq}
+ *
+ * CmdId: 1648
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataReq}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:EnterSceneReadyReq)
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReqOrBuilder {
+ // @@protoc_insertion_point(builder_implements:GetHeadIconDataReq)
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReqOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
- return emu.grasscutter.net.proto.SceneInitFinishReq.internal_static_EnterSceneReadyReq_descriptor;
+ return emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.internal_static_GetHeadIconDataReq_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
- return emu.grasscutter.net.proto.SceneInitFinishReq.internal_static_EnterSceneReadyReq_fieldAccessorTable
+ return emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.internal_static_GetHeadIconDataReq_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.class, emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.Builder.class);
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.class, emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.Builder.class);
}
- // Construct using emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.newBuilder()
+ // Construct using emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
@@ -310,25 +285,23 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- enterSceneToken_ = 0;
-
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return emu.grasscutter.net.proto.SceneInitFinishReq.internal_static_EnterSceneReadyReq_descriptor;
+ return emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.internal_static_GetHeadIconDataReq_descriptor;
}
@java.lang.Override
- public emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq getDefaultInstanceForType() {
- return emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.getDefaultInstance();
+ public emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.getDefaultInstance();
}
@java.lang.Override
- public emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq build() {
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq result = buildPartial();
+ public emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq build() {
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
@@ -336,9 +309,8 @@ public emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq build() {
}
@java.lang.Override
- public emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq buildPartial() {
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq result = new emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq(this);
- result.enterSceneToken_ = enterSceneToken_;
+ public emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq buildPartial() {
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq result = new emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq(this);
onBuilt();
return result;
}
@@ -377,19 +349,16 @@ public Builder addRepeatedField(
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq) {
- return mergeFrom((emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq)other);
+ if (other instanceof emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq) {
+ return mergeFrom((emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq)other);
} else {
super.mergeFrom(other);
return this;
}
}
- public Builder mergeFrom(emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq other) {
- if (other == emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq.getDefaultInstance()) return this;
- if (other.getEnterSceneToken() != 0) {
- setEnterSceneToken(other.getEnterSceneToken());
- }
+ public Builder mergeFrom(emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq other) {
+ if (other == emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -405,11 +374,11 @@ public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq parsedMessage = null;
+ emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq) e.getUnfinishedMessage();
+ parsedMessage = (emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
@@ -418,37 +387,6 @@ public Builder mergeFrom(
}
return this;
}
-
- private int enterSceneToken_ ;
- /**
- * uint32 enter_scene_token = 1;
- * @return The enterSceneToken.
- */
- @java.lang.Override
- public int getEnterSceneToken() {
- return enterSceneToken_;
- }
- /**
- * uint32 enter_scene_token = 1;
- * @param value The enterSceneToken to set.
- * @return This builder for chaining.
- */
- public Builder setEnterSceneToken(int value) {
-
- enterSceneToken_ = value;
- onChanged();
- return this;
- }
- /**
- * uint32 enter_scene_token = 1;
- * @return This builder for chaining.
- */
- public Builder clearEnterSceneToken() {
-
- enterSceneToken_ = 0;
- onChanged();
- return this;
- }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -462,51 +400,51 @@ public final Builder mergeUnknownFields(
}
- // @@protoc_insertion_point(builder_scope:EnterSceneReadyReq)
+ // @@protoc_insertion_point(builder_scope:GetHeadIconDataReq)
}
- // @@protoc_insertion_point(class_scope:EnterSceneReadyReq)
- private static final emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:GetHeadIconDataReq)
+ private static final emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq();
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq();
}
- public static emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq getDefaultInstance() {
+ public static emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public EnterSceneReadyReq parsePartialFrom(
+ public GetHeadIconDataReq parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new EnterSceneReadyReq(input, extensionRegistry);
+ return new GetHeadIconDataReq(input, extensionRegistry);
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq getDefaultInstanceForType() {
+ public emu.grasscutter.net.proto.GetHeadIconDataReqOuterClass.GetHeadIconDataReq getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_EnterSceneReadyReq_descriptor;
+ internal_static_GetHeadIconDataReq_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_EnterSceneReadyReq_fieldAccessorTable;
+ internal_static_GetHeadIconDataReq_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
@@ -516,20 +454,20 @@ public emu.grasscutter.net.proto.SceneInitFinishReq.EnterSceneReadyReq getDefaul
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\030SceneInitFinishReq.proto\"/\n\022EnterScene" +
- "ReadyReq\022\031\n\021enter_scene_token\030\001 \001(\rB\033\n\031e" +
- "mu.grasscutter.net.protob\006proto3"
+ "\n\030GetHeadIconDataReq.proto\"\024\n\022GetHeadIco" +
+ "nDataReqB\033\n\031emu.grasscutter.net.protob\006p" +
+ "roto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
- internal_static_EnterSceneReadyReq_descriptor =
+ internal_static_GetHeadIconDataReq_descriptor =
getDescriptor().getMessageTypes().get(0);
- internal_static_EnterSceneReadyReq_fieldAccessorTable = new
+ internal_static_GetHeadIconDataReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_EnterSceneReadyReq_descriptor,
- new java.lang.String[] { "EnterSceneToken", });
+ internal_static_GetHeadIconDataReq_descriptor,
+ new java.lang.String[] { });
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetHeadIconDataRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetHeadIconDataRspOuterClass.java
new file mode 100644
index 00000000000..58f66b65b8a
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetHeadIconDataRspOuterClass.java
@@ -0,0 +1,744 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: GetHeadIconDataRsp.proto
+
+package emu.grasscutter.net.proto;
+
+public final class GetHeadIconDataRspOuterClass {
+ private GetHeadIconDataRspOuterClass() {}
+ 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 GetHeadIconDataRspOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetHeadIconDataRsp)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return A list containing the specialHeadIconList.
+ */
+ java.util.List getSpecialHeadIconListList();
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return The count of specialHeadIconList.
+ */
+ int getSpecialHeadIconListCount();
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @param index The index of the element to return.
+ * @return The specialHeadIconList at the given index.
+ */
+ int getSpecialHeadIconList(int index);
+
+ /**
+ * int32 retcode = 13;
+ * @return The retcode.
+ */
+ int getRetcode();
+ }
+ /**
+ *
+ * CmdId: 6565
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataRsp}
+ */
+ public static final class GetHeadIconDataRsp extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GetHeadIconDataRsp)
+ GetHeadIconDataRspOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GetHeadIconDataRsp.newBuilder() to construct.
+ private GetHeadIconDataRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GetHeadIconDataRsp() {
+ specialHeadIconList_ = emptyIntList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GetHeadIconDataRsp();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private GetHeadIconDataRsp(
+ 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: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ specialHeadIconList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ specialHeadIconList_.addInt(input.readUInt32());
+ break;
+ }
+ case 58: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
+ specialHeadIconList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ specialHeadIconList_.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)) {
+ specialHeadIconList_.makeImmutable(); // C
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.internal_static_GetHeadIconDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.internal_static_GetHeadIconDataRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.class, emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.Builder.class);
+ }
+
+ public static final int SPECIAL_HEAD_ICON_LIST_FIELD_NUMBER = 7;
+ private com.google.protobuf.Internal.IntList specialHeadIconList_;
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return A list containing the specialHeadIconList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getSpecialHeadIconListList() {
+ return specialHeadIconList_;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return The count of specialHeadIconList.
+ */
+ public int getSpecialHeadIconListCount() {
+ return specialHeadIconList_.size();
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @param index The index of the element to return.
+ * @return The specialHeadIconList at the given index.
+ */
+ public int getSpecialHeadIconList(int index) {
+ return specialHeadIconList_.getInt(index);
+ }
+ private int specialHeadIconListMemoizedSerializedSize = -1;
+
+ 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_;
+ }
+
+ 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 (getSpecialHeadIconListList().size() > 0) {
+ output.writeUInt32NoTag(58);
+ output.writeUInt32NoTag(specialHeadIconListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < specialHeadIconList_.size(); i++) {
+ output.writeUInt32NoTag(specialHeadIconList_.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 < specialHeadIconList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(specialHeadIconList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getSpecialHeadIconListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ specialHeadIconListMemoizedSerializedSize = 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp other = (emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp) obj;
+
+ if (!getSpecialHeadIconListList()
+ .equals(other.getSpecialHeadIconListList())) 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 (getSpecialHeadIconListCount() > 0) {
+ hash = (37 * hash) + SPECIAL_HEAD_ICON_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getSpecialHeadIconListList().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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp 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: 6565
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataRsp}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:GetHeadIconDataRsp)
+ emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRspOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.internal_static_GetHeadIconDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.internal_static_GetHeadIconDataRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.class, emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.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();
+ specialHeadIconList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ retcode_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.internal_static_GetHeadIconDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp build() {
+ emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp buildPartial() {
+ emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp result = new emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ specialHeadIconList_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.specialHeadIconList_ = specialHeadIconList_;
+ 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp) {
+ return mergeFrom((emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp other) {
+ if (other == emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp.getDefaultInstance()) return this;
+ if (!other.specialHeadIconList_.isEmpty()) {
+ if (specialHeadIconList_.isEmpty()) {
+ specialHeadIconList_ = other.specialHeadIconList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureSpecialHeadIconListIsMutable();
+ specialHeadIconList_.addAll(other.specialHeadIconList_);
+ }
+ onChanged();
+ }
+ 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.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.Internal.IntList specialHeadIconList_ = emptyIntList();
+ private void ensureSpecialHeadIconListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ specialHeadIconList_ = mutableCopy(specialHeadIconList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return A list containing the specialHeadIconList.
+ */
+ public java.util.List
+ getSpecialHeadIconListList() {
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(specialHeadIconList_) : specialHeadIconList_;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return The count of specialHeadIconList.
+ */
+ public int getSpecialHeadIconListCount() {
+ return specialHeadIconList_.size();
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @param index The index of the element to return.
+ * @return The specialHeadIconList at the given index.
+ */
+ public int getSpecialHeadIconList(int index) {
+ return specialHeadIconList_.getInt(index);
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @param index The index to set the value at.
+ * @param value The specialHeadIconList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpecialHeadIconList(
+ int index, int value) {
+ ensureSpecialHeadIconListIsMutable();
+ specialHeadIconList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @param value The specialHeadIconList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialHeadIconList(int value) {
+ ensureSpecialHeadIconListIsMutable();
+ specialHeadIconList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @param values The specialHeadIconList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSpecialHeadIconList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureSpecialHeadIconListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, specialHeadIconList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpecialHeadIconList() {
+ specialHeadIconList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ private int retcode_ ;
+ /**
+ * 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;
+ }
+ @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:GetHeadIconDataRsp)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetHeadIconDataRsp)
+ private static final emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp();
+ }
+
+ public static emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetHeadIconDataRsp parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new GetHeadIconDataRsp(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetHeadIconDataRspOuterClass.GetHeadIconDataRsp getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_GetHeadIconDataRsp_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_GetHeadIconDataRsp_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\030GetHeadIconDataRsp.proto\032\024PlayerHeadIc" +
+ "on.proto\"E\n\022GetHeadIconDataRsp\022\036\n\026specia" +
+ "l_head_icon_list\030\007 \003(\r\022\017\n\007retcode\030\r \001(\005B" +
+ "\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.PlayerHeadIconOuterClass.getDescriptor(),
+ });
+ internal_static_GetHeadIconDataRsp_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_GetHeadIconDataRsp_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_GetHeadIconDataRsp_descriptor,
+ new java.lang.String[] { "SpecialHeadIconList", "Retcode", });
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetPlayerHeadIconDataReq.java b/src/generated/main/java/emu/grasscutter/net/proto/GetPlayerHeadIconDataReq.java
new file mode 100644
index 00000000000..a7ea726333a
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetPlayerHeadIconDataReq.java
@@ -0,0 +1,474 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: GetPlayerHeadIconDataReq.proto
+
+package emu.grasscutter.net.proto;
+
+public final class GetPlayerHeadIconDataReq {
+ private GetPlayerHeadIconDataReq() {}
+ 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 GetHeadIconDataReqOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetHeadIconDataReq)
+ com.google.protobuf.MessageOrBuilder {
+ }
+ /**
+ *
+ * CmdId: 1648
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataReq}
+ */
+ public static final class GetHeadIconDataReq extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GetHeadIconDataReq)
+ GetHeadIconDataReqOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GetHeadIconDataReq.newBuilder() to construct.
+ private GetHeadIconDataReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GetHeadIconDataReq() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GetHeadIconDataReq();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private GetHeadIconDataReq(
+ 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;
+ 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.GetPlayerHeadIconDataReq.internal_static_GetHeadIconDataReq_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.internal_static_GetHeadIconDataReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.class, emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.Builder.class);
+ }
+
+ 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 {
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq other = (emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq) obj;
+
+ 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 = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq 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: 1648
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataReq}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:GetHeadIconDataReq)
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReqOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.internal_static_GetHeadIconDataReq_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.internal_static_GetHeadIconDataReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.class, emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.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();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.internal_static_GetHeadIconDataReq_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq build() {
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq buildPartial() {
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq result = new emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq(this);
+ 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq) {
+ return mergeFrom((emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq other) {
+ if (other == emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq.getDefaultInstance()) return this;
+ 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.GetPlayerHeadIconDataReq.GetHeadIconDataReq parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ 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:GetHeadIconDataReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetHeadIconDataReq)
+ private static final emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq();
+ }
+
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetHeadIconDataReq parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new GetHeadIconDataReq(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataReq.GetHeadIconDataReq getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_GetHeadIconDataReq_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_GetHeadIconDataReq_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\036GetPlayerHeadIconDataReq.proto\"\024\n\022GetH" +
+ "eadIconDataReqB\033\n\031emu.grasscutter.net.pr" +
+ "otob\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ });
+ internal_static_GetHeadIconDataReq_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_GetHeadIconDataReq_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_GetHeadIconDataReq_descriptor,
+ new java.lang.String[] { });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetPlayerHeadIconDataRsp.java b/src/generated/main/java/emu/grasscutter/net/proto/GetPlayerHeadIconDataRsp.java
new file mode 100644
index 00000000000..fc3f1dbcce7
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetPlayerHeadIconDataRsp.java
@@ -0,0 +1,852 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: GetPlayerHeadIconDataRsp.proto
+
+package emu.grasscutter.net.proto;
+
+public final class GetPlayerHeadIconDataRsp {
+ private GetPlayerHeadIconDataRsp() {}
+ 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 GetHeadIconDataRspOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetHeadIconDataRsp)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ java.util.List
+ getHeadIconListList();
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon getHeadIconList(int index);
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ int getHeadIconListCount();
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ java.util.List extends emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder>
+ getHeadIconListOrBuilderList();
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder getHeadIconListOrBuilder(
+ int index);
+ }
+ /**
+ *
+ * CmdId: 2845
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataRsp}
+ */
+ public static final class GetHeadIconDataRsp extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GetHeadIconDataRsp)
+ GetHeadIconDataRspOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GetHeadIconDataRsp.newBuilder() to construct.
+ private GetHeadIconDataRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GetHeadIconDataRsp() {
+ headIconList_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GetHeadIconDataRsp();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private GetHeadIconDataRsp(
+ 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 34: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ headIconList_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ headIconList_.add(
+ input.readMessage(emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.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)) {
+ headIconList_ = java.util.Collections.unmodifiableList(headIconList_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.internal_static_GetHeadIconDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.internal_static_GetHeadIconDataRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.class, emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.Builder.class);
+ }
+
+ public static final int HEAD_ICON_LIST_FIELD_NUMBER = 4;
+ private java.util.List headIconList_;
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ @java.lang.Override
+ public java.util.List getHeadIconListList() {
+ return headIconList_;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder>
+ getHeadIconListOrBuilderList() {
+ return headIconList_;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ @java.lang.Override
+ public int getHeadIconListCount() {
+ return headIconList_.size();
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ @java.lang.Override
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon getHeadIconList(int index) {
+ return headIconList_.get(index);
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ @java.lang.Override
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder getHeadIconListOrBuilder(
+ int index) {
+ return headIconList_.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 < headIconList_.size(); i++) {
+ output.writeMessage(4, headIconList_.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 < headIconList_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, headIconList_.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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp other = (emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp) obj;
+
+ if (!getHeadIconListList()
+ .equals(other.getHeadIconListList())) 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 (getHeadIconListCount() > 0) {
+ hash = (37 * hash) + HEAD_ICON_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getHeadIconListList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp 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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp 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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp 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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp 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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp 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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp 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: 2845
+ *
+ *
+ * Protobuf type {@code GetHeadIconDataRsp}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:GetHeadIconDataRsp)
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRspOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.internal_static_GetHeadIconDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.internal_static_GetHeadIconDataRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.class, emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ getHeadIconListFieldBuilder();
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ if (headIconListBuilder_ == null) {
+ headIconList_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ headIconListBuilder_.clear();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.internal_static_GetHeadIconDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp build() {
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp buildPartial() {
+ emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp result = new emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp(this);
+ int from_bitField0_ = bitField0_;
+ if (headIconListBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ headIconList_ = java.util.Collections.unmodifiableList(headIconList_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.headIconList_ = headIconList_;
+ } else {
+ result.headIconList_ = headIconListBuilder_.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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp) {
+ return mergeFrom((emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp other) {
+ if (other == emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp.getDefaultInstance()) return this;
+ if (headIconListBuilder_ == null) {
+ if (!other.headIconList_.isEmpty()) {
+ if (headIconList_.isEmpty()) {
+ headIconList_ = other.headIconList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureHeadIconListIsMutable();
+ headIconList_.addAll(other.headIconList_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.headIconList_.isEmpty()) {
+ if (headIconListBuilder_.isEmpty()) {
+ headIconListBuilder_.dispose();
+ headIconListBuilder_ = null;
+ headIconList_ = other.headIconList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ headIconListBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getHeadIconListFieldBuilder() : null;
+ } else {
+ headIconListBuilder_.addAllMessages(other.headIconList_);
+ }
+ }
+ }
+ 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.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private java.util.List headIconList_ =
+ java.util.Collections.emptyList();
+ private void ensureHeadIconListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ headIconList_ = new java.util.ArrayList(headIconList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder> headIconListBuilder_;
+
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public java.util.List getHeadIconListList() {
+ if (headIconListBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(headIconList_);
+ } else {
+ return headIconListBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public int getHeadIconListCount() {
+ if (headIconListBuilder_ == null) {
+ return headIconList_.size();
+ } else {
+ return headIconListBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon getHeadIconList(int index) {
+ if (headIconListBuilder_ == null) {
+ return headIconList_.get(index);
+ } else {
+ return headIconListBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder setHeadIconList(
+ int index, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon value) {
+ if (headIconListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureHeadIconListIsMutable();
+ headIconList_.set(index, value);
+ onChanged();
+ } else {
+ headIconListBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder setHeadIconList(
+ int index, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder builderForValue) {
+ if (headIconListBuilder_ == null) {
+ ensureHeadIconListIsMutable();
+ headIconList_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ headIconListBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder addHeadIconList(emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon value) {
+ if (headIconListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureHeadIconListIsMutable();
+ headIconList_.add(value);
+ onChanged();
+ } else {
+ headIconListBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder addHeadIconList(
+ int index, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon value) {
+ if (headIconListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureHeadIconListIsMutable();
+ headIconList_.add(index, value);
+ onChanged();
+ } else {
+ headIconListBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder addHeadIconList(
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder builderForValue) {
+ if (headIconListBuilder_ == null) {
+ ensureHeadIconListIsMutable();
+ headIconList_.add(builderForValue.build());
+ onChanged();
+ } else {
+ headIconListBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder addHeadIconList(
+ int index, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder builderForValue) {
+ if (headIconListBuilder_ == null) {
+ ensureHeadIconListIsMutable();
+ headIconList_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ headIconListBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder addAllHeadIconList(
+ java.lang.Iterable extends emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon> values) {
+ if (headIconListBuilder_ == null) {
+ ensureHeadIconListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, headIconList_);
+ onChanged();
+ } else {
+ headIconListBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder clearHeadIconList() {
+ if (headIconListBuilder_ == null) {
+ headIconList_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ headIconListBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public Builder removeHeadIconList(int index) {
+ if (headIconListBuilder_ == null) {
+ ensureHeadIconListIsMutable();
+ headIconList_.remove(index);
+ onChanged();
+ } else {
+ headIconListBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder getHeadIconListBuilder(
+ int index) {
+ return getHeadIconListFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder getHeadIconListOrBuilder(
+ int index) {
+ if (headIconListBuilder_ == null) {
+ return headIconList_.get(index); } else {
+ return headIconListBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public java.util.List extends emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder>
+ getHeadIconListOrBuilderList() {
+ if (headIconListBuilder_ != null) {
+ return headIconListBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(headIconList_);
+ }
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder addHeadIconListBuilder() {
+ return getHeadIconListFieldBuilder().addBuilder(
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.getDefaultInstance());
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder addHeadIconListBuilder(
+ int index) {
+ return getHeadIconListFieldBuilder().addBuilder(
+ index, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.getDefaultInstance());
+ }
+ /**
+ * repeated .PlayerHeadIcon head_icon_list = 4;
+ */
+ public java.util.List
+ getHeadIconListBuilderList() {
+ return getHeadIconListFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder>
+ getHeadIconListFieldBuilder() {
+ if (headIconListBuilder_ == null) {
+ headIconListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder>(
+ headIconList_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ headIconList_ = null;
+ }
+ return headIconListBuilder_;
+ }
+ @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:GetHeadIconDataRsp)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetHeadIconDataRsp)
+ private static final emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp();
+ }
+
+ public static emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetHeadIconDataRsp parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new GetHeadIconDataRsp(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetPlayerHeadIconDataRsp.GetHeadIconDataRsp getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_GetHeadIconDataRsp_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_GetHeadIconDataRsp_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\036GetPlayerHeadIconDataRsp.proto\032\024Player" +
+ "HeadIcon.proto\"=\n\022GetHeadIconDataRsp\022\'\n\016" +
+ "head_icon_list\030\004 \003(\0132\017.PlayerHeadIconB\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.PlayerHeadIconOuterClass.getDescriptor(),
+ });
+ internal_static_GetHeadIconDataRsp_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_GetHeadIconDataRsp_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_GetHeadIconDataRsp_descriptor,
+ new java.lang.String[] { "HeadIconList", });
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetProfilePictureDataReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetProfilePictureDataReqOuterClass.java
new file mode 100644
index 00000000000..2dd4797a82d
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetProfilePictureDataReqOuterClass.java
@@ -0,0 +1,474 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: GetProfilePictureDataReq.proto
+
+package emu.grasscutter.net.proto;
+
+public final class GetProfilePictureDataReqOuterClass {
+ private GetProfilePictureDataReqOuterClass() {}
+ 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 GetProfilePictureDataReqOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetProfilePictureDataReq)
+ com.google.protobuf.MessageOrBuilder {
+ }
+ /**
+ *
+ * CmdId: 1648
+ *
+ *
+ * Protobuf type {@code GetProfilePictureDataReq}
+ */
+ public static final class GetProfilePictureDataReq extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GetProfilePictureDataReq)
+ GetProfilePictureDataReqOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GetProfilePictureDataReq.newBuilder() to construct.
+ private GetProfilePictureDataReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GetProfilePictureDataReq() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GetProfilePictureDataReq();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private GetProfilePictureDataReq(
+ 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;
+ 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.GetProfilePictureDataReqOuterClass.internal_static_GetProfilePictureDataReq_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.internal_static_GetProfilePictureDataReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.class, emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.Builder.class);
+ }
+
+ 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 {
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq other = (emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq) obj;
+
+ 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 = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq 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: 1648
+ *
+ *
+ * Protobuf type {@code GetProfilePictureDataReq}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:GetProfilePictureDataReq)
+ emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReqOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.internal_static_GetProfilePictureDataReq_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.internal_static_GetProfilePictureDataReq_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.class, emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.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();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.internal_static_GetProfilePictureDataReq_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq build() {
+ emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq buildPartial() {
+ emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq result = new emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq(this);
+ 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq) {
+ return mergeFrom((emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq other) {
+ if (other == emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq.getDefaultInstance()) return this;
+ 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.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ 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:GetProfilePictureDataReq)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetProfilePictureDataReq)
+ private static final emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq();
+ }
+
+ public static emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetProfilePictureDataReq parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new GetProfilePictureDataReq(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataReqOuterClass.GetProfilePictureDataReq getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_GetProfilePictureDataReq_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_GetProfilePictureDataReq_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\036GetProfilePictureDataReq.proto\"\032\n\030GetP" +
+ "rofilePictureDataReqB\033\n\031emu.grasscutter." +
+ "net.protob\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ });
+ internal_static_GetProfilePictureDataReq_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_GetProfilePictureDataReq_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_GetProfilePictureDataReq_descriptor,
+ new java.lang.String[] { });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/GetProfilePictureDataRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/GetProfilePictureDataRspOuterClass.java
new file mode 100644
index 00000000000..a71c901d5e8
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/GetProfilePictureDataRspOuterClass.java
@@ -0,0 +1,745 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: GetProfilePictureDataRsp.proto
+
+package emu.grasscutter.net.proto;
+
+public final class GetProfilePictureDataRspOuterClass {
+ private GetProfilePictureDataRspOuterClass() {}
+ 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 GetProfilePictureDataRspOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:GetProfilePictureDataRsp)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return A list containing the specialProfilePictureList.
+ */
+ java.util.List getSpecialProfilePictureListList();
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return The count of specialProfilePictureList.
+ */
+ int getSpecialProfilePictureListCount();
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @param index The index of the element to return.
+ * @return The specialProfilePictureList at the given index.
+ */
+ int getSpecialProfilePictureList(int index);
+
+ /**
+ * int32 retcode = 13;
+ * @return The retcode.
+ */
+ int getRetcode();
+ }
+ /**
+ *
+ * CmdId: 6565
+ *
+ *
+ * Protobuf type {@code GetProfilePictureDataRsp}
+ */
+ public static final class GetProfilePictureDataRsp extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:GetProfilePictureDataRsp)
+ GetProfilePictureDataRspOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GetProfilePictureDataRsp.newBuilder() to construct.
+ private GetProfilePictureDataRsp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private GetProfilePictureDataRsp() {
+ specialProfilePictureList_ = emptyIntList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new GetProfilePictureDataRsp();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private GetProfilePictureDataRsp(
+ 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: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ specialProfilePictureList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ specialProfilePictureList_.addInt(input.readUInt32());
+ break;
+ }
+ case 58: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
+ specialProfilePictureList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ specialProfilePictureList_.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)) {
+ specialProfilePictureList_.makeImmutable(); // C
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.internal_static_GetProfilePictureDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.internal_static_GetProfilePictureDataRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.class, emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.Builder.class);
+ }
+
+ public static final int SPECIAL_PROFILE_PICTURE_LIST_FIELD_NUMBER = 7;
+ private com.google.protobuf.Internal.IntList specialProfilePictureList_;
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return A list containing the specialProfilePictureList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getSpecialProfilePictureListList() {
+ return specialProfilePictureList_;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return The count of specialProfilePictureList.
+ */
+ public int getSpecialProfilePictureListCount() {
+ return specialProfilePictureList_.size();
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @param index The index of the element to return.
+ * @return The specialProfilePictureList at the given index.
+ */
+ public int getSpecialProfilePictureList(int index) {
+ return specialProfilePictureList_.getInt(index);
+ }
+ private int specialProfilePictureListMemoizedSerializedSize = -1;
+
+ 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_;
+ }
+
+ 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 (getSpecialProfilePictureListList().size() > 0) {
+ output.writeUInt32NoTag(58);
+ output.writeUInt32NoTag(specialProfilePictureListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < specialProfilePictureList_.size(); i++) {
+ output.writeUInt32NoTag(specialProfilePictureList_.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 < specialProfilePictureList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(specialProfilePictureList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getSpecialProfilePictureListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ specialProfilePictureListMemoizedSerializedSize = 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp other = (emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp) obj;
+
+ if (!getSpecialProfilePictureListList()
+ .equals(other.getSpecialProfilePictureListList())) 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 (getSpecialProfilePictureListCount() > 0) {
+ hash = (37 * hash) + SPECIAL_PROFILE_PICTURE_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getSpecialProfilePictureListList().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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp 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: 6565
+ *
+ *
+ * Protobuf type {@code GetProfilePictureDataRsp}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:GetProfilePictureDataRsp)
+ emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRspOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.internal_static_GetProfilePictureDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.internal_static_GetProfilePictureDataRsp_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.class, emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.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();
+ specialProfilePictureList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ retcode_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.internal_static_GetProfilePictureDataRsp_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp build() {
+ emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp buildPartial() {
+ emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp result = new emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ specialProfilePictureList_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.specialProfilePictureList_ = specialProfilePictureList_;
+ 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp) {
+ return mergeFrom((emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp other) {
+ if (other == emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp.getDefaultInstance()) return this;
+ if (!other.specialProfilePictureList_.isEmpty()) {
+ if (specialProfilePictureList_.isEmpty()) {
+ specialProfilePictureList_ = other.specialProfilePictureList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureSpecialProfilePictureListIsMutable();
+ specialProfilePictureList_.addAll(other.specialProfilePictureList_);
+ }
+ onChanged();
+ }
+ 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.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.Internal.IntList specialProfilePictureList_ = emptyIntList();
+ private void ensureSpecialProfilePictureListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ specialProfilePictureList_ = mutableCopy(specialProfilePictureList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return A list containing the specialProfilePictureList.
+ */
+ public java.util.List
+ getSpecialProfilePictureListList() {
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(specialProfilePictureList_) : specialProfilePictureList_;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return The count of specialProfilePictureList.
+ */
+ public int getSpecialProfilePictureListCount() {
+ return specialProfilePictureList_.size();
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @param index The index of the element to return.
+ * @return The specialProfilePictureList at the given index.
+ */
+ public int getSpecialProfilePictureList(int index) {
+ return specialProfilePictureList_.getInt(index);
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @param index The index to set the value at.
+ * @param value The specialProfilePictureList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpecialProfilePictureList(
+ int index, int value) {
+ ensureSpecialProfilePictureListIsMutable();
+ specialProfilePictureList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @param value The specialProfilePictureList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialProfilePictureList(int value) {
+ ensureSpecialProfilePictureListIsMutable();
+ specialProfilePictureList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @param values The specialProfilePictureList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSpecialProfilePictureList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureSpecialProfilePictureListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, specialProfilePictureList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpecialProfilePictureList() {
+ specialProfilePictureList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ private int retcode_ ;
+ /**
+ * 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;
+ }
+ @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:GetProfilePictureDataRsp)
+ }
+
+ // @@protoc_insertion_point(class_scope:GetProfilePictureDataRsp)
+ private static final emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp();
+ }
+
+ public static emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetProfilePictureDataRsp parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new GetProfilePictureDataRsp(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_GetProfilePictureDataRsp_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_GetProfilePictureDataRsp_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\036GetProfilePictureDataRsp.proto\032\024Player" +
+ "HeadIcon.proto\"Q\n\030GetProfilePictureDataR" +
+ "sp\022$\n\034special_profile_picture_list\030\007 \003(\r" +
+ "\022\017\n\007retcode\030\r \001(\005B\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.PlayerHeadIconOuterClass.getDescriptor(),
+ });
+ internal_static_GetProfilePictureDataRsp_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_GetProfilePictureDataRsp_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_GetProfilePictureDataRsp_descriptor,
+ new java.lang.String[] { "SpecialProfilePictureList", "Retcode", });
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.getDescriptor();
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/HeadIconUpdateNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/HeadIconUpdateNotifyOuterClass.java
new file mode 100644
index 00000000000..4e72b3ebf3b
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/HeadIconUpdateNotifyOuterClass.java
@@ -0,0 +1,672 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: HeadIconUpdateNotify.proto
+
+package emu.grasscutter.net.proto;
+
+public final class HeadIconUpdateNotifyOuterClass {
+ private HeadIconUpdateNotifyOuterClass() {}
+ 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 HeadIconUpdateNotifyOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:HeadIconUpdateNotify)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return A list containing the specialHeadIconList.
+ */
+ java.util.List getSpecialHeadIconListList();
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return The count of specialHeadIconList.
+ */
+ int getSpecialHeadIconListCount();
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @param index The index of the element to return.
+ * @return The specialHeadIconList at the given index.
+ */
+ int getSpecialHeadIconList(int index);
+ }
+ /**
+ *
+ * CmdId: 24838
+ *
+ *
+ * Protobuf type {@code HeadIconUpdateNotify}
+ */
+ public static final class HeadIconUpdateNotify extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:HeadIconUpdateNotify)
+ HeadIconUpdateNotifyOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use HeadIconUpdateNotify.newBuilder() to construct.
+ private HeadIconUpdateNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private HeadIconUpdateNotify() {
+ specialHeadIconList_ = emptyIntList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new HeadIconUpdateNotify();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private HeadIconUpdateNotify(
+ 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 8: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ specialHeadIconList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ specialHeadIconList_.addInt(input.readUInt32());
+ break;
+ }
+ case 10: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
+ specialHeadIconList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ specialHeadIconList_.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)) {
+ specialHeadIconList_.makeImmutable(); // C
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.internal_static_HeadIconUpdateNotify_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.internal_static_HeadIconUpdateNotify_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.class, emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.Builder.class);
+ }
+
+ public static final int SPECIAL_HEAD_ICON_LIST_FIELD_NUMBER = 1;
+ private com.google.protobuf.Internal.IntList specialHeadIconList_;
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return A list containing the specialHeadIconList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getSpecialHeadIconListList() {
+ return specialHeadIconList_;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return The count of specialHeadIconList.
+ */
+ public int getSpecialHeadIconListCount() {
+ return specialHeadIconList_.size();
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @param index The index of the element to return.
+ * @return The specialHeadIconList at the given index.
+ */
+ public int getSpecialHeadIconList(int index) {
+ return specialHeadIconList_.getInt(index);
+ }
+ private int specialHeadIconListMemoizedSerializedSize = -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 (getSpecialHeadIconListList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(specialHeadIconListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < specialHeadIconList_.size(); i++) {
+ output.writeUInt32NoTag(specialHeadIconList_.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 < specialHeadIconList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(specialHeadIconList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getSpecialHeadIconListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ specialHeadIconListMemoizedSerializedSize = 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify other = (emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify) obj;
+
+ if (!getSpecialHeadIconListList()
+ .equals(other.getSpecialHeadIconListList())) 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 (getSpecialHeadIconListCount() > 0) {
+ hash = (37 * hash) + SPECIAL_HEAD_ICON_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getSpecialHeadIconListList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify 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: 24838
+ *
+ *
+ * Protobuf type {@code HeadIconUpdateNotify}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:HeadIconUpdateNotify)
+ emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotifyOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.internal_static_HeadIconUpdateNotify_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.internal_static_HeadIconUpdateNotify_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.class, emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.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();
+ specialHeadIconList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.internal_static_HeadIconUpdateNotify_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify build() {
+ emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify buildPartial() {
+ emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify result = new emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ specialHeadIconList_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.specialHeadIconList_ = specialHeadIconList_;
+ 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify) {
+ return mergeFrom((emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify other) {
+ if (other == emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify.getDefaultInstance()) return this;
+ if (!other.specialHeadIconList_.isEmpty()) {
+ if (specialHeadIconList_.isEmpty()) {
+ specialHeadIconList_ = other.specialHeadIconList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureSpecialHeadIconListIsMutable();
+ specialHeadIconList_.addAll(other.specialHeadIconList_);
+ }
+ 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.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.Internal.IntList specialHeadIconList_ = emptyIntList();
+ private void ensureSpecialHeadIconListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ specialHeadIconList_ = mutableCopy(specialHeadIconList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return A list containing the specialHeadIconList.
+ */
+ public java.util.List
+ getSpecialHeadIconListList() {
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(specialHeadIconList_) : specialHeadIconList_;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return The count of specialHeadIconList.
+ */
+ public int getSpecialHeadIconListCount() {
+ return specialHeadIconList_.size();
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @param index The index of the element to return.
+ * @return The specialHeadIconList at the given index.
+ */
+ public int getSpecialHeadIconList(int index) {
+ return specialHeadIconList_.getInt(index);
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @param index The index to set the value at.
+ * @param value The specialHeadIconList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpecialHeadIconList(
+ int index, int value) {
+ ensureSpecialHeadIconListIsMutable();
+ specialHeadIconList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @param value The specialHeadIconList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialHeadIconList(int value) {
+ ensureSpecialHeadIconListIsMutable();
+ specialHeadIconList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @param values The specialHeadIconList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSpecialHeadIconList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureSpecialHeadIconListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, specialHeadIconList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_head_icon_list = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpecialHeadIconList() {
+ specialHeadIconList_ = 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:HeadIconUpdateNotify)
+ }
+
+ // @@protoc_insertion_point(class_scope:HeadIconUpdateNotify)
+ private static final emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify();
+ }
+
+ public static emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public HeadIconUpdateNotify parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new HeadIconUpdateNotify(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.HeadIconUpdateNotifyOuterClass.HeadIconUpdateNotify getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_HeadIconUpdateNotify_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_HeadIconUpdateNotify_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\032HeadIconUpdateNotify.proto\"6\n\024HeadIcon" +
+ "UpdateNotify\022\036\n\026special_head_icon_list\030\001" +
+ " \003(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
+ "3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ });
+ internal_static_HeadIconUpdateNotify_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_HeadIconUpdateNotify_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_HeadIconUpdateNotify_descriptor,
+ new java.lang.String[] { "SpecialHeadIconList", });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/HostPlayerNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/HostPlayerNotifyOuterClass.java
index c32acb4d98c..e0a36be1219 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/HostPlayerNotifyOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/HostPlayerNotifyOuterClass.java
@@ -19,21 +19,20 @@ public interface HostPlayerNotifyOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 host_uid = 8;
+ * uint32 host_uid = 3;
* @return The hostUid.
*/
int getHostUid();
/**
- * uint32 host_peer_id = 7;
+ * uint32 host_peer_id = 10;
* @return The hostPeerId.
*/
int getHostPeerId();
}
/**
*
- * CmdId: 9459
- * Obf: JBPDNKOINAN
+ * CmdId: 23063
*
*
* Protobuf type {@code HostPlayerNotify}
@@ -80,14 +79,14 @@ private HostPlayerNotify(
case 0:
done = true;
break;
- case 56: {
+ case 24: {
- hostPeerId_ = input.readUInt32();
+ hostUid_ = input.readUInt32();
break;
}
- case 64: {
+ case 80: {
- hostUid_ = input.readUInt32();
+ hostPeerId_ = input.readUInt32();
break;
}
default: {
@@ -122,10 +121,10 @@ private HostPlayerNotify(
emu.grasscutter.net.proto.HostPlayerNotifyOuterClass.HostPlayerNotify.class, emu.grasscutter.net.proto.HostPlayerNotifyOuterClass.HostPlayerNotify.Builder.class);
}
- public static final int HOST_UID_FIELD_NUMBER = 8;
+ public static final int HOST_UID_FIELD_NUMBER = 3;
private int hostUid_;
/**
- * uint32 host_uid = 8;
+ * uint32 host_uid = 3;
* @return The hostUid.
*/
@java.lang.Override
@@ -133,10 +132,10 @@ public int getHostUid() {
return hostUid_;
}
- public static final int HOST_PEER_ID_FIELD_NUMBER = 7;
+ public static final int HOST_PEER_ID_FIELD_NUMBER = 10;
private int hostPeerId_;
/**
- * uint32 host_peer_id = 7;
+ * uint32 host_peer_id = 10;
* @return The hostPeerId.
*/
@java.lang.Override
@@ -158,11 +157,11 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (hostPeerId_ != 0) {
- output.writeUInt32(7, hostPeerId_);
- }
if (hostUid_ != 0) {
- output.writeUInt32(8, hostUid_);
+ output.writeUInt32(3, hostUid_);
+ }
+ if (hostPeerId_ != 0) {
+ output.writeUInt32(10, hostPeerId_);
}
unknownFields.writeTo(output);
}
@@ -173,13 +172,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (hostPeerId_ != 0) {
+ if (hostUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(7, hostPeerId_);
+ .computeUInt32Size(3, hostUid_);
}
- if (hostUid_ != 0) {
+ if (hostPeerId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(8, hostUid_);
+ .computeUInt32Size(10, hostPeerId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -312,8 +311,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 9459
- * Obf: JBPDNKOINAN
+ * CmdId: 23063
*
*
* Protobuf type {@code HostPlayerNotify}
@@ -470,7 +468,7 @@ public Builder mergeFrom(
private int hostUid_ ;
/**
- * uint32 host_uid = 8;
+ * uint32 host_uid = 3;
* @return The hostUid.
*/
@java.lang.Override
@@ -478,7 +476,7 @@ public int getHostUid() {
return hostUid_;
}
/**
- * uint32 host_uid = 8;
+ * uint32 host_uid = 3;
* @param value The hostUid to set.
* @return This builder for chaining.
*/
@@ -489,7 +487,7 @@ public Builder setHostUid(int value) {
return this;
}
/**
- * uint32 host_uid = 8;
+ * uint32 host_uid = 3;
* @return This builder for chaining.
*/
public Builder clearHostUid() {
@@ -501,7 +499,7 @@ public Builder clearHostUid() {
private int hostPeerId_ ;
/**
- * uint32 host_peer_id = 7;
+ * uint32 host_peer_id = 10;
* @return The hostPeerId.
*/
@java.lang.Override
@@ -509,7 +507,7 @@ public int getHostPeerId() {
return hostPeerId_;
}
/**
- * uint32 host_peer_id = 7;
+ * uint32 host_peer_id = 10;
* @param value The hostPeerId to set.
* @return This builder for chaining.
*/
@@ -520,7 +518,7 @@ public Builder setHostPeerId(int value) {
return this;
}
/**
- * uint32 host_peer_id = 7;
+ * uint32 host_peer_id = 10;
* @return This builder for chaining.
*/
public Builder clearHostPeerId() {
@@ -597,7 +595,7 @@ public emu.grasscutter.net.proto.HostPlayerNotifyOuterClass.HostPlayerNotify get
static {
java.lang.String[] descriptorData = {
"\n\026HostPlayerNotify.proto\":\n\020HostPlayerNo" +
- "tify\022\020\n\010host_uid\030\010 \001(\r\022\024\n\014host_peer_id\030\007" +
+ "tify\022\020\n\010host_uid\030\003 \001(\r\022\024\n\014host_peer_id\030\n" +
" \001(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
"3"
};
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/MonsterAlertChangeNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/MonsterAlertChangeNotifyOuterClass.java
index e946471d6c8..2cf6f2ade30 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/MonsterAlertChangeNotifyOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/MonsterAlertChangeNotifyOuterClass.java
@@ -19,29 +19,29 @@ public interface MonsterAlertChangeNotifyOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 avatar_entity_id = 14;
+ * uint32 avatar_entity_id = 3;
* @return The avatarEntityId.
*/
int getAvatarEntityId();
/**
- * uint32 is_alert = 1;
+ * uint32 is_alert = 15;
* @return The isAlert.
*/
int getIsAlert();
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return A list containing the monsterEntityList.
*/
java.util.List getMonsterEntityListList();
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return The count of monsterEntityList.
*/
int getMonsterEntityListCount();
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @param index The index of the element to return.
* @return The monsterEntityList at the given index.
*/
@@ -49,8 +49,7 @@ public interface MonsterAlertChangeNotifyOrBuilder extends
}
/**
*
- * CmdId: 20036
- * Obf: BMANLPLANOJ
+ * CmdId: 20074
*
*
* Protobuf type {@code MonsterAlertChangeNotify}
@@ -99,12 +98,12 @@ private MonsterAlertChangeNotify(
case 0:
done = true;
break;
- case 8: {
+ case 24: {
- isAlert_ = input.readUInt32();
+ avatarEntityId_ = input.readUInt32();
break;
}
- case 96: {
+ case 88: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
monsterEntityList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -112,7 +111,7 @@ private MonsterAlertChangeNotify(
monsterEntityList_.addInt(input.readUInt32());
break;
}
- case 98: {
+ case 90: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -125,9 +124,9 @@ private MonsterAlertChangeNotify(
input.popLimit(limit);
break;
}
- case 112: {
+ case 120: {
- avatarEntityId_ = input.readUInt32();
+ isAlert_ = input.readUInt32();
break;
}
default: {
@@ -165,10 +164,10 @@ private MonsterAlertChangeNotify(
emu.grasscutter.net.proto.MonsterAlertChangeNotifyOuterClass.MonsterAlertChangeNotify.class, emu.grasscutter.net.proto.MonsterAlertChangeNotifyOuterClass.MonsterAlertChangeNotify.Builder.class);
}
- public static final int AVATAR_ENTITY_ID_FIELD_NUMBER = 14;
+ public static final int AVATAR_ENTITY_ID_FIELD_NUMBER = 3;
private int avatarEntityId_;
/**
- * uint32 avatar_entity_id = 14;
+ * uint32 avatar_entity_id = 3;
* @return The avatarEntityId.
*/
@java.lang.Override
@@ -176,10 +175,10 @@ public int getAvatarEntityId() {
return avatarEntityId_;
}
- public static final int IS_ALERT_FIELD_NUMBER = 1;
+ public static final int IS_ALERT_FIELD_NUMBER = 15;
private int isAlert_;
/**
- * uint32 is_alert = 1;
+ * uint32 is_alert = 15;
* @return The isAlert.
*/
@java.lang.Override
@@ -187,10 +186,10 @@ public int getIsAlert() {
return isAlert_;
}
- public static final int MONSTER_ENTITY_LIST_FIELD_NUMBER = 12;
+ public static final int MONSTER_ENTITY_LIST_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.IntList monsterEntityList_;
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return A list containing the monsterEntityList.
*/
@java.lang.Override
@@ -199,14 +198,14 @@ public int getIsAlert() {
return monsterEntityList_;
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return The count of monsterEntityList.
*/
public int getMonsterEntityListCount() {
return monsterEntityList_.size();
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @param index The index of the element to return.
* @return The monsterEntityList at the given index.
*/
@@ -230,18 +229,18 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
- if (isAlert_ != 0) {
- output.writeUInt32(1, isAlert_);
+ if (avatarEntityId_ != 0) {
+ output.writeUInt32(3, avatarEntityId_);
}
if (getMonsterEntityListList().size() > 0) {
- output.writeUInt32NoTag(98);
+ output.writeUInt32NoTag(90);
output.writeUInt32NoTag(monsterEntityListMemoizedSerializedSize);
}
for (int i = 0; i < monsterEntityList_.size(); i++) {
output.writeUInt32NoTag(monsterEntityList_.getInt(i));
}
- if (avatarEntityId_ != 0) {
- output.writeUInt32(14, avatarEntityId_);
+ if (isAlert_ != 0) {
+ output.writeUInt32(15, isAlert_);
}
unknownFields.writeTo(output);
}
@@ -252,9 +251,9 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (isAlert_ != 0) {
+ if (avatarEntityId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, isAlert_);
+ .computeUInt32Size(3, avatarEntityId_);
}
{
int dataSize = 0;
@@ -270,9 +269,9 @@ public int getSerializedSize() {
}
monsterEntityListMemoizedSerializedSize = dataSize;
}
- if (avatarEntityId_ != 0) {
+ if (isAlert_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(14, avatarEntityId_);
+ .computeUInt32Size(15, isAlert_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -411,8 +410,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 20036
- * Obf: BMANLPLANOJ
+ * CmdId: 20074
*
*
* Protobuf type {@code MonsterAlertChangeNotify}
@@ -588,7 +586,7 @@ public Builder mergeFrom(
private int avatarEntityId_ ;
/**
- * uint32 avatar_entity_id = 14;
+ * uint32 avatar_entity_id = 3;
* @return The avatarEntityId.
*/
@java.lang.Override
@@ -596,7 +594,7 @@ public int getAvatarEntityId() {
return avatarEntityId_;
}
/**
- * uint32 avatar_entity_id = 14;
+ * uint32 avatar_entity_id = 3;
* @param value The avatarEntityId to set.
* @return This builder for chaining.
*/
@@ -607,7 +605,7 @@ public Builder setAvatarEntityId(int value) {
return this;
}
/**
- * uint32 avatar_entity_id = 14;
+ * uint32 avatar_entity_id = 3;
* @return This builder for chaining.
*/
public Builder clearAvatarEntityId() {
@@ -619,7 +617,7 @@ public Builder clearAvatarEntityId() {
private int isAlert_ ;
/**
- * uint32 is_alert = 1;
+ * uint32 is_alert = 15;
* @return The isAlert.
*/
@java.lang.Override
@@ -627,7 +625,7 @@ public int getIsAlert() {
return isAlert_;
}
/**
- * uint32 is_alert = 1;
+ * uint32 is_alert = 15;
* @param value The isAlert to set.
* @return This builder for chaining.
*/
@@ -638,7 +636,7 @@ public Builder setIsAlert(int value) {
return this;
}
/**
- * uint32 is_alert = 1;
+ * uint32 is_alert = 15;
* @return This builder for chaining.
*/
public Builder clearIsAlert() {
@@ -656,7 +654,7 @@ private void ensureMonsterEntityListIsMutable() {
}
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return A list containing the monsterEntityList.
*/
public java.util.List
@@ -665,14 +663,14 @@ private void ensureMonsterEntityListIsMutable() {
java.util.Collections.unmodifiableList(monsterEntityList_) : monsterEntityList_;
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return The count of monsterEntityList.
*/
public int getMonsterEntityListCount() {
return monsterEntityList_.size();
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @param index The index of the element to return.
* @return The monsterEntityList at the given index.
*/
@@ -680,7 +678,7 @@ public int getMonsterEntityList(int index) {
return monsterEntityList_.getInt(index);
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @param index The index to set the value at.
* @param value The monsterEntityList to set.
* @return This builder for chaining.
@@ -693,7 +691,7 @@ public Builder setMonsterEntityList(
return this;
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @param value The monsterEntityList to add.
* @return This builder for chaining.
*/
@@ -704,7 +702,7 @@ public Builder addMonsterEntityList(int value) {
return this;
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @param values The monsterEntityList to add.
* @return This builder for chaining.
*/
@@ -717,7 +715,7 @@ public Builder addAllMonsterEntityList(
return this;
}
/**
- * repeated uint32 monster_entity_list = 12;
+ * repeated uint32 monster_entity_list = 11;
* @return This builder for chaining.
*/
public Builder clearMonsterEntityList() {
@@ -795,8 +793,8 @@ public emu.grasscutter.net.proto.MonsterAlertChangeNotifyOuterClass.MonsterAlert
java.lang.String[] descriptorData = {
"\n\036MonsterAlertChangeNotify.proto\"c\n\030Mons" +
"terAlertChangeNotify\022\030\n\020avatar_entity_id" +
- "\030\016 \001(\r\022\020\n\010is_alert\030\001 \001(\r\022\033\n\023monster_enti" +
- "ty_list\030\014 \003(\rB\033\n\031emu.grasscutter.net.pro" +
+ "\030\003 \001(\r\022\020\n\010is_alert\030\017 \001(\r\022\033\n\023monster_enti" +
+ "ty_list\030\013 \003(\rB\033\n\031emu.grasscutter.net.pro" +
"tob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/PersonalSceneJumpRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/PersonalSceneJumpRspOuterClass.java
index 59d91d08b1c..2814043e27d 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/PersonalSceneJumpRspOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/PersonalSceneJumpRspOuterClass.java
@@ -19,33 +19,37 @@ public interface PersonalSceneJumpRspOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
* @return Whether the destPos field is set.
*/
boolean hasDestPos();
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
* @return The destPos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getDestPos();
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestPosOrBuilder();
/**
- * uint32 dest_scene_id = 7;
+ * uint32 dest_scene_id = 14;
* @return The destSceneId.
*/
int getDestSceneId();
/**
- * int32 retcode = 5;
+ * int32 retcode = 3;
* @return The retcode.
*/
int getRetcode();
}
/**
+ *
+ * CmdId: 9709
+ *
+ *
* Protobuf type {@code PersonalSceneJumpRsp}
*/
public static final class PersonalSceneJumpRsp extends
@@ -90,7 +94,12 @@ private PersonalSceneJumpRsp(
case 0:
done = true;
break;
- case 26: {
+ case 24: {
+
+ retcode_ = input.readInt32();
+ break;
+ }
+ case 42: {
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
if (destPos_ != null) {
subBuilder = destPos_.toBuilder();
@@ -103,12 +112,7 @@ private PersonalSceneJumpRsp(
break;
}
- case 40: {
-
- retcode_ = input.readInt32();
- break;
- }
- case 56: {
+ case 112: {
destSceneId_ = input.readUInt32();
break;
@@ -145,10 +149,10 @@ private PersonalSceneJumpRsp(
emu.grasscutter.net.proto.PersonalSceneJumpRspOuterClass.PersonalSceneJumpRsp.class, emu.grasscutter.net.proto.PersonalSceneJumpRspOuterClass.PersonalSceneJumpRsp.Builder.class);
}
- public static final int DEST_POS_FIELD_NUMBER = 3;
+ public static final int DEST_POS_FIELD_NUMBER = 5;
private emu.grasscutter.net.proto.VectorOuterClass.Vector destPos_;
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
* @return Whether the destPos field is set.
*/
@java.lang.Override
@@ -156,7 +160,7 @@ public boolean hasDestPos() {
return destPos_ != null;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
* @return The destPos.
*/
@java.lang.Override
@@ -164,17 +168,17 @@ public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestPos() {
return destPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : destPos_;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestPosOrBuilder() {
return getDestPos();
}
- public static final int DEST_SCENE_ID_FIELD_NUMBER = 7;
+ public static final int DEST_SCENE_ID_FIELD_NUMBER = 14;
private int destSceneId_;
/**
- * uint32 dest_scene_id = 7;
+ * uint32 dest_scene_id = 14;
* @return The destSceneId.
*/
@java.lang.Override
@@ -182,10 +186,10 @@ public int getDestSceneId() {
return destSceneId_;
}
- public static final int RETCODE_FIELD_NUMBER = 5;
+ public static final int RETCODE_FIELD_NUMBER = 3;
private int retcode_;
/**
- * int32 retcode = 5;
+ * int32 retcode = 3;
* @return The retcode.
*/
@java.lang.Override
@@ -207,14 +211,14 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (destPos_ != null) {
- output.writeMessage(3, getDestPos());
- }
if (retcode_ != 0) {
- output.writeInt32(5, retcode_);
+ output.writeInt32(3, retcode_);
+ }
+ if (destPos_ != null) {
+ output.writeMessage(5, getDestPos());
}
if (destSceneId_ != 0) {
- output.writeUInt32(7, destSceneId_);
+ output.writeUInt32(14, destSceneId_);
}
unknownFields.writeTo(output);
}
@@ -225,17 +229,17 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (destPos_ != null) {
+ if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getDestPos());
+ .computeInt32Size(3, retcode_);
}
- if (retcode_ != 0) {
+ if (destPos_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(5, retcode_);
+ .computeMessageSize(5, getDestPos());
}
if (destSceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(7, destSceneId_);
+ .computeUInt32Size(14, destSceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -376,6 +380,10 @@ protected Builder newBuilderForType(
return builder;
}
/**
+ *
+ * CmdId: 9709
+ *
+ *
* Protobuf type {@code PersonalSceneJumpRsp}
*/
public static final class Builder extends
@@ -546,14 +554,14 @@ public Builder mergeFrom(
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> destPosBuilder_;
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
* @return Whether the destPos field is set.
*/
public boolean hasDestPos() {
return destPosBuilder_ != null || destPos_ != null;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
* @return The destPos.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestPos() {
@@ -564,7 +572,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestPos() {
}
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
public Builder setDestPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (destPosBuilder_ == null) {
@@ -580,7 +588,7 @@ public Builder setDestPos(emu.grasscutter.net.proto.VectorOuterClass.Vector valu
return this;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
public Builder setDestPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
@@ -594,7 +602,7 @@ public Builder setDestPos(
return this;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
public Builder mergeDestPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (destPosBuilder_ == null) {
@@ -612,7 +620,7 @@ public Builder mergeDestPos(emu.grasscutter.net.proto.VectorOuterClass.Vector va
return this;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
public Builder clearDestPos() {
if (destPosBuilder_ == null) {
@@ -626,7 +634,7 @@ public Builder clearDestPos() {
return this;
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getDestPosBuilder() {
@@ -634,7 +642,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getDestPosBuild
return getDestPosFieldBuilder().getBuilder();
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestPosOrBuilder() {
if (destPosBuilder_ != null) {
@@ -645,7 +653,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestPosOrBu
}
}
/**
- * .Vector dest_pos = 3;
+ * .Vector dest_pos = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
@@ -663,7 +671,7 @@ public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestPosOrBu
private int destSceneId_ ;
/**
- * uint32 dest_scene_id = 7;
+ * uint32 dest_scene_id = 14;
* @return The destSceneId.
*/
@java.lang.Override
@@ -671,7 +679,7 @@ public int getDestSceneId() {
return destSceneId_;
}
/**
- * uint32 dest_scene_id = 7;
+ * uint32 dest_scene_id = 14;
* @param value The destSceneId to set.
* @return This builder for chaining.
*/
@@ -682,7 +690,7 @@ public Builder setDestSceneId(int value) {
return this;
}
/**
- * uint32 dest_scene_id = 7;
+ * uint32 dest_scene_id = 14;
* @return This builder for chaining.
*/
public Builder clearDestSceneId() {
@@ -694,7 +702,7 @@ public Builder clearDestSceneId() {
private int retcode_ ;
/**
- * int32 retcode = 5;
+ * int32 retcode = 3;
* @return The retcode.
*/
@java.lang.Override
@@ -702,7 +710,7 @@ public int getRetcode() {
return retcode_;
}
/**
- * int32 retcode = 5;
+ * int32 retcode = 3;
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -713,7 +721,7 @@ public Builder setRetcode(int value) {
return this;
}
/**
- * int32 retcode = 5;
+ * int32 retcode = 3;
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -790,9 +798,9 @@ public emu.grasscutter.net.proto.PersonalSceneJumpRspOuterClass.PersonalSceneJum
static {
java.lang.String[] descriptorData = {
"\n\032PersonalSceneJumpRsp.proto\032\014Vector.pro" +
- "to\"Y\n\024PersonalSceneJumpRsp\022\031\n\010dest_pos\030\003" +
- " \001(\0132\007.Vector\022\025\n\rdest_scene_id\030\007 \001(\r\022\017\n\007" +
- "retcode\030\005 \001(\005B\033\n\031emu.grasscutter.net.pro" +
+ "to\"Y\n\024PersonalSceneJumpRsp\022\031\n\010dest_pos\030\005" +
+ " \001(\0132\007.Vector\022\025\n\rdest_scene_id\030\016 \001(\r\022\017\n\007" +
+ "retcode\030\003 \001(\005B\033\n\031emu.grasscutter.net.pro" +
"tob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/PlayerHeadIconOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/PlayerHeadIconOuterClass.java
new file mode 100644
index 00000000000..0375b0c3e7e
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/PlayerHeadIconOuterClass.java
@@ -0,0 +1,606 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: PlayerHeadIcon.proto
+
+package emu.grasscutter.net.proto;
+
+public final class PlayerHeadIconOuterClass {
+ private PlayerHeadIconOuterClass() {}
+ 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 PlayerHeadIconOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:PlayerHeadIcon)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * uint32 unkint = 4;
+ * @return The unkint.
+ */
+ int getUnkint();
+
+ /**
+ * uint32 uid = 10;
+ * @return The uid.
+ */
+ int getUid();
+ }
+ /**
+ * Protobuf type {@code PlayerHeadIcon}
+ */
+ public static final class PlayerHeadIcon extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:PlayerHeadIcon)
+ PlayerHeadIconOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use PlayerHeadIcon.newBuilder() to construct.
+ private PlayerHeadIcon(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private PlayerHeadIcon() {
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new PlayerHeadIcon();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private PlayerHeadIcon(
+ 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 32: {
+
+ unkint_ = input.readUInt32();
+ break;
+ }
+ case 80: {
+
+ 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.PlayerHeadIconOuterClass.internal_static_PlayerHeadIcon_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.PlayerHeadIconOuterClass.internal_static_PlayerHeadIcon_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.class, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder.class);
+ }
+
+ public static final int UNKINT_FIELD_NUMBER = 4;
+ private int unkint_;
+ /**
+ * uint32 unkint = 4;
+ * @return The unkint.
+ */
+ @java.lang.Override
+ public int getUnkint() {
+ return unkint_;
+ }
+
+ public static final int UID_FIELD_NUMBER = 10;
+ private int uid_;
+ /**
+ * uint32 uid = 10;
+ * @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 (unkint_ != 0) {
+ output.writeUInt32(4, unkint_);
+ }
+ if (uid_ != 0) {
+ output.writeUInt32(10, uid_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (unkint_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(4, unkint_);
+ }
+ if (uid_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt32Size(10, 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.PlayerHeadIconOuterClass.PlayerHeadIcon)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon other = (emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon) obj;
+
+ if (getUnkint()
+ != other.getUnkint()) 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) + UNKINT_FIELD_NUMBER;
+ hash = (53 * hash) + getUnkint();
+ 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.PlayerHeadIconOuterClass.PlayerHeadIcon parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon 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.PlayerHeadIconOuterClass.PlayerHeadIcon parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon 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.PlayerHeadIconOuterClass.PlayerHeadIcon parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon 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.PlayerHeadIconOuterClass.PlayerHeadIcon parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon 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.PlayerHeadIconOuterClass.PlayerHeadIcon parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon 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.PlayerHeadIconOuterClass.PlayerHeadIcon 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 PlayerHeadIcon}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:PlayerHeadIcon)
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIconOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.PlayerHeadIconOuterClass.internal_static_PlayerHeadIcon_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.PlayerHeadIconOuterClass.internal_static_PlayerHeadIcon_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.class, emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.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();
+ unkint_ = 0;
+
+ uid_ = 0;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.PlayerHeadIconOuterClass.internal_static_PlayerHeadIcon_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon build() {
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon buildPartial() {
+ emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon result = new emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon(this);
+ result.unkint_ = unkint_;
+ 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.PlayerHeadIconOuterClass.PlayerHeadIcon) {
+ return mergeFrom((emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon other) {
+ if (other == emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon.getDefaultInstance()) return this;
+ if (other.getUnkint() != 0) {
+ setUnkint(other.getUnkint());
+ }
+ 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.PlayerHeadIconOuterClass.PlayerHeadIcon parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private int unkint_ ;
+ /**
+ * uint32 unkint = 4;
+ * @return The unkint.
+ */
+ @java.lang.Override
+ public int getUnkint() {
+ return unkint_;
+ }
+ /**
+ * uint32 unkint = 4;
+ * @param value The unkint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUnkint(int value) {
+
+ unkint_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 unkint = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearUnkint() {
+
+ unkint_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int uid_ ;
+ /**
+ * uint32 uid = 10;
+ * @return The uid.
+ */
+ @java.lang.Override
+ public int getUid() {
+ return uid_;
+ }
+ /**
+ * uint32 uid = 10;
+ * @param value The uid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUid(int value) {
+
+ uid_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * uint32 uid = 10;
+ * @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:PlayerHeadIcon)
+ }
+
+ // @@protoc_insertion_point(class_scope:PlayerHeadIcon)
+ private static final emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon();
+ }
+
+ public static emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PlayerHeadIcon parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new PlayerHeadIcon(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.PlayerHeadIconOuterClass.PlayerHeadIcon getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_PlayerHeadIcon_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_PlayerHeadIcon_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\024PlayerHeadIcon.proto\"-\n\016PlayerHeadIcon" +
+ "\022\016\n\006unkint\030\004 \001(\r\022\013\n\003uid\030\n \001(\rB\033\n\031emu.gra" +
+ "sscutter.net.protob\006proto3"
+ };
+ descriptor = com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ });
+ internal_static_PlayerHeadIcon_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_PlayerHeadIcon_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_PlayerHeadIcon_descriptor,
+ new java.lang.String[] { "Unkint", "Uid", });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureOuterClass.java
index 89f921b28c4..3f3d75af055 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureOuterClass.java
@@ -19,10 +19,10 @@ public interface ProfilePictureOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 PIFJFLMENAH = 3;
- * @return The pIFJFLMENAH.
+ * uint32 head_image_id = 3;
+ * @return The headImageId.
*/
- int getPIFJFLMENAH();
+ int getHeadImageId();
/**
* uint32 costume_id = 2;
@@ -93,7 +93,7 @@ private ProfilePicture(
}
case 24: {
- pIFJFLMENAH_ = input.readUInt32();
+ headImageId_ = input.readUInt32();
break;
}
default: {
@@ -128,15 +128,15 @@ private ProfilePicture(
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.class, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder.class);
}
- public static final int PIFJFLMENAH_FIELD_NUMBER = 3;
- private int pIFJFLMENAH_;
+ public static final int HEAD_IMAGE_ID_FIELD_NUMBER = 3;
+ private int headImageId_;
/**
- * uint32 PIFJFLMENAH = 3;
- * @return The pIFJFLMENAH.
+ * uint32 head_image_id = 3;
+ * @return The headImageId.
*/
@java.lang.Override
- public int getPIFJFLMENAH() {
- return pIFJFLMENAH_;
+ public int getHeadImageId() {
+ return headImageId_;
}
public static final int COSTUME_ID_FIELD_NUMBER = 2;
@@ -181,8 +181,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (costumeId_ != 0) {
output.writeUInt32(2, costumeId_);
}
- if (pIFJFLMENAH_ != 0) {
- output.writeUInt32(3, pIFJFLMENAH_);
+ if (headImageId_ != 0) {
+ output.writeUInt32(3, headImageId_);
}
unknownFields.writeTo(output);
}
@@ -201,9 +201,9 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, costumeId_);
}
- if (pIFJFLMENAH_ != 0) {
+ if (headImageId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(3, pIFJFLMENAH_);
+ .computeUInt32Size(3, headImageId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -220,8 +220,8 @@ public boolean equals(final java.lang.Object obj) {
}
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture other = (emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture) obj;
- if (getPIFJFLMENAH()
- != other.getPIFJFLMENAH()) return false;
+ if (getHeadImageId()
+ != other.getHeadImageId()) return false;
if (getCostumeId()
!= other.getCostumeId()) return false;
if (getAvatarId()
@@ -237,8 +237,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + PIFJFLMENAH_FIELD_NUMBER;
- hash = (53 * hash) + getPIFJFLMENAH();
+ hash = (37 * hash) + HEAD_IMAGE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getHeadImageId();
hash = (37 * hash) + COSTUME_ID_FIELD_NUMBER;
hash = (53 * hash) + getCostumeId();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
@@ -376,7 +376,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- pIFJFLMENAH_ = 0;
+ headImageId_ = 0;
costumeId_ = 0;
@@ -408,7 +408,7 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture build()
@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.pIFJFLMENAH_ = pIFJFLMENAH_;
+ result.headImageId_ = headImageId_;
result.costumeId_ = costumeId_;
result.avatarId_ = avatarId_;
onBuilt();
@@ -459,8 +459,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture other) {
if (other == emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance()) return this;
- if (other.getPIFJFLMENAH() != 0) {
- setPIFJFLMENAH(other.getPIFJFLMENAH());
+ if (other.getHeadImageId() != 0) {
+ setHeadImageId(other.getHeadImageId());
}
if (other.getCostumeId() != 0) {
setCostumeId(other.getCostumeId());
@@ -497,33 +497,33 @@ public Builder mergeFrom(
return this;
}
- private int pIFJFLMENAH_ ;
+ private int headImageId_ ;
/**
- * uint32 PIFJFLMENAH = 3;
- * @return The pIFJFLMENAH.
+ * uint32 head_image_id = 3;
+ * @return The headImageId.
*/
@java.lang.Override
- public int getPIFJFLMENAH() {
- return pIFJFLMENAH_;
+ public int getHeadImageId() {
+ return headImageId_;
}
/**
- * uint32 PIFJFLMENAH = 3;
- * @param value The pIFJFLMENAH to set.
+ * uint32 head_image_id = 3;
+ * @param value The headImageId to set.
* @return This builder for chaining.
*/
- public Builder setPIFJFLMENAH(int value) {
+ public Builder setHeadImageId(int value) {
- pIFJFLMENAH_ = value;
+ headImageId_ = value;
onChanged();
return this;
}
/**
- * uint32 PIFJFLMENAH = 3;
+ * uint32 head_image_id = 3;
* @return This builder for chaining.
*/
- public Builder clearPIFJFLMENAH() {
+ public Builder clearHeadImageId() {
- pIFJFLMENAH_ = 0;
+ headImageId_ = 0;
onChanged();
return this;
}
@@ -656,10 +656,10 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getDefa
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\024ProfilePicture.proto\"L\n\016ProfilePicture" +
- "\022\023\n\013PIFJFLMENAH\030\003 \001(\r\022\022\n\ncostume_id\030\002 \001(" +
- "\r\022\021\n\tavatar_id\030\001 \001(\rB\033\n\031emu.grasscutter." +
- "net.protob\006proto3"
+ "\n\024ProfilePicture.proto\"N\n\016ProfilePicture" +
+ "\022\025\n\rhead_image_id\030\003 \001(\r\022\022\n\ncostume_id\030\002 " +
+ "\001(\r\022\021\n\tavatar_id\030\001 \001(\rB\033\n\031emu.grasscutte" +
+ "r.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -670,7 +670,7 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getDefa
internal_static_ProfilePicture_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ProfilePicture_descriptor,
- new java.lang.String[] { "PIFJFLMENAH", "CostumeId", "AvatarId", });
+ new java.lang.String[] { "HeadImageId", "CostumeId", "AvatarId", });
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureUpdateNotifyOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureUpdateNotifyOuterClass.java
new file mode 100644
index 00000000000..09b63e35577
--- /dev/null
+++ b/src/generated/main/java/emu/grasscutter/net/proto/ProfilePictureUpdateNotifyOuterClass.java
@@ -0,0 +1,672 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: ProfilePictureUpdateNotify.proto
+
+package emu.grasscutter.net.proto;
+
+public final class ProfilePictureUpdateNotifyOuterClass {
+ private ProfilePictureUpdateNotifyOuterClass() {}
+ 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 ProfilePictureUpdateNotifyOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:ProfilePictureUpdateNotify)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return A list containing the specialProfilePictureList.
+ */
+ java.util.List getSpecialProfilePictureListList();
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return The count of specialProfilePictureList.
+ */
+ int getSpecialProfilePictureListCount();
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @param index The index of the element to return.
+ * @return The specialProfilePictureList at the given index.
+ */
+ int getSpecialProfilePictureList(int index);
+ }
+ /**
+ *
+ * CmdId: 24838
+ *
+ *
+ * Protobuf type {@code ProfilePictureUpdateNotify}
+ */
+ public static final class ProfilePictureUpdateNotify extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:ProfilePictureUpdateNotify)
+ ProfilePictureUpdateNotifyOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ProfilePictureUpdateNotify.newBuilder() to construct.
+ private ProfilePictureUpdateNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private ProfilePictureUpdateNotify() {
+ specialProfilePictureList_ = emptyIntList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new ProfilePictureUpdateNotify();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ProfilePictureUpdateNotify(
+ 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 8: {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ specialProfilePictureList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ specialProfilePictureList_.addInt(input.readUInt32());
+ break;
+ }
+ case 10: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
+ specialProfilePictureList_ = newIntList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ specialProfilePictureList_.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)) {
+ specialProfilePictureList_.makeImmutable(); // C
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.internal_static_ProfilePictureUpdateNotify_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.internal_static_ProfilePictureUpdateNotify_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.class, emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.Builder.class);
+ }
+
+ public static final int SPECIAL_PROFILE_PICTURE_LIST_FIELD_NUMBER = 1;
+ private com.google.protobuf.Internal.IntList specialProfilePictureList_;
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return A list containing the specialProfilePictureList.
+ */
+ @java.lang.Override
+ public java.util.List
+ getSpecialProfilePictureListList() {
+ return specialProfilePictureList_;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return The count of specialProfilePictureList.
+ */
+ public int getSpecialProfilePictureListCount() {
+ return specialProfilePictureList_.size();
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @param index The index of the element to return.
+ * @return The specialProfilePictureList at the given index.
+ */
+ public int getSpecialProfilePictureList(int index) {
+ return specialProfilePictureList_.getInt(index);
+ }
+ private int specialProfilePictureListMemoizedSerializedSize = -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 (getSpecialProfilePictureListList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(specialProfilePictureListMemoizedSerializedSize);
+ }
+ for (int i = 0; i < specialProfilePictureList_.size(); i++) {
+ output.writeUInt32NoTag(specialProfilePictureList_.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 < specialProfilePictureList_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeUInt32SizeNoTag(specialProfilePictureList_.getInt(i));
+ }
+ size += dataSize;
+ if (!getSpecialProfilePictureListList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(dataSize);
+ }
+ specialProfilePictureListMemoizedSerializedSize = 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify)) {
+ return super.equals(obj);
+ }
+ emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify other = (emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify) obj;
+
+ if (!getSpecialProfilePictureListList()
+ .equals(other.getSpecialProfilePictureListList())) 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 (getSpecialProfilePictureListCount() > 0) {
+ hash = (37 * hash) + SPECIAL_PROFILE_PICTURE_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getSpecialProfilePictureListList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify 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: 24838
+ *
+ *
+ * Protobuf type {@code ProfilePictureUpdateNotify}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:ProfilePictureUpdateNotify)
+ emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotifyOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.internal_static_ProfilePictureUpdateNotify_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.internal_static_ProfilePictureUpdateNotify_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.class, emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.Builder.class);
+ }
+
+ // Construct using emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.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();
+ specialProfilePictureList_ = emptyIntList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.internal_static_ProfilePictureUpdateNotify_descriptor;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify getDefaultInstanceForType() {
+ return emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify build() {
+ emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify buildPartial() {
+ emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify result = new emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ specialProfilePictureList_.makeImmutable();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.specialProfilePictureList_ = specialProfilePictureList_;
+ 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify) {
+ return mergeFrom((emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify other) {
+ if (other == emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify.getDefaultInstance()) return this;
+ if (!other.specialProfilePictureList_.isEmpty()) {
+ if (specialProfilePictureList_.isEmpty()) {
+ specialProfilePictureList_ = other.specialProfilePictureList_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureSpecialProfilePictureListIsMutable();
+ specialProfilePictureList_.addAll(other.specialProfilePictureList_);
+ }
+ 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.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private com.google.protobuf.Internal.IntList specialProfilePictureList_ = emptyIntList();
+ private void ensureSpecialProfilePictureListIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ specialProfilePictureList_ = mutableCopy(specialProfilePictureList_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return A list containing the specialProfilePictureList.
+ */
+ public java.util.List
+ getSpecialProfilePictureListList() {
+ return ((bitField0_ & 0x00000001) != 0) ?
+ java.util.Collections.unmodifiableList(specialProfilePictureList_) : specialProfilePictureList_;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return The count of specialProfilePictureList.
+ */
+ public int getSpecialProfilePictureListCount() {
+ return specialProfilePictureList_.size();
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @param index The index of the element to return.
+ * @return The specialProfilePictureList at the given index.
+ */
+ public int getSpecialProfilePictureList(int index) {
+ return specialProfilePictureList_.getInt(index);
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @param index The index to set the value at.
+ * @param value The specialProfilePictureList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpecialProfilePictureList(
+ int index, int value) {
+ ensureSpecialProfilePictureListIsMutable();
+ specialProfilePictureList_.setInt(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @param value The specialProfilePictureList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addSpecialProfilePictureList(int value) {
+ ensureSpecialProfilePictureListIsMutable();
+ specialProfilePictureList_.addInt(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @param values The specialProfilePictureList to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllSpecialProfilePictureList(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureSpecialProfilePictureListIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, specialProfilePictureList_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated uint32 special_profile_picture_list = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearSpecialProfilePictureList() {
+ specialProfilePictureList_ = 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:ProfilePictureUpdateNotify)
+ }
+
+ // @@protoc_insertion_point(class_scope:ProfilePictureUpdateNotify)
+ private static final emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify();
+ }
+
+ public static emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ProfilePictureUpdateNotify parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ProfilePictureUpdateNotify(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public emu.grasscutter.net.proto.ProfilePictureUpdateNotifyOuterClass.ProfilePictureUpdateNotify getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+ }
+
+ private static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_ProfilePictureUpdateNotify_descriptor;
+ private static final
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_ProfilePictureUpdateNotify_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 ProfilePictureUpdateNotify.proto\"B\n\032Pr" +
+ "ofilePictureUpdateNotify\022$\n\034special_prof" +
+ "ile_picture_list\030\001 \003(\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_ProfilePictureUpdateNotify_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_ProfilePictureUpdateNotify_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_ProfilePictureUpdateNotify_descriptor,
+ new java.lang.String[] { "SpecialProfilePictureList", });
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardReqOuterClass.java
index a6a05e00623..56f79cb1643 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardReqOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardReqOuterClass.java
@@ -19,12 +19,16 @@ public interface SetNameCardReqOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 name_card_id = 13;
+ * uint32 name_card_id = 14;
* @return The nameCardId.
*/
int getNameCardId();
}
/**
+ *
+ * CmdId: 27523
+ *
+ *
* Protobuf type {@code SetNameCardReq}
*/
public static final class SetNameCardReq extends
@@ -69,7 +73,7 @@ private SetNameCardReq(
case 0:
done = true;
break;
- case 104: {
+ case 112: {
nameCardId_ = input.readUInt32();
break;
@@ -106,10 +110,10 @@ private SetNameCardReq(
emu.grasscutter.net.proto.SetNameCardReqOuterClass.SetNameCardReq.class, emu.grasscutter.net.proto.SetNameCardReqOuterClass.SetNameCardReq.Builder.class);
}
- public static final int NAME_CARD_ID_FIELD_NUMBER = 13;
+ public static final int NAME_CARD_ID_FIELD_NUMBER = 14;
private int nameCardId_;
/**
- * uint32 name_card_id = 13;
+ * uint32 name_card_id = 14;
* @return The nameCardId.
*/
@java.lang.Override
@@ -132,7 +136,7 @@ public final boolean isInitialized() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (nameCardId_ != 0) {
- output.writeUInt32(13, nameCardId_);
+ output.writeUInt32(14, nameCardId_);
}
unknownFields.writeTo(output);
}
@@ -145,7 +149,7 @@ public int getSerializedSize() {
size = 0;
if (nameCardId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(13, nameCardId_);
+ .computeUInt32Size(14, nameCardId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -273,6 +277,10 @@ protected Builder newBuilderForType(
return builder;
}
/**
+ *
+ * CmdId: 27523
+ *
+ *
* Protobuf type {@code SetNameCardReq}
*/
public static final class Builder extends
@@ -421,7 +429,7 @@ public Builder mergeFrom(
private int nameCardId_ ;
/**
- * uint32 name_card_id = 13;
+ * uint32 name_card_id = 14;
* @return The nameCardId.
*/
@java.lang.Override
@@ -429,7 +437,7 @@ public int getNameCardId() {
return nameCardId_;
}
/**
- * uint32 name_card_id = 13;
+ * uint32 name_card_id = 14;
* @param value The nameCardId to set.
* @return This builder for chaining.
*/
@@ -440,7 +448,7 @@ public Builder setNameCardId(int value) {
return this;
}
/**
- * uint32 name_card_id = 13;
+ * uint32 name_card_id = 14;
* @return This builder for chaining.
*/
public Builder clearNameCardId() {
@@ -517,7 +525,7 @@ public emu.grasscutter.net.proto.SetNameCardReqOuterClass.SetNameCardReq getDefa
static {
java.lang.String[] descriptorData = {
"\n\024SetNameCardReq.proto\"&\n\016SetNameCardReq" +
- "\022\024\n\014name_card_id\030\r \001(\rB\033\n\031emu.grasscutte" +
+ "\022\024\n\014name_card_id\030\016 \001(\rB\033\n\031emu.grasscutte" +
"r.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardRspOuterClass.java
index 642f4727edf..df7770e8781 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardRspOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/SetNameCardRspOuterClass.java
@@ -19,18 +19,22 @@ public interface SetNameCardRspOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * int32 retcode = 15;
+ * int32 retcode = 6;
* @return The retcode.
*/
int getRetcode();
/**
- * uint32 name_card_id = 7;
+ * uint32 name_card_id = 12;
* @return The nameCardId.
*/
int getNameCardId();
}
/**
+ *
+ * CmdId: 1442
+ *
+ *
* Protobuf type {@code SetNameCardRsp}
*/
public static final class SetNameCardRsp extends
@@ -75,14 +79,14 @@ private SetNameCardRsp(
case 0:
done = true;
break;
- case 56: {
+ case 48: {
- nameCardId_ = input.readUInt32();
+ retcode_ = input.readInt32();
break;
}
- case 120: {
+ case 96: {
- retcode_ = input.readInt32();
+ nameCardId_ = input.readUInt32();
break;
}
default: {
@@ -117,10 +121,10 @@ private SetNameCardRsp(
emu.grasscutter.net.proto.SetNameCardRspOuterClass.SetNameCardRsp.class, emu.grasscutter.net.proto.SetNameCardRspOuterClass.SetNameCardRsp.Builder.class);
}
- public static final int RETCODE_FIELD_NUMBER = 15;
+ public static final int RETCODE_FIELD_NUMBER = 6;
private int retcode_;
/**
- * int32 retcode = 15;
+ * int32 retcode = 6;
* @return The retcode.
*/
@java.lang.Override
@@ -128,10 +132,10 @@ public int getRetcode() {
return retcode_;
}
- public static final int NAME_CARD_ID_FIELD_NUMBER = 7;
+ public static final int NAME_CARD_ID_FIELD_NUMBER = 12;
private int nameCardId_;
/**
- * uint32 name_card_id = 7;
+ * uint32 name_card_id = 12;
* @return The nameCardId.
*/
@java.lang.Override
@@ -153,11 +157,11 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (nameCardId_ != 0) {
- output.writeUInt32(7, nameCardId_);
- }
if (retcode_ != 0) {
- output.writeInt32(15, retcode_);
+ output.writeInt32(6, retcode_);
+ }
+ if (nameCardId_ != 0) {
+ output.writeUInt32(12, nameCardId_);
}
unknownFields.writeTo(output);
}
@@ -168,13 +172,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (nameCardId_ != 0) {
+ if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(7, nameCardId_);
+ .computeInt32Size(6, retcode_);
}
- if (retcode_ != 0) {
+ if (nameCardId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(15, retcode_);
+ .computeUInt32Size(12, nameCardId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -306,6 +310,10 @@ protected Builder newBuilderForType(
return builder;
}
/**
+ *
+ * CmdId: 1442
+ *
+ *
* Protobuf type {@code SetNameCardRsp}
*/
public static final class Builder extends
@@ -460,7 +468,7 @@ public Builder mergeFrom(
private int retcode_ ;
/**
- * int32 retcode = 15;
+ * int32 retcode = 6;
* @return The retcode.
*/
@java.lang.Override
@@ -468,7 +476,7 @@ public int getRetcode() {
return retcode_;
}
/**
- * int32 retcode = 15;
+ * int32 retcode = 6;
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -479,7 +487,7 @@ public Builder setRetcode(int value) {
return this;
}
/**
- * int32 retcode = 15;
+ * int32 retcode = 6;
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -491,7 +499,7 @@ public Builder clearRetcode() {
private int nameCardId_ ;
/**
- * uint32 name_card_id = 7;
+ * uint32 name_card_id = 12;
* @return The nameCardId.
*/
@java.lang.Override
@@ -499,7 +507,7 @@ public int getNameCardId() {
return nameCardId_;
}
/**
- * uint32 name_card_id = 7;
+ * uint32 name_card_id = 12;
* @param value The nameCardId to set.
* @return This builder for chaining.
*/
@@ -510,7 +518,7 @@ public Builder setNameCardId(int value) {
return this;
}
/**
- * uint32 name_card_id = 7;
+ * uint32 name_card_id = 12;
* @return This builder for chaining.
*/
public Builder clearNameCardId() {
@@ -587,7 +595,7 @@ public emu.grasscutter.net.proto.SetNameCardRspOuterClass.SetNameCardRsp getDefa
static {
java.lang.String[] descriptorData = {
"\n\024SetNameCardRsp.proto\"7\n\016SetNameCardRsp" +
- "\022\017\n\007retcode\030\017 \001(\005\022\024\n\014name_card_id\030\007 \001(\rB" +
+ "\022\017\n\007retcode\030\006 \001(\005\022\024\n\014name_card_id\030\014 \001(\rB" +
"\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageReqOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageReqOuterClass.java
index 8083ebefb13..b00d6e387b4 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageReqOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageReqOuterClass.java
@@ -19,15 +19,14 @@ public interface SetPlayerHeadImageReqOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * uint32 avatar_id = 7;
- * @return The avatarId.
+ * uint32 head_image_id = 2;
+ * @return The headImageId.
*/
- int getAvatarId();
+ int getHeadImageId();
}
/**
*
- * CmdId: 4071
- * Obf: PDIPMMGDOGN
+ * CmdId: 8629
*
*
* Protobuf type {@code SetPlayerHeadImageReq}
@@ -74,9 +73,9 @@ private SetPlayerHeadImageReq(
case 0:
done = true;
break;
- case 56: {
+ case 16: {
- avatarId_ = input.readUInt32();
+ headImageId_ = input.readUInt32();
break;
}
default: {
@@ -111,15 +110,15 @@ private SetPlayerHeadImageReq(
emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.class, emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.Builder.class);
}
- public static final int AVATAR_ID_FIELD_NUMBER = 7;
- private int avatarId_;
+ public static final int HEAD_IMAGE_ID_FIELD_NUMBER = 2;
+ private int headImageId_;
/**
- * uint32 avatar_id = 7;
- * @return The avatarId.
+ * uint32 head_image_id = 2;
+ * @return The headImageId.
*/
@java.lang.Override
- public int getAvatarId() {
- return avatarId_;
+ public int getHeadImageId() {
+ return headImageId_;
}
private byte memoizedIsInitialized = -1;
@@ -136,8 +135,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (avatarId_ != 0) {
- output.writeUInt32(7, avatarId_);
+ if (headImageId_ != 0) {
+ output.writeUInt32(2, headImageId_);
}
unknownFields.writeTo(output);
}
@@ -148,9 +147,9 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (avatarId_ != 0) {
+ if (headImageId_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(7, avatarId_);
+ .computeUInt32Size(2, headImageId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -167,8 +166,8 @@ public boolean equals(final java.lang.Object obj) {
}
emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq other = (emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq) obj;
- if (getAvatarId()
- != other.getAvatarId()) return false;
+ if (getHeadImageId()
+ != other.getHeadImageId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -180,8 +179,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
- hash = (53 * hash) + getAvatarId();
+ hash = (37 * hash) + HEAD_IMAGE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getHeadImageId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -279,8 +278,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 4071
- * Obf: PDIPMMGDOGN
+ * CmdId: 8629
*
*
* Protobuf type {@code SetPlayerHeadImageReq}
@@ -320,7 +318,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
- avatarId_ = 0;
+ headImageId_ = 0;
return this;
}
@@ -348,7 +346,7 @@ public emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadIm
@java.lang.Override
public emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq buildPartial() {
emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq result = new emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq(this);
- result.avatarId_ = avatarId_;
+ result.headImageId_ = headImageId_;
onBuilt();
return result;
}
@@ -397,8 +395,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq other) {
if (other == emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadImageReq.getDefaultInstance()) return this;
- if (other.getAvatarId() != 0) {
- setAvatarId(other.getAvatarId());
+ if (other.getHeadImageId() != 0) {
+ setHeadImageId(other.getHeadImageId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -429,33 +427,33 @@ public Builder mergeFrom(
return this;
}
- private int avatarId_ ;
+ private int headImageId_ ;
/**
- * uint32 avatar_id = 7;
- * @return The avatarId.
+ * uint32 head_image_id = 2;
+ * @return The headImageId.
*/
@java.lang.Override
- public int getAvatarId() {
- return avatarId_;
+ public int getHeadImageId() {
+ return headImageId_;
}
/**
- * uint32 avatar_id = 7;
- * @param value The avatarId to set.
+ * uint32 head_image_id = 2;
+ * @param value The headImageId to set.
* @return This builder for chaining.
*/
- public Builder setAvatarId(int value) {
+ public Builder setHeadImageId(int value) {
- avatarId_ = value;
+ headImageId_ = value;
onChanged();
return this;
}
/**
- * uint32 avatar_id = 7;
+ * uint32 head_image_id = 2;
* @return This builder for chaining.
*/
- public Builder clearAvatarId() {
+ public Builder clearHeadImageId() {
- avatarId_ = 0;
+ headImageId_ = 0;
onChanged();
return this;
}
@@ -526,9 +524,9 @@ public emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadIm
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\033SetPlayerHeadImageReq.proto\"*\n\025SetPlay" +
- "erHeadImageReq\022\021\n\tavatar_id\030\007 \001(\rB\033\n\031emu" +
- ".grasscutter.net.protob\006proto3"
+ "\n\033SetPlayerHeadImageReq.proto\".\n\025SetPlay" +
+ "erHeadImageReq\022\025\n\rhead_image_id\030\002 \001(\rB\033\n" +
+ "\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -539,7 +537,7 @@ public emu.grasscutter.net.proto.SetPlayerHeadImageReqOuterClass.SetPlayerHeadIm
internal_static_SetPlayerHeadImageReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SetPlayerHeadImageReq_descriptor,
- new java.lang.String[] { "AvatarId", });
+ new java.lang.String[] { "HeadImageId", });
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageRspOuterClass.java b/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageRspOuterClass.java
index 432afab7564..d0d58d51115 100644
--- a/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageRspOuterClass.java
+++ b/src/generated/main/java/emu/grasscutter/net/proto/SetPlayerHeadImageRspOuterClass.java
@@ -19,36 +19,29 @@ public interface SetPlayerHeadImageRspOrBuilder extends
com.google.protobuf.MessageOrBuilder {
/**
- * int32 retcode = 8;
+ * int32 retcode = 9;
* @return The retcode.
*/
int getRetcode();
/**
- * uint32 avatar_id = 13;
- * @return The avatarId.
- */
- int getAvatarId();
-
- /**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
* @return Whether the profilePicture field is set.
*/
boolean hasProfilePicture();
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
* @return The profilePicture.
*/
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture();
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder();
}
/**
*
- * CmdId: 20979
- * Obf: PAGKCLAMNDJ
+ * CmdId: 24577
*
*
* Protobuf type {@code SetPlayerHeadImageRsp}
@@ -95,7 +88,12 @@ private SetPlayerHeadImageRsp(
case 0:
done = true;
break;
- case 50: {
+ case 72: {
+
+ retcode_ = input.readInt32();
+ break;
+ }
+ case 82: {
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder subBuilder = null;
if (profilePicture_ != null) {
subBuilder = profilePicture_.toBuilder();
@@ -108,16 +106,6 @@ private SetPlayerHeadImageRsp(
break;
}
- case 64: {
-
- retcode_ = input.readInt32();
- break;
- }
- case 104: {
-
- avatarId_ = input.readUInt32();
- break;
- }
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -150,10 +138,10 @@ private SetPlayerHeadImageRsp(
emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadImageRsp.class, emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadImageRsp.Builder.class);
}
- public static final int RETCODE_FIELD_NUMBER = 8;
+ public static final int RETCODE_FIELD_NUMBER = 9;
private int retcode_;
/**
- * int32 retcode = 8;
+ * int32 retcode = 9;
* @return The retcode.
*/
@java.lang.Override
@@ -161,21 +149,10 @@ public int getRetcode() {
return retcode_;
}
- public static final int AVATAR_ID_FIELD_NUMBER = 13;
- private int avatarId_;
- /**
- * uint32 avatar_id = 13;
- * @return The avatarId.
- */
- @java.lang.Override
- public int getAvatarId() {
- return avatarId_;
- }
-
- public static final int PROFILE_PICTURE_FIELD_NUMBER = 6;
+ public static final int PROFILE_PICTURE_FIELD_NUMBER = 10;
private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
* @return Whether the profilePicture field is set.
*/
@java.lang.Override
@@ -183,7 +160,7 @@ public boolean hasProfilePicture() {
return profilePicture_ != null;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
* @return The profilePicture.
*/
@java.lang.Override
@@ -191,7 +168,7 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProf
return profilePicture_ == null ? emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.getDefaultInstance() : profilePicture_;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
@@ -212,14 +189,11 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (profilePicture_ != null) {
- output.writeMessage(6, getProfilePicture());
- }
if (retcode_ != 0) {
- output.writeInt32(8, retcode_);
+ output.writeInt32(9, retcode_);
}
- if (avatarId_ != 0) {
- output.writeUInt32(13, avatarId_);
+ if (profilePicture_ != null) {
+ output.writeMessage(10, getProfilePicture());
}
unknownFields.writeTo(output);
}
@@ -230,17 +204,13 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (profilePicture_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, getProfilePicture());
- }
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(8, retcode_);
+ .computeInt32Size(9, retcode_);
}
- if (avatarId_ != 0) {
+ if (profilePicture_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(13, avatarId_);
+ .computeMessageSize(10, getProfilePicture());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -259,8 +229,6 @@ public boolean equals(final java.lang.Object obj) {
if (getRetcode()
!= other.getRetcode()) return false;
- if (getAvatarId()
- != other.getAvatarId()) return false;
if (hasProfilePicture() != other.hasProfilePicture()) return false;
if (hasProfilePicture()) {
if (!getProfilePicture()
@@ -279,8 +247,6 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
- hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
- hash = (53 * hash) + getAvatarId();
if (hasProfilePicture()) {
hash = (37 * hash) + PROFILE_PICTURE_FIELD_NUMBER;
hash = (53 * hash) + getProfilePicture().hashCode();
@@ -382,8 +348,7 @@ protected Builder newBuilderForType(
}
/**
*
- * CmdId: 20979
- * Obf: PAGKCLAMNDJ
+ * CmdId: 24577
*
*
* Protobuf type {@code SetPlayerHeadImageRsp}
@@ -425,8 +390,6 @@ public Builder clear() {
super.clear();
retcode_ = 0;
- avatarId_ = 0;
-
if (profilePictureBuilder_ == null) {
profilePicture_ = null;
} else {
@@ -460,7 +423,6 @@ public emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadIm
public emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadImageRsp buildPartial() {
emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadImageRsp result = new emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadImageRsp(this);
result.retcode_ = retcode_;
- result.avatarId_ = avatarId_;
if (profilePictureBuilder_ == null) {
result.profilePicture_ = profilePicture_;
} else {
@@ -517,9 +479,6 @@ public Builder mergeFrom(emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterCla
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
- if (other.getAvatarId() != 0) {
- setAvatarId(other.getAvatarId());
- }
if (other.hasProfilePicture()) {
mergeProfilePicture(other.getProfilePicture());
}
@@ -554,7 +513,7 @@ public Builder mergeFrom(
private int retcode_ ;
/**
- * int32 retcode = 8;
+ * int32 retcode = 9;
* @return The retcode.
*/
@java.lang.Override
@@ -562,7 +521,7 @@ public int getRetcode() {
return retcode_;
}
/**
- * int32 retcode = 8;
+ * int32 retcode = 9;
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -573,7 +532,7 @@ public Builder setRetcode(int value) {
return this;
}
/**
- * int32 retcode = 8;
+ * int32 retcode = 9;
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -583,49 +542,18 @@ public Builder clearRetcode() {
return this;
}
- private int avatarId_ ;
- /**
- * uint32 avatar_id = 13;
- * @return The avatarId.
- */
- @java.lang.Override
- public int getAvatarId() {
- return avatarId_;
- }
- /**
- * uint32 avatar_id = 13;
- * @param value The avatarId to set.
- * @return This builder for chaining.
- */
- public Builder setAvatarId(int value) {
-
- avatarId_ = value;
- onChanged();
- return this;
- }
- /**
- * uint32 avatar_id = 13;
- * @return This builder for chaining.
- */
- public Builder clearAvatarId() {
-
- avatarId_ = 0;
- onChanged();
- return this;
- }
-
private emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture profilePicture_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder> profilePictureBuilder_;
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
* @return Whether the profilePicture field is set.
*/
public boolean hasProfilePicture() {
return profilePictureBuilder_ != null || profilePicture_ != null;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
* @return The profilePicture.
*/
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProfilePicture() {
@@ -636,7 +564,7 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture getProf
}
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
public Builder setProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture value) {
if (profilePictureBuilder_ == null) {
@@ -652,7 +580,7 @@ public Builder setProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterCl
return this;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
public Builder setProfilePicture(
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder builderForValue) {
@@ -666,7 +594,7 @@ public Builder setProfilePicture(
return this;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
public Builder mergeProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture value) {
if (profilePictureBuilder_ == null) {
@@ -684,7 +612,7 @@ public Builder mergeProfilePicture(emu.grasscutter.net.proto.ProfilePictureOuter
return this;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
public Builder clearProfilePicture() {
if (profilePictureBuilder_ == null) {
@@ -698,7 +626,7 @@ public Builder clearProfilePicture() {
return this;
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder getProfilePictureBuilder() {
@@ -706,7 +634,7 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder
return getProfilePictureFieldBuilder().getBuilder();
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder getProfilePictureOrBuilder() {
if (profilePictureBuilder_ != null) {
@@ -717,7 +645,7 @@ public emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilde
}
}
/**
- * .ProfilePicture profile_picture = 6;
+ * .ProfilePicture profile_picture = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePicture.Builder, emu.grasscutter.net.proto.ProfilePictureOuterClass.ProfilePictureOrBuilder>
@@ -800,10 +728,10 @@ public emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadIm
static {
java.lang.String[] descriptorData = {
"\n\033SetPlayerHeadImageRsp.proto\032\024ProfilePi" +
- "cture.proto\"e\n\025SetPlayerHeadImageRsp\022\017\n\007" +
- "retcode\030\010 \001(\005\022\021\n\tavatar_id\030\r \001(\r\022(\n\017prof" +
- "ile_picture\030\006 \001(\0132\017.ProfilePictureB\033\n\031em" +
- "u.grasscutter.net.protob\006proto3"
+ "cture.proto\"R\n\025SetPlayerHeadImageRsp\022\017\n\007" +
+ "retcode\030\t \001(\005\022(\n\017profile_picture\030\n \001(\0132\017" +
+ ".ProfilePictureB\033\n\031emu.grasscutter.net.p" +
+ "rotob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -815,7 +743,7 @@ public emu.grasscutter.net.proto.SetPlayerHeadImageRspOuterClass.SetPlayerHeadIm
internal_static_SetPlayerHeadImageRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SetPlayerHeadImageRsp_descriptor,
- new java.lang.String[] { "Retcode", "AvatarId", "ProfilePicture", });
+ new java.lang.String[] { "Retcode", "ProfilePicture", });
emu.grasscutter.net.proto.ProfilePictureOuterClass.getDescriptor();
}
diff --git a/src/main/java/emu/grasscutter/game/ability/actions/ActionSummon.java b/src/main/java/emu/grasscutter/game/ability/actions/ActionSummon.java
index 02a3e01940f..f4d1419e918 100644
--- a/src/main/java/emu/grasscutter/game/ability/actions/ActionSummon.java
+++ b/src/main/java/emu/grasscutter/game/ability/actions/ActionSummon.java
@@ -8,7 +8,7 @@
import emu.grasscutter.game.ability.Ability;
import emu.grasscutter.game.entity.*;
import emu.grasscutter.game.world.*;
-import emu.grasscutter.net.proto.EPKDEHOJFLIOuterClass.EPKDEHOJFLI;
+import emu.grasscutter.net.proto.AbilityActionSummonOuterClass.AbilityActionSummon;
import emu.grasscutter.server.packet.send.PacketMonsterSummonTagNotify;
import emu.grasscutter.utils.*;
@@ -17,14 +17,14 @@ public class ActionSummon extends AbilityActionHandler {
@Override
public synchronized boolean execute(
Ability ability, AbilityModifierAction action, ByteString abilityData, GameEntity target) {
- EPKDEHOJFLI summonPosRot = null;
+ AbilityActionSummon summonPosRot = null;
try {
// In game version 4.0, summoned entity's
// position and rotation are packed in EPKDEHOJFLI.
// This is packet AbilityActionSummon and has two fields:
// 4: Vector pos
// 13: Vector rot
- summonPosRot = EPKDEHOJFLI.parseFrom(abilityData);
+ summonPosRot = AbilityActionSummon.parseFrom(abilityData);
} catch (InvalidProtocolBufferException e) {
Grasscutter.getLogger()
.error("Failed to parse abilityData: {}", Utils.bytesToHex(abilityData.toByteArray()));
diff --git a/src/main/java/emu/grasscutter/game/player/Player.java b/src/main/java/emu/grasscutter/game/player/Player.java
index f3a77410de9..29ab62098a5 100644
--- a/src/main/java/emu/grasscutter/game/player/Player.java
+++ b/src/main/java/emu/grasscutter/game/player/Player.java
@@ -1071,7 +1071,7 @@ public OnlinePlayerInfo getOnlinePlayerInfo() {
.setMpSettingType(this.getMpSetting())
.setNameCardId(this.getNameCardId())
.setSignature(this.getSignature())
- .setProfilePicture(ProfilePicture.newBuilder().setAvatarId(this.getHeadImage()));
+ .setProfilePicture(ProfilePicture.newBuilder().setHeadImageId(this.getHeadImage()));
if (this.getWorld() != null) {
onlineInfo.setCurPlayerNumInWorld(getWorld().getPlayerCount());
@@ -1126,7 +1126,7 @@ public SocialDetail.Builder getSocialDetail() {
return SocialDetail.newBuilder()
.setUid(this.getUid())
- .setProfilePicture(ProfilePicture.newBuilder().setAvatarId(this.getHeadImage()))
+ .setProfilePicture(ProfilePicture.newBuilder().setHeadImageId(this.getHeadImage()))
.setNickname(this.getNickname())
.setSignature(this.getSignature())
.setLevel(this.getLevel())
diff --git a/src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java b/src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java
index ee13f3152a2..2699d168a5d 100644
--- a/src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java
+++ b/src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java
@@ -60,6 +60,22 @@ public final class PacketOpcodes {
public static final int ChangeAvatarRsp = 21804;
public static final int SceneEntityDisappearNotify = 7872;
public static final int AvatarTeamUpdateNotify = 4042;
+ public static final int GetAllUnlockNameCardReq = 26933;
+ public static final int GetAllUnlockNameCardRsp = 22367;
+ public static final int PersonalSceneJumpRsp = 9709;
+ public static final int HostPlayerNotify = 23063;
+ public static final int DungeonSettleNotify = 3857;
+ public static final int GetAuthkeyRsp = 383;
+ public static final int AvatarTeamAllDataNotify = 26224;
+ public static final int MonsterAlertChangeNotify = 20074;
+ public static final int OpenStateChangeNotify = 21245;
+ public static final int SetNameCardReq = 27523;
+ public static final int SetNameCardRsp = 1442;
+ public static final int GetProfilePictureDataReq = 1648;
+ public static final int GetProfilePictureDataRsp = 6565;
+ public static final int ProfilePictureUpdateNotify = 24838;
+ public static final int SetPlayerHeadImageReq = 8629;
+ public static final int SetPlayerHeadImageRsp = 24577;
// 4.7.0 Obfuscated
@@ -118,8 +134,6 @@ public final class PacketOpcodes {
public static final int SetEquipLockStateRsp = 1;
public static final int GetActivityInfoRsp = 1;
public static final int AbilityInvocationsNotify = 1;
- public static final int SetNameCardReq = 1;
- public static final int SetNameCardRsp = 1;
public static final int UpdatePlayerShowNameCardListReq = 1;
public static final int UpdatePlayerShowNameCardListRsp = 1;
public static final int GetFriendShowNameCardInfoRsp = 1;
@@ -157,7 +171,6 @@ public final class PacketOpcodes {
public static final int WeaponAwakenReq = 1;
public static final int WeaponAwakenRsp = 1;
public static final int PersonalSceneJumpReq = 1;
- public static final int PersonalSceneJumpRsp = 1;
public static final int GetWidgetQuickSlotListReq = 1;
public static final int CardProductRewardNotify = 1;
public static final int TakePlayerLevelRewardReq = 1;
@@ -179,7 +192,6 @@ public final class PacketOpcodes {
public static final int DungeonEntryToBeExploreNotify = 1;
public static final int GetDungeonEntryExploreConditionReq = 1;
public static final int GetDungeonEntryExploreConditionRsp = 1;
- public static final int DungeonSettleNotify = 1;
public static final int TowerLevelEndNotify = 1;
public static final int TrialAvatarFirstPassDungeonNotify = 1;
public static final int QuestUpdateQuestVarReq = 1;
@@ -307,7 +319,6 @@ public final class PacketOpcodes {
public static final int AvatarSkillMaxChargeCountNotify = 1;
public static final int AvatarSkillUpgradeReq = 1;
public static final int AvatarSkillUpgradeRsp = 1;
- public static final int AvatarTeamAllDataNotify = 1;
public static final int AvatarUnlockTalentNotify = 1;
public static final int AvatarUpgradeReq = 1;
public static final int AvatarUpgradeRsp = 1;
@@ -988,14 +999,11 @@ public final class PacketOpcodes {
public static final int GetAllMailRsp = 1;
public static final int GetAllSceneGalleryInfoReq = 1;
public static final int GetAllSceneGalleryInfoRsp = 1;
- public static final int GetAllUnlockNameCardReq = 1;
- public static final int GetAllUnlockNameCardRsp = 1;
public static final int GetAreaExplorePointReq = 1;
public static final int GetAreaExplorePointRsp = 1;
public static final int GetAuthSalesmanInfoReq = 1;
public static final int GetAuthSalesmanInfoRsp = 1;
public static final int GetAuthkeyReq = 1;
- public static final int GetAuthkeyRsp = 1;
public static final int GetBargainDataReq = 1;
public static final int GetBargainDataRsp = 1;
public static final int GetBattlePassProductReq = 1;
@@ -1247,7 +1255,6 @@ public final class PacketOpcodes {
public static final int HomeUpdatePictureFrameInfoRsp = 1;
public static final int HomeUpdateScenePointFishFarmingInfoReq = 1;
public static final int HomeUpdateScenePointFishFarmingInfoRsp = 1;
- public static final int HostPlayerNotify = 1;
public static final int HuntingFailNotify = 1;
public static final int HuntingGiveUpReq = 1;
public static final int HuntingGiveUpRsp = 1;
@@ -1410,7 +1417,6 @@ public final class PacketOpcodes {
public static final int MistTrialSelectAvatarAndEnterDungeonRsp = 1;
public static final int MistTrialSettleNotify = 1;
public static final int MonsterAIConfigHashNotify = 1;
- public static final int MonsterAlertChangeNotify = 1;
public static final int MonsterForceAlertNotify = 1;
public static final int MonsterPointArrayRouteUpdateNotify = 1;
public static final int MonsterSummonTagNotify = 1;
@@ -1456,7 +1462,6 @@ public final class PacketOpcodes {
public static final int OpActivityStateNotify = 1;
public static final int OpActivityUpdateNotify = 1;
public static final int OpenBlossomCircleCampGuideNotify = 1;
- public static final int OpenStateChangeNotify = 1;
public static final int OrderDisplayNotify = 1;
public static final int OrderFinishNotify = 1;
public static final int OtherPlayerEnterHomeNotify = 1;
@@ -1853,8 +1858,6 @@ public final class PacketOpcodes {
public static final int SetOpenStateRsp = 1;
public static final int SetPlayerBornDataReq = 1;
public static final int SetPlayerBornDataRsp = 1;
- public static final int SetPlayerHeadImageReq = 1;
- public static final int SetPlayerHeadImageRsp = 1;
public static final int SetPlayerPropReq = 1;
public static final int SetPlayerPropRsp = 1;
public static final int SetSceneWeatherAreaReq = 1;
diff --git a/src/main/java/emu/grasscutter/server/packet/recv/HandlerGetProfilePictureDataReq.java b/src/main/java/emu/grasscutter/server/packet/recv/HandlerGetProfilePictureDataReq.java
new file mode 100644
index 00000000000..927190481a4
--- /dev/null
+++ b/src/main/java/emu/grasscutter/server/packet/recv/HandlerGetProfilePictureDataReq.java
@@ -0,0 +1,17 @@
+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.server.game.GameSession;
+import emu.grasscutter.server.packet.send.PacketGetProfilePictureDataRsp;
+
+@Opcodes(PacketOpcodes.GetProfilePictureDataReq)
+public class HandlerGetProfilePictureDataReq extends PacketHandler {
+
+ @Override
+ public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
+ session.send(
+ new PacketGetProfilePictureDataRsp(session.getPlayer()));
+ }
+}
diff --git a/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerHeadImageReq.java b/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerHeadImageReq.java
index 01c41bc2a9b..3634bb532d6 100644
--- a/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerHeadImageReq.java
+++ b/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerHeadImageReq.java
@@ -11,11 +11,9 @@ public class HandlerSetPlayerHeadImageReq extends PacketHandler {
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
SetPlayerHeadImageReq req = SetPlayerHeadImageReq.parseFrom(payload);
- int id = req.getAvatarId();
+ int id = req.getHeadImageId();
- if (session.getPlayer().getAvatars().hasAvatar(id)) {
- session.getPlayer().setHeadImage(id);
- session.send(new PacketSetPlayerHeadImageRsp(session.getPlayer()));
- }
+ session.getPlayer().setHeadImage(id);
+ session.send(new PacketSetPlayerHeadImageRsp(session.getPlayer()));
}
}
diff --git a/src/main/java/emu/grasscutter/server/packet/send/PacketGetProfilePictureDataRsp.java b/src/main/java/emu/grasscutter/server/packet/send/PacketGetProfilePictureDataRsp.java
new file mode 100644
index 00000000000..48b91465abc
--- /dev/null
+++ b/src/main/java/emu/grasscutter/server/packet/send/PacketGetProfilePictureDataRsp.java
@@ -0,0 +1,18 @@
+package emu.grasscutter.server.packet.send;
+
+import emu.grasscutter.data.GameData;
+import emu.grasscutter.game.player.Player;
+import emu.grasscutter.net.packet.BasePacket;
+import emu.grasscutter.net.packet.PacketOpcodes;
+import emu.grasscutter.net.proto.GetProfilePictureDataRspOuterClass.GetProfilePictureDataRsp;
+
+public class PacketGetProfilePictureDataRsp extends BasePacket {
+
+ public PacketGetProfilePictureDataRsp(Player player) {
+ super(PacketOpcodes.GetProfilePictureDataRsp);
+
+ var proto = GetProfilePictureDataRsp.newBuilder();
+
+ this.setData(proto);
+ }
+}
diff --git a/src/main/java/emu/grasscutter/server/packet/send/PacketSetPlayerHeadImageRsp.java b/src/main/java/emu/grasscutter/server/packet/send/PacketSetPlayerHeadImageRsp.java
index 418ea80c81b..347389c687a 100644
--- a/src/main/java/emu/grasscutter/server/packet/send/PacketSetPlayerHeadImageRsp.java
+++ b/src/main/java/emu/grasscutter/server/packet/send/PacketSetPlayerHeadImageRsp.java
@@ -12,7 +12,7 @@ public PacketSetPlayerHeadImageRsp(Player player) {
SetPlayerHeadImageRsp proto =
SetPlayerHeadImageRsp.newBuilder()
- .setProfilePicture(ProfilePicture.newBuilder().setAvatarId(player.getHeadImage()))
+ .setProfilePicture(ProfilePicture.newBuilder().setHeadImageId(player.getHeadImage()))
.build();
this.setData(proto);