Protocol definition fixes

This commit is contained in:
KingRainbow44
2023-08-14 23:38:07 -04:00
Unverified
parent 31b9541b66
commit 407c1b3a86
44 changed files with 6481 additions and 4856 deletions
@@ -43,16 +43,16 @@ public final class HomeBasicInfoOuterClass {
boolean getIsInEditMode();
/**
* <code>uint32 BEIJAFMDNFK = 13;</code>
* @return The bEIJAFMDNFK.
* <code>uint32 cur_module_id = 13;</code>
* @return The curModuleId.
*/
int getBEIJAFMDNFK();
int getCurModuleId();
/**
* <code>uint32 GLJCPMPPCKO = 8;</code>
* @return The gLJCPMPPCKO.
* <code>uint32 cur_room_scene_id = 8;</code>
* @return The curRoomSceneId.
*/
int getGLJCPMPPCKO();
int getCurRoomSceneId();
/**
* <code>uint64 exp = 10;</code>
@@ -61,10 +61,10 @@ public final class HomeBasicInfoOuterClass {
long getExp();
/**
* <code>uint32 PAOBDHAMCKB = 14;</code>
* @return The pAOBDHAMCKB.
* <code>uint32 home_owner_uid = 14;</code>
* @return The homeOwnerUid.
*/
int getPAOBDHAMCKB();
int getHomeOwnerUid();
/**
* <code>.HomeLimitedShopInfo limited_shop_info = 15;</code>
@@ -139,7 +139,7 @@ public final class HomeBasicInfoOuterClass {
}
case 64: {
gLJCPMPPCKO_ = input.readUInt32();
curRoomSceneId_ = input.readUInt32();
break;
}
case 72: {
@@ -159,12 +159,12 @@ public final class HomeBasicInfoOuterClass {
}
case 104: {
bEIJAFMDNFK_ = input.readUInt32();
curModuleId_ = input.readUInt32();
break;
}
case 112: {
pAOBDHAMCKB_ = input.readUInt32();
homeOwnerUid_ = input.readUInt32();
break;
}
case 122: {
@@ -272,26 +272,26 @@ public final class HomeBasicInfoOuterClass {
return isInEditMode_;
}
public static final int BEIJAFMDNFK_FIELD_NUMBER = 13;
private int bEIJAFMDNFK_;
public static final int CUR_MODULE_ID_FIELD_NUMBER = 13;
private int curModuleId_;
/**
* <code>uint32 BEIJAFMDNFK = 13;</code>
* @return The bEIJAFMDNFK.
* <code>uint32 cur_module_id = 13;</code>
* @return The curModuleId.
*/
@java.lang.Override
public int getBEIJAFMDNFK() {
return bEIJAFMDNFK_;
public int getCurModuleId() {
return curModuleId_;
}
public static final int GLJCPMPPCKO_FIELD_NUMBER = 8;
private int gLJCPMPPCKO_;
public static final int CUR_ROOM_SCENE_ID_FIELD_NUMBER = 8;
private int curRoomSceneId_;
/**
* <code>uint32 GLJCPMPPCKO = 8;</code>
* @return The gLJCPMPPCKO.
* <code>uint32 cur_room_scene_id = 8;</code>
* @return The curRoomSceneId.
*/
@java.lang.Override
public int getGLJCPMPPCKO() {
return gLJCPMPPCKO_;
public int getCurRoomSceneId() {
return curRoomSceneId_;
}
public static final int EXP_FIELD_NUMBER = 10;
@@ -305,15 +305,15 @@ public final class HomeBasicInfoOuterClass {
return exp_;
}
public static final int PAOBDHAMCKB_FIELD_NUMBER = 14;
private int pAOBDHAMCKB_;
public static final int HOME_OWNER_UID_FIELD_NUMBER = 14;
private int homeOwnerUid_;
/**
* <code>uint32 PAOBDHAMCKB = 14;</code>
* @return The pAOBDHAMCKB.
* <code>uint32 home_owner_uid = 14;</code>
* @return The homeOwnerUid.
*/
@java.lang.Override
public int getPAOBDHAMCKB() {
return pAOBDHAMCKB_;
public int getHomeOwnerUid() {
return homeOwnerUid_;
}
public static final int LIMITED_SHOP_INFO_FIELD_NUMBER = 15;
@@ -359,8 +359,8 @@ public final class HomeBasicInfoOuterClass {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerNickName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ownerNickName_);
}
if (gLJCPMPPCKO_ != 0) {
output.writeUInt32(8, gLJCPMPPCKO_);
if (curRoomSceneId_ != 0) {
output.writeUInt32(8, curRoomSceneId_);
}
if (isInEditMode_ != false) {
output.writeBool(9, isInEditMode_);
@@ -371,11 +371,11 @@ public final class HomeBasicInfoOuterClass {
if (level_ != 0) {
output.writeUInt32(11, level_);
}
if (bEIJAFMDNFK_ != 0) {
output.writeUInt32(13, bEIJAFMDNFK_);
if (curModuleId_ != 0) {
output.writeUInt32(13, curModuleId_);
}
if (pAOBDHAMCKB_ != 0) {
output.writeUInt32(14, pAOBDHAMCKB_);
if (homeOwnerUid_ != 0) {
output.writeUInt32(14, homeOwnerUid_);
}
if (limitedShopInfo_ != null) {
output.writeMessage(15, getLimitedShopInfo());
@@ -392,9 +392,9 @@ public final class HomeBasicInfoOuterClass {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerNickName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ownerNickName_);
}
if (gLJCPMPPCKO_ != 0) {
if (curRoomSceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, gLJCPMPPCKO_);
.computeUInt32Size(8, curRoomSceneId_);
}
if (isInEditMode_ != false) {
size += com.google.protobuf.CodedOutputStream
@@ -408,13 +408,13 @@ public final class HomeBasicInfoOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, level_);
}
if (bEIJAFMDNFK_ != 0) {
if (curModuleId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, bEIJAFMDNFK_);
.computeUInt32Size(13, curModuleId_);
}
if (pAOBDHAMCKB_ != 0) {
if (homeOwnerUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, pAOBDHAMCKB_);
.computeUInt32Size(14, homeOwnerUid_);
}
if (limitedShopInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
@@ -441,14 +441,14 @@ public final class HomeBasicInfoOuterClass {
.equals(other.getOwnerNickName())) return false;
if (getIsInEditMode()
!= other.getIsInEditMode()) return false;
if (getBEIJAFMDNFK()
!= other.getBEIJAFMDNFK()) return false;
if (getGLJCPMPPCKO()
!= other.getGLJCPMPPCKO()) return false;
if (getCurModuleId()
!= other.getCurModuleId()) return false;
if (getCurRoomSceneId()
!= other.getCurRoomSceneId()) return false;
if (getExp()
!= other.getExp()) return false;
if (getPAOBDHAMCKB()
!= other.getPAOBDHAMCKB()) return false;
if (getHomeOwnerUid()
!= other.getHomeOwnerUid()) return false;
if (hasLimitedShopInfo() != other.hasLimitedShopInfo()) return false;
if (hasLimitedShopInfo()) {
if (!getLimitedShopInfo()
@@ -472,15 +472,15 @@ public final class HomeBasicInfoOuterClass {
hash = (37 * hash) + IS_IN_EDIT_MODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsInEditMode());
hash = (37 * hash) + BEIJAFMDNFK_FIELD_NUMBER;
hash = (53 * hash) + getBEIJAFMDNFK();
hash = (37 * hash) + GLJCPMPPCKO_FIELD_NUMBER;
hash = (53 * hash) + getGLJCPMPPCKO();
hash = (37 * hash) + CUR_MODULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCurModuleId();
hash = (37 * hash) + CUR_ROOM_SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCurRoomSceneId();
hash = (37 * hash) + EXP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExp());
hash = (37 * hash) + PAOBDHAMCKB_FIELD_NUMBER;
hash = (53 * hash) + getPAOBDHAMCKB();
hash = (37 * hash) + HOME_OWNER_UID_FIELD_NUMBER;
hash = (53 * hash) + getHomeOwnerUid();
if (hasLimitedShopInfo()) {
hash = (37 * hash) + LIMITED_SHOP_INFO_FIELD_NUMBER;
hash = (53 * hash) + getLimitedShopInfo().hashCode();
@@ -628,13 +628,13 @@ public final class HomeBasicInfoOuterClass {
isInEditMode_ = false;
bEIJAFMDNFK_ = 0;
curModuleId_ = 0;
gLJCPMPPCKO_ = 0;
curRoomSceneId_ = 0;
exp_ = 0L;
pAOBDHAMCKB_ = 0;
homeOwnerUid_ = 0;
if (limitedShopInfoBuilder_ == null) {
limitedShopInfo_ = null;
@@ -671,10 +671,10 @@ public final class HomeBasicInfoOuterClass {
result.level_ = level_;
result.ownerNickName_ = ownerNickName_;
result.isInEditMode_ = isInEditMode_;
result.bEIJAFMDNFK_ = bEIJAFMDNFK_;
result.gLJCPMPPCKO_ = gLJCPMPPCKO_;
result.curModuleId_ = curModuleId_;
result.curRoomSceneId_ = curRoomSceneId_;
result.exp_ = exp_;
result.pAOBDHAMCKB_ = pAOBDHAMCKB_;
result.homeOwnerUid_ = homeOwnerUid_;
if (limitedShopInfoBuilder_ == null) {
result.limitedShopInfo_ = limitedShopInfo_;
} else {
@@ -738,17 +738,17 @@ public final class HomeBasicInfoOuterClass {
if (other.getIsInEditMode() != false) {
setIsInEditMode(other.getIsInEditMode());
}
if (other.getBEIJAFMDNFK() != 0) {
setBEIJAFMDNFK(other.getBEIJAFMDNFK());
if (other.getCurModuleId() != 0) {
setCurModuleId(other.getCurModuleId());
}
if (other.getGLJCPMPPCKO() != 0) {
setGLJCPMPPCKO(other.getGLJCPMPPCKO());
if (other.getCurRoomSceneId() != 0) {
setCurRoomSceneId(other.getCurRoomSceneId());
}
if (other.getExp() != 0L) {
setExp(other.getExp());
}
if (other.getPAOBDHAMCKB() != 0) {
setPAOBDHAMCKB(other.getPAOBDHAMCKB());
if (other.getHomeOwnerUid() != 0) {
setHomeOwnerUid(other.getHomeOwnerUid());
}
if (other.hasLimitedShopInfo()) {
mergeLimitedShopInfo(other.getLimitedShopInfo());
@@ -920,64 +920,64 @@ public final class HomeBasicInfoOuterClass {
return this;
}
private int bEIJAFMDNFK_ ;
private int curModuleId_ ;
/**
* <code>uint32 BEIJAFMDNFK = 13;</code>
* @return The bEIJAFMDNFK.
* <code>uint32 cur_module_id = 13;</code>
* @return The curModuleId.
*/
@java.lang.Override
public int getBEIJAFMDNFK() {
return bEIJAFMDNFK_;
public int getCurModuleId() {
return curModuleId_;
}
/**
* <code>uint32 BEIJAFMDNFK = 13;</code>
* @param value The bEIJAFMDNFK to set.
* <code>uint32 cur_module_id = 13;</code>
* @param value The curModuleId to set.
* @return This builder for chaining.
*/
public Builder setBEIJAFMDNFK(int value) {
public Builder setCurModuleId(int value) {
bEIJAFMDNFK_ = value;
curModuleId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 BEIJAFMDNFK = 13;</code>
* <code>uint32 cur_module_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearBEIJAFMDNFK() {
public Builder clearCurModuleId() {
bEIJAFMDNFK_ = 0;
curModuleId_ = 0;
onChanged();
return this;
}
private int gLJCPMPPCKO_ ;
private int curRoomSceneId_ ;
/**
* <code>uint32 GLJCPMPPCKO = 8;</code>
* @return The gLJCPMPPCKO.
* <code>uint32 cur_room_scene_id = 8;</code>
* @return The curRoomSceneId.
*/
@java.lang.Override
public int getGLJCPMPPCKO() {
return gLJCPMPPCKO_;
public int getCurRoomSceneId() {
return curRoomSceneId_;
}
/**
* <code>uint32 GLJCPMPPCKO = 8;</code>
* @param value The gLJCPMPPCKO to set.
* <code>uint32 cur_room_scene_id = 8;</code>
* @param value The curRoomSceneId to set.
* @return This builder for chaining.
*/
public Builder setGLJCPMPPCKO(int value) {
public Builder setCurRoomSceneId(int value) {
gLJCPMPPCKO_ = value;
curRoomSceneId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 GLJCPMPPCKO = 8;</code>
* <code>uint32 cur_room_scene_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearGLJCPMPPCKO() {
public Builder clearCurRoomSceneId() {
gLJCPMPPCKO_ = 0;
curRoomSceneId_ = 0;
onChanged();
return this;
}
@@ -1013,33 +1013,33 @@ public final class HomeBasicInfoOuterClass {
return this;
}
private int pAOBDHAMCKB_ ;
private int homeOwnerUid_ ;
/**
* <code>uint32 PAOBDHAMCKB = 14;</code>
* @return The pAOBDHAMCKB.
* <code>uint32 home_owner_uid = 14;</code>
* @return The homeOwnerUid.
*/
@java.lang.Override
public int getPAOBDHAMCKB() {
return pAOBDHAMCKB_;
public int getHomeOwnerUid() {
return homeOwnerUid_;
}
/**
* <code>uint32 PAOBDHAMCKB = 14;</code>
* @param value The pAOBDHAMCKB to set.
* <code>uint32 home_owner_uid = 14;</code>
* @param value The homeOwnerUid to set.
* @return This builder for chaining.
*/
public Builder setPAOBDHAMCKB(int value) {
public Builder setHomeOwnerUid(int value) {
pAOBDHAMCKB_ = value;
homeOwnerUid_ = value;
onChanged();
return this;
}
/**
* <code>uint32 PAOBDHAMCKB = 14;</code>
* <code>uint32 home_owner_uid = 14;</code>
* @return This builder for chaining.
*/
public Builder clearPAOBDHAMCKB() {
public Builder clearHomeOwnerUid() {
pAOBDHAMCKB_ = 0;
homeOwnerUid_ = 0;
onChanged();
return this;
}
@@ -1230,13 +1230,13 @@ public final class HomeBasicInfoOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\023HomeBasicInfo.proto\032\031HomeLimitedShopIn" +
"fo.proto\"\315\001\n\rHomeBasicInfo\022\r\n\005level\030\013 \001(" +
"fo.proto\"\330\001\n\rHomeBasicInfo\022\r\n\005level\030\013 \001(" +
"\r\022\027\n\017owner_nick_name\030\005 \001(\t\022\027\n\017is_in_edit" +
"_mode\030\t \001(\010\022\023\n\013BEIJAFMDNFK\030\r \001(\r\022\023\n\013GLJC" +
"PMPPCKO\030\010 \001(\r\022\013\n\003exp\030\n \001(\004\022\023\n\013PAOBDHAMCK" +
"B\030\016 \001(\r\022/\n\021limited_shop_info\030\017 \001(\0132\024.Hom" +
"eLimitedShopInfoB\033\n\031emu.grasscutter.net." +
"protob\006proto3"
"_mode\030\t \001(\010\022\025\n\rcur_module_id\030\r \001(\r\022\031\n\021cu" +
"r_room_scene_id\030\010 \001(\r\022\013\n\003exp\030\n \001(\004\022\026\n\016ho" +
"me_owner_uid\030\016 \001(\r\022/\n\021limited_shop_info\030" +
"\017 \001(\0132\024.HomeLimitedShopInfoB\033\n\031emu.grass" +
"cutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -1248,7 +1248,7 @@ public final class HomeBasicInfoOuterClass {
internal_static_HomeBasicInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeBasicInfo_descriptor,
new java.lang.String[] { "Level", "OwnerNickName", "IsInEditMode", "BEIJAFMDNFK", "GLJCPMPPCKO", "Exp", "PAOBDHAMCKB", "LimitedShopInfo", });
new java.lang.String[] { "Level", "OwnerNickName", "IsInEditMode", "CurModuleId", "CurRoomSceneId", "Exp", "HomeOwnerUid", "LimitedShopInfo", });
emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.getDescriptor();
}