feat: support multiplayer mode in teapot (#2317)

This commit is contained in:
hamusuke
2023-08-30 10:12:21 +09:00
committed by GitHub
parent 667008ecf1
commit 8563d4b574
51 changed files with 1740 additions and 844 deletions

View File

@@ -43,17 +43,17 @@ public final class HomeBasicInfoOuterClass {
boolean getIsInEditMode();
/**
* <code>uint32 cur_module_id = 13;</code>
* @return The curModuleId.
*/
int getCurModuleId();
/**
* <code>uint32 cur_room_scene_id = 8;</code>
* <code>uint32 cur_room_scene_id = 13;</code>
* @return The curRoomSceneId.
*/
int getCurRoomSceneId();
/**
* <code>uint32 cur_module_id = 8;</code>
* @return The curModuleId.
*/
int getCurModuleId();
/**
* <code>uint64 exp = 10;</code>
* @return The exp.
@@ -139,7 +139,7 @@ public final class HomeBasicInfoOuterClass {
}
case 64: {
curRoomSceneId_ = input.readUInt32();
curModuleId_ = input.readUInt32();
break;
}
case 72: {
@@ -159,7 +159,7 @@ public final class HomeBasicInfoOuterClass {
}
case 104: {
curModuleId_ = input.readUInt32();
curRoomSceneId_ = input.readUInt32();
break;
}
case 112: {
@@ -272,21 +272,10 @@ public final class HomeBasicInfoOuterClass {
return isInEditMode_;
}
public static final int CUR_MODULE_ID_FIELD_NUMBER = 13;
private int curModuleId_;
/**
* <code>uint32 cur_module_id = 13;</code>
* @return The curModuleId.
*/
@java.lang.Override
public int getCurModuleId() {
return curModuleId_;
}
public static final int CUR_ROOM_SCENE_ID_FIELD_NUMBER = 8;
public static final int CUR_ROOM_SCENE_ID_FIELD_NUMBER = 13;
private int curRoomSceneId_;
/**
* <code>uint32 cur_room_scene_id = 8;</code>
* <code>uint32 cur_room_scene_id = 13;</code>
* @return The curRoomSceneId.
*/
@java.lang.Override
@@ -294,6 +283,17 @@ public final class HomeBasicInfoOuterClass {
return curRoomSceneId_;
}
public static final int CUR_MODULE_ID_FIELD_NUMBER = 8;
private int curModuleId_;
/**
* <code>uint32 cur_module_id = 8;</code>
* @return The curModuleId.
*/
@java.lang.Override
public int getCurModuleId() {
return curModuleId_;
}
public static final int EXP_FIELD_NUMBER = 10;
private long exp_;
/**
@@ -359,8 +359,8 @@ public final class HomeBasicInfoOuterClass {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerNickName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ownerNickName_);
}
if (curRoomSceneId_ != 0) {
output.writeUInt32(8, curRoomSceneId_);
if (curModuleId_ != 0) {
output.writeUInt32(8, curModuleId_);
}
if (isInEditMode_ != false) {
output.writeBool(9, isInEditMode_);
@@ -371,8 +371,8 @@ public final class HomeBasicInfoOuterClass {
if (level_ != 0) {
output.writeUInt32(11, level_);
}
if (curModuleId_ != 0) {
output.writeUInt32(13, curModuleId_);
if (curRoomSceneId_ != 0) {
output.writeUInt32(13, curRoomSceneId_);
}
if (homeOwnerUid_ != 0) {
output.writeUInt32(14, homeOwnerUid_);
@@ -392,9 +392,9 @@ public final class HomeBasicInfoOuterClass {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ownerNickName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ownerNickName_);
}
if (curRoomSceneId_ != 0) {
if (curModuleId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, curRoomSceneId_);
.computeUInt32Size(8, curModuleId_);
}
if (isInEditMode_ != false) {
size += com.google.protobuf.CodedOutputStream
@@ -408,9 +408,9 @@ public final class HomeBasicInfoOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, level_);
}
if (curModuleId_ != 0) {
if (curRoomSceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, curModuleId_);
.computeUInt32Size(13, curRoomSceneId_);
}
if (homeOwnerUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
@@ -441,10 +441,10 @@ public final class HomeBasicInfoOuterClass {
.equals(other.getOwnerNickName())) return false;
if (getIsInEditMode()
!= other.getIsInEditMode()) return false;
if (getCurModuleId()
!= other.getCurModuleId()) return false;
if (getCurRoomSceneId()
!= other.getCurRoomSceneId()) return false;
if (getCurModuleId()
!= other.getCurModuleId()) return false;
if (getExp()
!= other.getExp()) return false;
if (getHomeOwnerUid()
@@ -472,10 +472,10 @@ 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) + 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) + CUR_MODULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCurModuleId();
hash = (37 * hash) + EXP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExp());
@@ -628,10 +628,10 @@ public final class HomeBasicInfoOuterClass {
isInEditMode_ = false;
curModuleId_ = 0;
curRoomSceneId_ = 0;
curModuleId_ = 0;
exp_ = 0L;
homeOwnerUid_ = 0;
@@ -671,8 +671,8 @@ public final class HomeBasicInfoOuterClass {
result.level_ = level_;
result.ownerNickName_ = ownerNickName_;
result.isInEditMode_ = isInEditMode_;
result.curModuleId_ = curModuleId_;
result.curRoomSceneId_ = curRoomSceneId_;
result.curModuleId_ = curModuleId_;
result.exp_ = exp_;
result.homeOwnerUid_ = homeOwnerUid_;
if (limitedShopInfoBuilder_ == null) {
@@ -738,12 +738,12 @@ public final class HomeBasicInfoOuterClass {
if (other.getIsInEditMode() != false) {
setIsInEditMode(other.getIsInEditMode());
}
if (other.getCurModuleId() != 0) {
setCurModuleId(other.getCurModuleId());
}
if (other.getCurRoomSceneId() != 0) {
setCurRoomSceneId(other.getCurRoomSceneId());
}
if (other.getCurModuleId() != 0) {
setCurModuleId(other.getCurModuleId());
}
if (other.getExp() != 0L) {
setExp(other.getExp());
}
@@ -920,40 +920,9 @@ public final class HomeBasicInfoOuterClass {
return this;
}
private int curModuleId_ ;
/**
* <code>uint32 cur_module_id = 13;</code>
* @return The curModuleId.
*/
@java.lang.Override
public int getCurModuleId() {
return curModuleId_;
}
/**
* <code>uint32 cur_module_id = 13;</code>
* @param value The curModuleId to set.
* @return This builder for chaining.
*/
public Builder setCurModuleId(int value) {
curModuleId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cur_module_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearCurModuleId() {
curModuleId_ = 0;
onChanged();
return this;
}
private int curRoomSceneId_ ;
/**
* <code>uint32 cur_room_scene_id = 8;</code>
* <code>uint32 cur_room_scene_id = 13;</code>
* @return The curRoomSceneId.
*/
@java.lang.Override
@@ -961,7 +930,7 @@ public final class HomeBasicInfoOuterClass {
return curRoomSceneId_;
}
/**
* <code>uint32 cur_room_scene_id = 8;</code>
* <code>uint32 cur_room_scene_id = 13;</code>
* @param value The curRoomSceneId to set.
* @return This builder for chaining.
*/
@@ -972,7 +941,7 @@ public final class HomeBasicInfoOuterClass {
return this;
}
/**
* <code>uint32 cur_room_scene_id = 8;</code>
* <code>uint32 cur_room_scene_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearCurRoomSceneId() {
@@ -982,6 +951,37 @@ public final class HomeBasicInfoOuterClass {
return this;
}
private int curModuleId_ ;
/**
* <code>uint32 cur_module_id = 8;</code>
* @return The curModuleId.
*/
@java.lang.Override
public int getCurModuleId() {
return curModuleId_;
}
/**
* <code>uint32 cur_module_id = 8;</code>
* @param value The curModuleId to set.
* @return This builder for chaining.
*/
public Builder setCurModuleId(int value) {
curModuleId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cur_module_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearCurModuleId() {
curModuleId_ = 0;
onChanged();
return this;
}
private long exp_ ;
/**
* <code>uint64 exp = 10;</code>
@@ -1232,8 +1232,8 @@ public final class HomeBasicInfoOuterClass {
"\n\023HomeBasicInfo.proto\032\031HomeLimitedShopIn" +
"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\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" +
"_mode\030\t \001(\010\022\031\n\021cur_room_scene_id\030\r \001(\r\022\025" +
"\n\rcur_module_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"
@@ -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", "CurModuleId", "CurRoomSceneId", "Exp", "HomeOwnerUid", "LimitedShopInfo", });
new java.lang.String[] { "Level", "OwnerNickName", "IsInEditMode", "CurRoomSceneId", "CurModuleId", "Exp", "HomeOwnerUid", "LimitedShopInfo", });
emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.getDescriptor();
}

View File

@@ -19,16 +19,16 @@ public final class HomeLimitedShopInfoOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>fixed32 PCECKPDEEBD = 13;</code>
* @return The pCECKPDEEBD.
* <code>fixed32 end_time = 13;</code>
* @return The endTime.
*/
int getPCECKPDEEBD();
int getEndTime();
/**
* <code>fixed32 IMBFLHNJAPD = 6;</code>
* @return The iMBFLHNJAPD.
* <code>fixed32 start_time = 6;</code>
* @return The startTime.
*/
int getIMBFLHNJAPD();
int getStartTime();
/**
* <code>fixed32 LMJPHDCDAJK = 15;</code>
@@ -128,7 +128,7 @@ public final class HomeLimitedShopInfoOuterClass {
}
case 53: {
iMBFLHNJAPD_ = input.readFixed32();
startTime_ = input.readFixed32();
break;
}
case 58: {
@@ -159,7 +159,7 @@ public final class HomeLimitedShopInfoOuterClass {
}
case 109: {
pCECKPDEEBD_ = input.readFixed32();
endTime_ = input.readFixed32();
break;
}
case 125: {
@@ -199,26 +199,26 @@ public final class HomeLimitedShopInfoOuterClass {
emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.class, emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.Builder.class);
}
public static final int PCECKPDEEBD_FIELD_NUMBER = 13;
private int pCECKPDEEBD_;
public static final int END_TIME_FIELD_NUMBER = 13;
private int endTime_;
/**
* <code>fixed32 PCECKPDEEBD = 13;</code>
* @return The pCECKPDEEBD.
* <code>fixed32 end_time = 13;</code>
* @return The endTime.
*/
@java.lang.Override
public int getPCECKPDEEBD() {
return pCECKPDEEBD_;
public int getEndTime() {
return endTime_;
}
public static final int IMBFLHNJAPD_FIELD_NUMBER = 6;
private int iMBFLHNJAPD_;
public static final int START_TIME_FIELD_NUMBER = 6;
private int startTime_;
/**
* <code>fixed32 IMBFLHNJAPD = 6;</code>
* @return The iMBFLHNJAPD.
* <code>fixed32 start_time = 6;</code>
* @return The startTime.
*/
@java.lang.Override
public int getIMBFLHNJAPD() {
return iMBFLHNJAPD_;
public int getStartTime() {
return startTime_;
}
public static final int LMJPHDCDAJK_FIELD_NUMBER = 15;
@@ -312,8 +312,8 @@ public final class HomeLimitedShopInfoOuterClass {
if (uid_ != 0) {
output.writeUInt32(2, uid_);
}
if (iMBFLHNJAPD_ != 0) {
output.writeFixed32(6, iMBFLHNJAPD_);
if (startTime_ != 0) {
output.writeFixed32(6, startTime_);
}
if (djinnRot_ != null) {
output.writeMessage(7, getDjinnRot());
@@ -321,8 +321,8 @@ public final class HomeLimitedShopInfoOuterClass {
if (djinnPos_ != null) {
output.writeMessage(8, getDjinnPos());
}
if (pCECKPDEEBD_ != 0) {
output.writeFixed32(13, pCECKPDEEBD_);
if (endTime_ != 0) {
output.writeFixed32(13, endTime_);
}
if (lMJPHDCDAJK_ != 0) {
output.writeFixed32(15, lMJPHDCDAJK_);
@@ -340,9 +340,9 @@ public final class HomeLimitedShopInfoOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, uid_);
}
if (iMBFLHNJAPD_ != 0) {
if (startTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(6, iMBFLHNJAPD_);
.computeFixed32Size(6, startTime_);
}
if (djinnRot_ != null) {
size += com.google.protobuf.CodedOutputStream
@@ -352,9 +352,9 @@ public final class HomeLimitedShopInfoOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getDjinnPos());
}
if (pCECKPDEEBD_ != 0) {
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(13, pCECKPDEEBD_);
.computeFixed32Size(13, endTime_);
}
if (lMJPHDCDAJK_ != 0) {
size += com.google.protobuf.CodedOutputStream
@@ -375,10 +375,10 @@ public final class HomeLimitedShopInfoOuterClass {
}
emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo other = (emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo) obj;
if (getPCECKPDEEBD()
!= other.getPCECKPDEEBD()) return false;
if (getIMBFLHNJAPD()
!= other.getIMBFLHNJAPD()) return false;
if (getEndTime()
!= other.getEndTime()) return false;
if (getStartTime()
!= other.getStartTime()) return false;
if (getLMJPHDCDAJK()
!= other.getLMJPHDCDAJK()) return false;
if (hasDjinnRot() != other.hasDjinnRot()) return false;
@@ -404,10 +404,10 @@ public final class HomeLimitedShopInfoOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PCECKPDEEBD_FIELD_NUMBER;
hash = (53 * hash) + getPCECKPDEEBD();
hash = (37 * hash) + IMBFLHNJAPD_FIELD_NUMBER;
hash = (53 * hash) + getIMBFLHNJAPD();
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime();
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime();
hash = (37 * hash) + LMJPHDCDAJK_FIELD_NUMBER;
hash = (53 * hash) + getLMJPHDCDAJK();
if (hasDjinnRot()) {
@@ -557,9 +557,9 @@ public final class HomeLimitedShopInfoOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
pCECKPDEEBD_ = 0;
endTime_ = 0;
iMBFLHNJAPD_ = 0;
startTime_ = 0;
lMJPHDCDAJK_ = 0;
@@ -603,8 +603,8 @@ public final class HomeLimitedShopInfoOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo buildPartial() {
emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo result = new emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo(this);
result.pCECKPDEEBD_ = pCECKPDEEBD_;
result.iMBFLHNJAPD_ = iMBFLHNJAPD_;
result.endTime_ = endTime_;
result.startTime_ = startTime_;
result.lMJPHDCDAJK_ = lMJPHDCDAJK_;
if (djinnRotBuilder_ == null) {
result.djinnRot_ = djinnRot_;
@@ -665,11 +665,11 @@ public final class HomeLimitedShopInfoOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo other) {
if (other == emu.grasscutter.net.proto.HomeLimitedShopInfoOuterClass.HomeLimitedShopInfo.getDefaultInstance()) return this;
if (other.getPCECKPDEEBD() != 0) {
setPCECKPDEEBD(other.getPCECKPDEEBD());
if (other.getEndTime() != 0) {
setEndTime(other.getEndTime());
}
if (other.getIMBFLHNJAPD() != 0) {
setIMBFLHNJAPD(other.getIMBFLHNJAPD());
if (other.getStartTime() != 0) {
setStartTime(other.getStartTime());
}
if (other.getLMJPHDCDAJK() != 0) {
setLMJPHDCDAJK(other.getLMJPHDCDAJK());
@@ -712,64 +712,64 @@ public final class HomeLimitedShopInfoOuterClass {
return this;
}
private int pCECKPDEEBD_ ;
private int endTime_ ;
/**
* <code>fixed32 PCECKPDEEBD = 13;</code>
* @return The pCECKPDEEBD.
* <code>fixed32 end_time = 13;</code>
* @return The endTime.
*/
@java.lang.Override
public int getPCECKPDEEBD() {
return pCECKPDEEBD_;
public int getEndTime() {
return endTime_;
}
/**
* <code>fixed32 PCECKPDEEBD = 13;</code>
* @param value The pCECKPDEEBD to set.
* <code>fixed32 end_time = 13;</code>
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setPCECKPDEEBD(int value) {
public Builder setEndTime(int value) {
pCECKPDEEBD_ = value;
endTime_ = value;
onChanged();
return this;
}
/**
* <code>fixed32 PCECKPDEEBD = 13;</code>
* <code>fixed32 end_time = 13;</code>
* @return This builder for chaining.
*/
public Builder clearPCECKPDEEBD() {
public Builder clearEndTime() {
pCECKPDEEBD_ = 0;
endTime_ = 0;
onChanged();
return this;
}
private int iMBFLHNJAPD_ ;
private int startTime_ ;
/**
* <code>fixed32 IMBFLHNJAPD = 6;</code>
* @return The iMBFLHNJAPD.
* <code>fixed32 start_time = 6;</code>
* @return The startTime.
*/
@java.lang.Override
public int getIMBFLHNJAPD() {
return iMBFLHNJAPD_;
public int getStartTime() {
return startTime_;
}
/**
* <code>fixed32 IMBFLHNJAPD = 6;</code>
* @param value The iMBFLHNJAPD to set.
* <code>fixed32 start_time = 6;</code>
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setIMBFLHNJAPD(int value) {
public Builder setStartTime(int value) {
iMBFLHNJAPD_ = value;
startTime_ = value;
onChanged();
return this;
}
/**
* <code>fixed32 IMBFLHNJAPD = 6;</code>
* <code>fixed32 start_time = 6;</code>
* @return This builder for chaining.
*/
public Builder clearIMBFLHNJAPD() {
public Builder clearStartTime() {
iMBFLHNJAPD_ = 0;
startTime_ = 0;
onChanged();
return this;
}
@@ -1141,11 +1141,11 @@ public final class HomeLimitedShopInfoOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\031HomeLimitedShopInfo.proto\032\014Vector.prot" +
"o\"\231\001\n\023HomeLimitedShopInfo\022\023\n\013PCECKPDEEBD" +
"\030\r \001(\007\022\023\n\013IMBFLHNJAPD\030\006 \001(\007\022\023\n\013LMJPHDCDA" +
"JK\030\017 \001(\007\022\032\n\tdjinn_rot\030\007 \001(\0132\007.Vector\022\032\n\t" +
"djinn_pos\030\010 \001(\0132\007.Vector\022\013\n\003uid\030\002 \001(\rB\033\n" +
"\031emu.grasscutter.net.protob\006proto3"
"o\"\225\001\n\023HomeLimitedShopInfo\022\020\n\010end_time\030\r " +
"\001(\007\022\022\n\nstart_time\030\006 \001(\007\022\023\n\013LMJPHDCDAJK\030\017" +
" \001(\007\022\032\n\tdjinn_rot\030\007 \001(\0132\007.Vector\022\032\n\tdjin" +
"n_pos\030\010 \001(\0132\007.Vector\022\013\n\003uid\030\002 \001(\rB\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -1157,7 +1157,7 @@ public final class HomeLimitedShopInfoOuterClass {
internal_static_HomeLimitedShopInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeLimitedShopInfo_descriptor,
new java.lang.String[] { "PCECKPDEEBD", "IMBFLHNJAPD", "LMJPHDCDAJK", "DjinnRot", "DjinnPos", "Uid", });
new java.lang.String[] { "EndTime", "StartTime", "LMJPHDCDAJK", "DjinnRot", "DjinnPos", "Uid", });
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}

View File

@@ -43,19 +43,19 @@ public final class HomeMarkPointSceneDataOuterClass {
int index);
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* @return Whether the teapotSpiritPos field is set.
* <code>.Vector safe_point_pos = 8;</code>
* @return Whether the safePointPos field is set.
*/
boolean hasTeapotSpiritPos();
boolean hasSafePointPos();
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* @return The teapotSpiritPos.
* <code>.Vector safe_point_pos = 8;</code>
* @return The safePointPos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos();
emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos();
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder();
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder();
/**
* <code>uint32 module_id = 9;</code>
@@ -70,19 +70,19 @@ public final class HomeMarkPointSceneDataOuterClass {
int getSceneId();
/**
* <code>.Vector safe_point_pos = 3;</code>
* @return Whether the safePointPos field is set.
* <code>.Vector teapot_spirit_pos = 3;</code>
* @return Whether the teapotSpiritPos field is set.
*/
boolean hasSafePointPos();
boolean hasTeapotSpiritPos();
/**
* <code>.Vector safe_point_pos = 3;</code>
* @return The safePointPos.
* <code>.Vector teapot_spirit_pos = 3;</code>
* @return The teapotSpiritPos.
*/
emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos();
emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos();
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder();
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder();
}
/**
* <pre>
@@ -137,13 +137,13 @@ public final class HomeMarkPointSceneDataOuterClass {
break;
case 26: {
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
if (safePointPos_ != null) {
subBuilder = safePointPos_.toBuilder();
if (teapotSpiritPos_ != null) {
subBuilder = teapotSpiritPos_.toBuilder();
}
safePointPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
teapotSpiritPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(safePointPos_);
safePointPos_ = subBuilder.buildPartial();
subBuilder.mergeFrom(teapotSpiritPos_);
teapotSpiritPos_ = subBuilder.buildPartial();
}
break;
@@ -164,13 +164,13 @@ public final class HomeMarkPointSceneDataOuterClass {
}
case 66: {
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
if (teapotSpiritPos_ != null) {
subBuilder = teapotSpiritPos_.toBuilder();
if (safePointPos_ != null) {
subBuilder = safePointPos_.toBuilder();
}
teapotSpiritPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
safePointPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(teapotSpiritPos_);
teapotSpiritPos_ = subBuilder.buildPartial();
subBuilder.mergeFrom(safePointPos_);
safePointPos_ = subBuilder.buildPartial();
}
break;
@@ -255,30 +255,30 @@ public final class HomeMarkPointSceneDataOuterClass {
return furnitureList_.get(index);
}
public static final int TEAPOT_SPIRIT_POS_FIELD_NUMBER = 8;
private emu.grasscutter.net.proto.VectorOuterClass.Vector teapotSpiritPos_;
public static final int SAFE_POINT_POS_FIELD_NUMBER = 8;
private emu.grasscutter.net.proto.VectorOuterClass.Vector safePointPos_;
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* @return Whether the teapotSpiritPos field is set.
* <code>.Vector safe_point_pos = 8;</code>
* @return Whether the safePointPos field is set.
*/
@java.lang.Override
public boolean hasTeapotSpiritPos() {
return teapotSpiritPos_ != null;
public boolean hasSafePointPos() {
return safePointPos_ != null;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* @return The teapotSpiritPos.
* <code>.Vector safe_point_pos = 8;</code>
* @return The safePointPos.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos() {
return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_;
public emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos() {
return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder() {
return getTeapotSpiritPos();
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder() {
return getSafePointPos();
}
public static final int MODULE_ID_FIELD_NUMBER = 9;
@@ -303,30 +303,30 @@ public final class HomeMarkPointSceneDataOuterClass {
return sceneId_;
}
public static final int SAFE_POINT_POS_FIELD_NUMBER = 3;
private emu.grasscutter.net.proto.VectorOuterClass.Vector safePointPos_;
public static final int TEAPOT_SPIRIT_POS_FIELD_NUMBER = 3;
private emu.grasscutter.net.proto.VectorOuterClass.Vector teapotSpiritPos_;
/**
* <code>.Vector safe_point_pos = 3;</code>
* @return Whether the safePointPos field is set.
* <code>.Vector teapot_spirit_pos = 3;</code>
* @return Whether the teapotSpiritPos field is set.
*/
@java.lang.Override
public boolean hasSafePointPos() {
return safePointPos_ != null;
public boolean hasTeapotSpiritPos() {
return teapotSpiritPos_ != null;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* @return The safePointPos.
* <code>.Vector teapot_spirit_pos = 3;</code>
* @return The teapotSpiritPos.
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos() {
return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_;
public emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos() {
return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder() {
return getSafePointPos();
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder() {
return getTeapotSpiritPos();
}
private byte memoizedIsInitialized = -1;
@@ -343,8 +343,8 @@ public final class HomeMarkPointSceneDataOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (safePointPos_ != null) {
output.writeMessage(3, getSafePointPos());
if (teapotSpiritPos_ != null) {
output.writeMessage(3, getTeapotSpiritPos());
}
if (sceneId_ != 0) {
output.writeUInt32(5, sceneId_);
@@ -352,8 +352,8 @@ public final class HomeMarkPointSceneDataOuterClass {
for (int i = 0; i < furnitureList_.size(); i++) {
output.writeMessage(7, furnitureList_.get(i));
}
if (teapotSpiritPos_ != null) {
output.writeMessage(8, getTeapotSpiritPos());
if (safePointPos_ != null) {
output.writeMessage(8, getSafePointPos());
}
if (moduleId_ != 0) {
output.writeUInt32(9, moduleId_);
@@ -367,9 +367,9 @@ public final class HomeMarkPointSceneDataOuterClass {
if (size != -1) return size;
size = 0;
if (safePointPos_ != null) {
if (teapotSpiritPos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getSafePointPos());
.computeMessageSize(3, getTeapotSpiritPos());
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
@@ -379,9 +379,9 @@ public final class HomeMarkPointSceneDataOuterClass {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, furnitureList_.get(i));
}
if (teapotSpiritPos_ != null) {
if (safePointPos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getTeapotSpiritPos());
.computeMessageSize(8, getSafePointPos());
}
if (moduleId_ != 0) {
size += com.google.protobuf.CodedOutputStream
@@ -404,19 +404,19 @@ public final class HomeMarkPointSceneDataOuterClass {
if (!getFurnitureListList()
.equals(other.getFurnitureListList())) return false;
if (hasTeapotSpiritPos() != other.hasTeapotSpiritPos()) return false;
if (hasTeapotSpiritPos()) {
if (!getTeapotSpiritPos()
.equals(other.getTeapotSpiritPos())) return false;
if (hasSafePointPos() != other.hasSafePointPos()) return false;
if (hasSafePointPos()) {
if (!getSafePointPos()
.equals(other.getSafePointPos())) return false;
}
if (getModuleId()
!= other.getModuleId()) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (hasSafePointPos() != other.hasSafePointPos()) return false;
if (hasSafePointPos()) {
if (!getSafePointPos()
.equals(other.getSafePointPos())) return false;
if (hasTeapotSpiritPos() != other.hasTeapotSpiritPos()) return false;
if (hasTeapotSpiritPos()) {
if (!getTeapotSpiritPos()
.equals(other.getTeapotSpiritPos())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@@ -433,17 +433,17 @@ public final class HomeMarkPointSceneDataOuterClass {
hash = (37 * hash) + FURNITURE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getFurnitureListList().hashCode();
}
if (hasTeapotSpiritPos()) {
hash = (37 * hash) + TEAPOT_SPIRIT_POS_FIELD_NUMBER;
hash = (53 * hash) + getTeapotSpiritPos().hashCode();
if (hasSafePointPos()) {
hash = (37 * hash) + SAFE_POINT_POS_FIELD_NUMBER;
hash = (53 * hash) + getSafePointPos().hashCode();
}
hash = (37 * hash) + MODULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getModuleId();
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
if (hasSafePointPos()) {
hash = (37 * hash) + SAFE_POINT_POS_FIELD_NUMBER;
hash = (53 * hash) + getSafePointPos().hashCode();
if (hasTeapotSpiritPos()) {
hash = (37 * hash) + TEAPOT_SPIRIT_POS_FIELD_NUMBER;
hash = (53 * hash) + getTeapotSpiritPos().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
@@ -589,22 +589,22 @@ public final class HomeMarkPointSceneDataOuterClass {
} else {
furnitureListBuilder_.clear();
}
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPos_ = null;
} else {
teapotSpiritPos_ = null;
teapotSpiritPosBuilder_ = null;
}
moduleId_ = 0;
sceneId_ = 0;
if (safePointPosBuilder_ == null) {
safePointPos_ = null;
} else {
safePointPos_ = null;
safePointPosBuilder_ = null;
}
moduleId_ = 0;
sceneId_ = 0;
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPos_ = null;
} else {
teapotSpiritPos_ = null;
teapotSpiritPosBuilder_ = null;
}
return this;
}
@@ -641,18 +641,18 @@ public final class HomeMarkPointSceneDataOuterClass {
} else {
result.furnitureList_ = furnitureListBuilder_.build();
}
if (teapotSpiritPosBuilder_ == null) {
result.teapotSpiritPos_ = teapotSpiritPos_;
} else {
result.teapotSpiritPos_ = teapotSpiritPosBuilder_.build();
}
result.moduleId_ = moduleId_;
result.sceneId_ = sceneId_;
if (safePointPosBuilder_ == null) {
result.safePointPos_ = safePointPos_;
} else {
result.safePointPos_ = safePointPosBuilder_.build();
}
result.moduleId_ = moduleId_;
result.sceneId_ = sceneId_;
if (teapotSpiritPosBuilder_ == null) {
result.teapotSpiritPos_ = teapotSpiritPos_;
} else {
result.teapotSpiritPos_ = teapotSpiritPosBuilder_.build();
}
onBuilt();
return result;
}
@@ -727,8 +727,8 @@ public final class HomeMarkPointSceneDataOuterClass {
}
}
}
if (other.hasTeapotSpiritPos()) {
mergeTeapotSpiritPos(other.getTeapotSpiritPos());
if (other.hasSafePointPos()) {
mergeSafePointPos(other.getSafePointPos());
}
if (other.getModuleId() != 0) {
setModuleId(other.getModuleId());
@@ -736,8 +736,8 @@ public final class HomeMarkPointSceneDataOuterClass {
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (other.hasSafePointPos()) {
mergeSafePointPos(other.getSafePointPos());
if (other.hasTeapotSpiritPos()) {
mergeTeapotSpiritPos(other.getTeapotSpiritPos());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -1009,123 +1009,123 @@ public final class HomeMarkPointSceneDataOuterClass {
return furnitureListBuilder_;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector teapotSpiritPos_;
private emu.grasscutter.net.proto.VectorOuterClass.Vector safePointPos_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> teapotSpiritPosBuilder_;
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> safePointPosBuilder_;
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* @return Whether the teapotSpiritPos field is set.
* <code>.Vector safe_point_pos = 8;</code>
* @return Whether the safePointPos field is set.
*/
public boolean hasTeapotSpiritPos() {
return teapotSpiritPosBuilder_ != null || teapotSpiritPos_ != null;
public boolean hasSafePointPos() {
return safePointPosBuilder_ != null || safePointPos_ != null;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* @return The teapotSpiritPos.
* <code>.Vector safe_point_pos = 8;</code>
* @return The safePointPos.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos() {
if (teapotSpiritPosBuilder_ == null) {
return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_;
public emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos() {
if (safePointPosBuilder_ == null) {
return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_;
} else {
return teapotSpiritPosBuilder_.getMessage();
return safePointPosBuilder_.getMessage();
}
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
public Builder setTeapotSpiritPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (teapotSpiritPosBuilder_ == null) {
public Builder setSafePointPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (safePointPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
teapotSpiritPos_ = value;
safePointPos_ = value;
onChanged();
} else {
teapotSpiritPosBuilder_.setMessage(value);
safePointPosBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
public Builder setTeapotSpiritPos(
public Builder setSafePointPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPos_ = builderForValue.build();
if (safePointPosBuilder_ == null) {
safePointPos_ = builderForValue.build();
onChanged();
} else {
teapotSpiritPosBuilder_.setMessage(builderForValue.build());
safePointPosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
public Builder mergeTeapotSpiritPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (teapotSpiritPosBuilder_ == null) {
if (teapotSpiritPos_ != null) {
teapotSpiritPos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(teapotSpiritPos_).mergeFrom(value).buildPartial();
public Builder mergeSafePointPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (safePointPosBuilder_ == null) {
if (safePointPos_ != null) {
safePointPos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(safePointPos_).mergeFrom(value).buildPartial();
} else {
teapotSpiritPos_ = value;
safePointPos_ = value;
}
onChanged();
} else {
teapotSpiritPosBuilder_.mergeFrom(value);
safePointPosBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
public Builder clearTeapotSpiritPos() {
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPos_ = null;
public Builder clearSafePointPos() {
if (safePointPosBuilder_ == null) {
safePointPos_ = null;
onChanged();
} else {
teapotSpiritPos_ = null;
teapotSpiritPosBuilder_ = null;
safePointPos_ = null;
safePointPosBuilder_ = null;
}
return this;
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getTeapotSpiritPosBuilder() {
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getSafePointPosBuilder() {
onChanged();
return getTeapotSpiritPosFieldBuilder().getBuilder();
return getSafePointPosFieldBuilder().getBuilder();
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder() {
if (teapotSpiritPosBuilder_ != null) {
return teapotSpiritPosBuilder_.getMessageOrBuilder();
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder() {
if (safePointPosBuilder_ != null) {
return safePointPosBuilder_.getMessageOrBuilder();
} else {
return teapotSpiritPos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_;
return safePointPos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_;
}
}
/**
* <code>.Vector teapot_spirit_pos = 8;</code>
* <code>.Vector safe_point_pos = 8;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getTeapotSpiritPosFieldBuilder() {
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
getSafePointPosFieldBuilder() {
if (safePointPosBuilder_ == null) {
safePointPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getTeapotSpiritPos(),
getSafePointPos(),
getParentForChildren(),
isClean());
teapotSpiritPos_ = null;
safePointPos_ = null;
}
return teapotSpiritPosBuilder_;
return safePointPosBuilder_;
}
private int moduleId_ ;
@@ -1190,123 +1190,123 @@ public final class HomeMarkPointSceneDataOuterClass {
return this;
}
private emu.grasscutter.net.proto.VectorOuterClass.Vector safePointPos_;
private emu.grasscutter.net.proto.VectorOuterClass.Vector teapotSpiritPos_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> safePointPosBuilder_;
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> teapotSpiritPosBuilder_;
/**
* <code>.Vector safe_point_pos = 3;</code>
* @return Whether the safePointPos field is set.
* <code>.Vector teapot_spirit_pos = 3;</code>
* @return Whether the teapotSpiritPos field is set.
*/
public boolean hasSafePointPos() {
return safePointPosBuilder_ != null || safePointPos_ != null;
public boolean hasTeapotSpiritPos() {
return teapotSpiritPosBuilder_ != null || teapotSpiritPos_ != null;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* @return The safePointPos.
* <code>.Vector teapot_spirit_pos = 3;</code>
* @return The teapotSpiritPos.
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector getSafePointPos() {
if (safePointPosBuilder_ == null) {
return safePointPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_;
public emu.grasscutter.net.proto.VectorOuterClass.Vector getTeapotSpiritPos() {
if (teapotSpiritPosBuilder_ == null) {
return teapotSpiritPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_;
} else {
return safePointPosBuilder_.getMessage();
return teapotSpiritPosBuilder_.getMessage();
}
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
public Builder setSafePointPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (safePointPosBuilder_ == null) {
public Builder setTeapotSpiritPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (teapotSpiritPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
safePointPos_ = value;
teapotSpiritPos_ = value;
onChanged();
} else {
safePointPosBuilder_.setMessage(value);
teapotSpiritPosBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
public Builder setSafePointPos(
public Builder setTeapotSpiritPos(
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
if (safePointPosBuilder_ == null) {
safePointPos_ = builderForValue.build();
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPos_ = builderForValue.build();
onChanged();
} else {
safePointPosBuilder_.setMessage(builderForValue.build());
teapotSpiritPosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
public Builder mergeSafePointPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (safePointPosBuilder_ == null) {
if (safePointPos_ != null) {
safePointPos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(safePointPos_).mergeFrom(value).buildPartial();
public Builder mergeTeapotSpiritPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
if (teapotSpiritPosBuilder_ == null) {
if (teapotSpiritPos_ != null) {
teapotSpiritPos_ =
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(teapotSpiritPos_).mergeFrom(value).buildPartial();
} else {
safePointPos_ = value;
teapotSpiritPos_ = value;
}
onChanged();
} else {
safePointPosBuilder_.mergeFrom(value);
teapotSpiritPosBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
public Builder clearSafePointPos() {
if (safePointPosBuilder_ == null) {
safePointPos_ = null;
public Builder clearTeapotSpiritPos() {
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPos_ = null;
onChanged();
} else {
safePointPos_ = null;
safePointPosBuilder_ = null;
teapotSpiritPos_ = null;
teapotSpiritPosBuilder_ = null;
}
return this;
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getSafePointPosBuilder() {
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getTeapotSpiritPosBuilder() {
onChanged();
return getSafePointPosFieldBuilder().getBuilder();
return getTeapotSpiritPosFieldBuilder().getBuilder();
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSafePointPosOrBuilder() {
if (safePointPosBuilder_ != null) {
return safePointPosBuilder_.getMessageOrBuilder();
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getTeapotSpiritPosOrBuilder() {
if (teapotSpiritPosBuilder_ != null) {
return teapotSpiritPosBuilder_.getMessageOrBuilder();
} else {
return safePointPos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : safePointPos_;
return teapotSpiritPos_ == null ?
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : teapotSpiritPos_;
}
}
/**
* <code>.Vector safe_point_pos = 3;</code>
* <code>.Vector teapot_spirit_pos = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
getSafePointPosFieldBuilder() {
if (safePointPosBuilder_ == null) {
safePointPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
getTeapotSpiritPosFieldBuilder() {
if (teapotSpiritPosBuilder_ == null) {
teapotSpiritPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
getSafePointPos(),
getTeapotSpiritPos(),
getParentForChildren(),
isClean());
safePointPos_ = null;
teapotSpiritPos_ = null;
}
return safePointPosBuilder_;
return teapotSpiritPosBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
@@ -1378,10 +1378,10 @@ public final class HomeMarkPointSceneDataOuterClass {
"\n\034HomeMarkPointSceneData.proto\032 HomeMark" +
"PointFurnitureData.proto\032\014Vector.proto\"\267" +
"\001\n\026HomeMarkPointSceneData\0223\n\016furniture_l" +
"ist\030\007 \003(\0132\033.HomeMarkPointFurnitureData\022\"" +
"\n\021teapot_spirit_pos\030\010 \001(\0132\007.Vector\022\021\n\tmo" +
"dule_id\030\t \001(\r\022\020\n\010scene_id\030\005 \001(\r\022\037\n\016safe_" +
"point_pos\030\003 \001(\0132\007.VectorB\033\n\031emu.grasscut" +
"ist\030\007 \003(\0132\033.HomeMarkPointFurnitureData\022\037" +
"\n\016safe_point_pos\030\010 \001(\0132\007.Vector\022\021\n\tmodul" +
"e_id\030\t \001(\r\022\020\n\010scene_id\030\005 \001(\r\022\"\n\021teapot_s" +
"pirit_pos\030\003 \001(\0132\007.VectorB\033\n\031emu.grasscut" +
"ter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -1395,7 +1395,7 @@ public final class HomeMarkPointSceneDataOuterClass {
internal_static_HomeMarkPointSceneData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeMarkPointSceneData_descriptor,
new java.lang.String[] { "FurnitureList", "TeapotSpiritPos", "ModuleId", "SceneId", "SafePointPos", });
new java.lang.String[] { "FurnitureList", "SafePointPos", "ModuleId", "SceneId", "TeapotSpiritPos", });
emu.grasscutter.net.proto.HomeMarkPointFurnitureDataOuterClass.getDescriptor();
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}

View File

@@ -19,39 +19,39 @@ public final class PlayerHomeCompInfoOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return A list containing the unlockedModuleIdList.
*/
java.util.List<java.lang.Integer> getUnlockedModuleIdListList();
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return The count of unlockedModuleIdList.
*/
int getUnlockedModuleIdListCount();
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @param index The index of the element to return.
* @return The unlockedModuleIdList at the given index.
*/
int getUnlockedModuleIdList(int index);
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return A list containing the levelupRewardGotLevelList.
*/
java.util.List<java.lang.Integer> getLevelupRewardGotLevelListList();
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return The count of levelupRewardGotLevelList.
*/
int getLevelupRewardGotLevelListCount();
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @param index The index of the element to return.
* @return The levelupRewardGotLevelList at the given index.
*/
int getLevelupRewardGotLevelList(int index);
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return A list containing the unlockedModuleIdList.
*/
java.util.List<java.lang.Integer> getUnlockedModuleIdListList();
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return The count of unlockedModuleIdList.
*/
int getUnlockedModuleIdListCount();
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @param index The index of the element to return.
* @return The unlockedModuleIdList at the given index.
*/
int getUnlockedModuleIdList(int index);
/**
* <code>repeated uint32 seen_module_id_list = 8;</code>
* @return A list containing the seenModuleIdList.
@@ -97,8 +97,8 @@ public final class PlayerHomeCompInfoOuterClass {
super(builder);
}
private PlayerHomeCompInfo() {
unlockedModuleIdList_ = emptyIntList();
levelupRewardGotLevelList_ = emptyIntList();
unlockedModuleIdList_ = emptyIntList();
seenModuleIdList_ = emptyIntList();
friendEnterHomeOption_ = 0;
}
@@ -136,21 +136,21 @@ public final class PlayerHomeCompInfoOuterClass {
break;
case 24: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
unlockedModuleIdList_ = newIntList();
levelupRewardGotLevelList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
unlockedModuleIdList_.addInt(input.readUInt32());
levelupRewardGotLevelList_.addInt(input.readUInt32());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
unlockedModuleIdList_ = newIntList();
levelupRewardGotLevelList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
unlockedModuleIdList_.addInt(input.readUInt32());
levelupRewardGotLevelList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
@@ -178,21 +178,21 @@ public final class PlayerHomeCompInfoOuterClass {
}
case 80: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
levelupRewardGotLevelList_ = newIntList();
unlockedModuleIdList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
}
levelupRewardGotLevelList_.addInt(input.readUInt32());
unlockedModuleIdList_.addInt(input.readUInt32());
break;
}
case 82: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
levelupRewardGotLevelList_ = newIntList();
unlockedModuleIdList_ = newIntList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
levelupRewardGotLevelList_.addInt(input.readUInt32());
unlockedModuleIdList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
@@ -219,13 +219,13 @@ public final class PlayerHomeCompInfoOuterClass {
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
unlockedModuleIdList_.makeImmutable(); // C
levelupRewardGotLevelList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
seenModuleIdList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
levelupRewardGotLevelList_.makeImmutable(); // C
unlockedModuleIdList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
@@ -244,38 +244,10 @@ public final class PlayerHomeCompInfoOuterClass {
emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.class, emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.Builder.class);
}
public static final int UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList unlockedModuleIdList_;
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return A list containing the unlockedModuleIdList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getUnlockedModuleIdListList() {
return unlockedModuleIdList_;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return The count of unlockedModuleIdList.
*/
public int getUnlockedModuleIdListCount() {
return unlockedModuleIdList_.size();
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @param index The index of the element to return.
* @return The unlockedModuleIdList at the given index.
*/
public int getUnlockedModuleIdList(int index) {
return unlockedModuleIdList_.getInt(index);
}
private int unlockedModuleIdListMemoizedSerializedSize = -1;
public static final int LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER = 10;
public static final int LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_;
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return A list containing the levelupRewardGotLevelList.
*/
@java.lang.Override
@@ -284,14 +256,14 @@ public final class PlayerHomeCompInfoOuterClass {
return levelupRewardGotLevelList_;
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return The count of levelupRewardGotLevelList.
*/
public int getLevelupRewardGotLevelListCount() {
return levelupRewardGotLevelList_.size();
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @param index The index of the element to return.
* @return The levelupRewardGotLevelList at the given index.
*/
@@ -300,6 +272,34 @@ public final class PlayerHomeCompInfoOuterClass {
}
private int levelupRewardGotLevelListMemoizedSerializedSize = -1;
public static final int UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList unlockedModuleIdList_;
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return A list containing the unlockedModuleIdList.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getUnlockedModuleIdListList() {
return unlockedModuleIdList_;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return The count of unlockedModuleIdList.
*/
public int getUnlockedModuleIdListCount() {
return unlockedModuleIdList_.size();
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @param index The index of the element to return.
* @return The unlockedModuleIdList at the given index.
*/
public int getUnlockedModuleIdList(int index) {
return unlockedModuleIdList_.getInt(index);
}
private int unlockedModuleIdListMemoizedSerializedSize = -1;
public static final int SEEN_MODULE_ID_LIST_FIELD_NUMBER = 8;
private com.google.protobuf.Internal.IntList seenModuleIdList_;
/**
@@ -362,12 +362,12 @@ public final class PlayerHomeCompInfoOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getUnlockedModuleIdListList().size() > 0) {
if (getLevelupRewardGotLevelListList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(unlockedModuleIdListMemoizedSerializedSize);
output.writeUInt32NoTag(levelupRewardGotLevelListMemoizedSerializedSize);
}
for (int i = 0; i < unlockedModuleIdList_.size(); i++) {
output.writeUInt32NoTag(unlockedModuleIdList_.getInt(i));
for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) {
output.writeUInt32NoTag(levelupRewardGotLevelList_.getInt(i));
}
if (getSeenModuleIdListList().size() > 0) {
output.writeUInt32NoTag(66);
@@ -376,12 +376,12 @@ public final class PlayerHomeCompInfoOuterClass {
for (int i = 0; i < seenModuleIdList_.size(); i++) {
output.writeUInt32NoTag(seenModuleIdList_.getInt(i));
}
if (getLevelupRewardGotLevelListList().size() > 0) {
if (getUnlockedModuleIdListList().size() > 0) {
output.writeUInt32NoTag(82);
output.writeUInt32NoTag(levelupRewardGotLevelListMemoizedSerializedSize);
output.writeUInt32NoTag(unlockedModuleIdListMemoizedSerializedSize);
}
for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) {
output.writeUInt32NoTag(levelupRewardGotLevelList_.getInt(i));
for (int i = 0; i < unlockedModuleIdList_.size(); i++) {
output.writeUInt32NoTag(unlockedModuleIdList_.getInt(i));
}
if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) {
output.writeEnum(15, friendEnterHomeOption_);
@@ -397,17 +397,17 @@ public final class PlayerHomeCompInfoOuterClass {
size = 0;
{
int dataSize = 0;
for (int i = 0; i < unlockedModuleIdList_.size(); i++) {
for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(unlockedModuleIdList_.getInt(i));
.computeUInt32SizeNoTag(levelupRewardGotLevelList_.getInt(i));
}
size += dataSize;
if (!getUnlockedModuleIdListList().isEmpty()) {
if (!getLevelupRewardGotLevelListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
unlockedModuleIdListMemoizedSerializedSize = dataSize;
levelupRewardGotLevelListMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
@@ -425,17 +425,17 @@ public final class PlayerHomeCompInfoOuterClass {
}
{
int dataSize = 0;
for (int i = 0; i < levelupRewardGotLevelList_.size(); i++) {
for (int i = 0; i < unlockedModuleIdList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(levelupRewardGotLevelList_.getInt(i));
.computeUInt32SizeNoTag(unlockedModuleIdList_.getInt(i));
}
size += dataSize;
if (!getLevelupRewardGotLevelListList().isEmpty()) {
if (!getUnlockedModuleIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
levelupRewardGotLevelListMemoizedSerializedSize = dataSize;
unlockedModuleIdListMemoizedSerializedSize = dataSize;
}
if (friendEnterHomeOption_ != emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.FriendEnterHomeOption.FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM.getNumber()) {
size += com.google.protobuf.CodedOutputStream
@@ -456,10 +456,10 @@ public final class PlayerHomeCompInfoOuterClass {
}
emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo other = (emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo) obj;
if (!getUnlockedModuleIdListList()
.equals(other.getUnlockedModuleIdListList())) return false;
if (!getLevelupRewardGotLevelListList()
.equals(other.getLevelupRewardGotLevelListList())) return false;
if (!getUnlockedModuleIdListList()
.equals(other.getUnlockedModuleIdListList())) return false;
if (!getSeenModuleIdListList()
.equals(other.getSeenModuleIdListList())) return false;
if (friendEnterHomeOption_ != other.friendEnterHomeOption_) return false;
@@ -474,14 +474,14 @@ public final class PlayerHomeCompInfoOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getUnlockedModuleIdListCount() > 0) {
hash = (37 * hash) + UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getUnlockedModuleIdListList().hashCode();
}
if (getLevelupRewardGotLevelListCount() > 0) {
hash = (37 * hash) + LEVELUP_REWARD_GOT_LEVEL_LIST_FIELD_NUMBER;
hash = (53 * hash) + getLevelupRewardGotLevelListList().hashCode();
}
if (getUnlockedModuleIdListCount() > 0) {
hash = (37 * hash) + UNLOCKED_MODULE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getUnlockedModuleIdListList().hashCode();
}
if (getSeenModuleIdListCount() > 0) {
hash = (37 * hash) + SEEN_MODULE_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getSeenModuleIdListList().hashCode();
@@ -625,9 +625,9 @@ public final class PlayerHomeCompInfoOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
unlockedModuleIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
levelupRewardGotLevelList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
unlockedModuleIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
seenModuleIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
@@ -661,15 +661,15 @@ public final class PlayerHomeCompInfoOuterClass {
emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo result = new emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
unlockedModuleIdList_.makeImmutable();
levelupRewardGotLevelList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.unlockedModuleIdList_ = unlockedModuleIdList_;
result.levelupRewardGotLevelList_ = levelupRewardGotLevelList_;
if (((bitField0_ & 0x00000002) != 0)) {
levelupRewardGotLevelList_.makeImmutable();
unlockedModuleIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.levelupRewardGotLevelList_ = levelupRewardGotLevelList_;
result.unlockedModuleIdList_ = unlockedModuleIdList_;
if (((bitField0_ & 0x00000004) != 0)) {
seenModuleIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
@@ -724,26 +724,26 @@ public final class PlayerHomeCompInfoOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo other) {
if (other == emu.grasscutter.net.proto.PlayerHomeCompInfoOuterClass.PlayerHomeCompInfo.getDefaultInstance()) return this;
if (!other.unlockedModuleIdList_.isEmpty()) {
if (unlockedModuleIdList_.isEmpty()) {
unlockedModuleIdList_ = other.unlockedModuleIdList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUnlockedModuleIdListIsMutable();
unlockedModuleIdList_.addAll(other.unlockedModuleIdList_);
}
onChanged();
}
if (!other.levelupRewardGotLevelList_.isEmpty()) {
if (levelupRewardGotLevelList_.isEmpty()) {
levelupRewardGotLevelList_ = other.levelupRewardGotLevelList_;
bitField0_ = (bitField0_ & ~0x00000002);
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLevelupRewardGotLevelListIsMutable();
levelupRewardGotLevelList_.addAll(other.levelupRewardGotLevelList_);
}
onChanged();
}
if (!other.unlockedModuleIdList_.isEmpty()) {
if (unlockedModuleIdList_.isEmpty()) {
unlockedModuleIdList_ = other.unlockedModuleIdList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureUnlockedModuleIdListIsMutable();
unlockedModuleIdList_.addAll(other.unlockedModuleIdList_);
}
onChanged();
}
if (!other.seenModuleIdList_.isEmpty()) {
if (seenModuleIdList_.isEmpty()) {
seenModuleIdList_ = other.seenModuleIdList_;
@@ -787,110 +787,31 @@ public final class PlayerHomeCompInfoOuterClass {
}
private int bitField0_;
private com.google.protobuf.Internal.IntList unlockedModuleIdList_ = emptyIntList();
private void ensureUnlockedModuleIdListIsMutable() {
private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_ = emptyIntList();
private void ensureLevelupRewardGotLevelListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
unlockedModuleIdList_ = mutableCopy(unlockedModuleIdList_);
levelupRewardGotLevelList_ = mutableCopy(levelupRewardGotLevelList_);
bitField0_ |= 0x00000001;
}
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return A list containing the unlockedModuleIdList.
*/
public java.util.List<java.lang.Integer>
getUnlockedModuleIdListList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(unlockedModuleIdList_) : unlockedModuleIdList_;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return The count of unlockedModuleIdList.
*/
public int getUnlockedModuleIdListCount() {
return unlockedModuleIdList_.size();
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @param index The index of the element to return.
* @return The unlockedModuleIdList at the given index.
*/
public int getUnlockedModuleIdList(int index) {
return unlockedModuleIdList_.getInt(index);
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @param index The index to set the value at.
* @param value The unlockedModuleIdList to set.
* @return This builder for chaining.
*/
public Builder setUnlockedModuleIdList(
int index, int value) {
ensureUnlockedModuleIdListIsMutable();
unlockedModuleIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @param value The unlockedModuleIdList to add.
* @return This builder for chaining.
*/
public Builder addUnlockedModuleIdList(int value) {
ensureUnlockedModuleIdListIsMutable();
unlockedModuleIdList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @param values The unlockedModuleIdList to add.
* @return This builder for chaining.
*/
public Builder addAllUnlockedModuleIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureUnlockedModuleIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, unlockedModuleIdList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 3;</code>
* @return This builder for chaining.
*/
public Builder clearUnlockedModuleIdList() {
unlockedModuleIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList levelupRewardGotLevelList_ = emptyIntList();
private void ensureLevelupRewardGotLevelListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
levelupRewardGotLevelList_ = mutableCopy(levelupRewardGotLevelList_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return A list containing the levelupRewardGotLevelList.
*/
public java.util.List<java.lang.Integer>
getLevelupRewardGotLevelListList() {
return ((bitField0_ & 0x00000002) != 0) ?
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(levelupRewardGotLevelList_) : levelupRewardGotLevelList_;
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return The count of levelupRewardGotLevelList.
*/
public int getLevelupRewardGotLevelListCount() {
return levelupRewardGotLevelList_.size();
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @param index The index of the element to return.
* @return The levelupRewardGotLevelList at the given index.
*/
@@ -898,7 +819,7 @@ public final class PlayerHomeCompInfoOuterClass {
return levelupRewardGotLevelList_.getInt(index);
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @param index The index to set the value at.
* @param value The levelupRewardGotLevelList to set.
* @return This builder for chaining.
@@ -911,7 +832,7 @@ public final class PlayerHomeCompInfoOuterClass {
return this;
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @param value The levelupRewardGotLevelList to add.
* @return This builder for chaining.
*/
@@ -922,7 +843,7 @@ public final class PlayerHomeCompInfoOuterClass {
return this;
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @param values The levelupRewardGotLevelList to add.
* @return This builder for chaining.
*/
@@ -935,11 +856,90 @@ public final class PlayerHomeCompInfoOuterClass {
return this;
}
/**
* <code>repeated uint32 levelup_reward_got_level_list = 10;</code>
* <code>repeated uint32 levelup_reward_got_level_list = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLevelupRewardGotLevelList() {
levelupRewardGotLevelList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList unlockedModuleIdList_ = emptyIntList();
private void ensureUnlockedModuleIdListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
unlockedModuleIdList_ = mutableCopy(unlockedModuleIdList_);
bitField0_ |= 0x00000002;
}
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return A list containing the unlockedModuleIdList.
*/
public java.util.List<java.lang.Integer>
getUnlockedModuleIdListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(unlockedModuleIdList_) : unlockedModuleIdList_;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return The count of unlockedModuleIdList.
*/
public int getUnlockedModuleIdListCount() {
return unlockedModuleIdList_.size();
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @param index The index of the element to return.
* @return The unlockedModuleIdList at the given index.
*/
public int getUnlockedModuleIdList(int index) {
return unlockedModuleIdList_.getInt(index);
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @param index The index to set the value at.
* @param value The unlockedModuleIdList to set.
* @return This builder for chaining.
*/
public Builder setUnlockedModuleIdList(
int index, int value) {
ensureUnlockedModuleIdListIsMutable();
unlockedModuleIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @param value The unlockedModuleIdList to add.
* @return This builder for chaining.
*/
public Builder addUnlockedModuleIdList(int value) {
ensureUnlockedModuleIdListIsMutable();
unlockedModuleIdList_.addInt(value);
onChanged();
return this;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @param values The unlockedModuleIdList to add.
* @return This builder for chaining.
*/
public Builder addAllUnlockedModuleIdList(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureUnlockedModuleIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, unlockedModuleIdList_);
onChanged();
return this;
}
/**
* <code>repeated uint32 unlocked_module_id_list = 10;</code>
* @return This builder for chaining.
*/
public Builder clearUnlockedModuleIdList() {
unlockedModuleIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
@@ -1145,9 +1145,9 @@ public final class PlayerHomeCompInfoOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\030PlayerHomeCompInfo.proto\032\033FriendEnterH" +
"omeOption.proto\"\263\001\n\022PlayerHomeCompInfo\022\037" +
"\n\027unlocked_module_id_list\030\003 \003(\r\022%\n\035level" +
"up_reward_got_level_list\030\n \003(\r\022\033\n\023seen_m" +
"omeOption.proto\"\263\001\n\022PlayerHomeCompInfo\022%" +
"\n\035levelup_reward_got_level_list\030\003 \003(\r\022\037\n" +
"\027unlocked_module_id_list\030\n \003(\r\022\033\n\023seen_m" +
"odule_id_list\030\010 \003(\r\0228\n\030friend_enter_home" +
"_option\030\017 \001(\0162\026.FriendEnterHomeOptionB\033\n" +
"\031emu.grasscutter.net.protob\006proto3"
@@ -1162,7 +1162,7 @@ public final class PlayerHomeCompInfoOuterClass {
internal_static_PlayerHomeCompInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PlayerHomeCompInfo_descriptor,
new java.lang.String[] { "UnlockedModuleIdList", "LevelupRewardGotLevelList", "SeenModuleIdList", "FriendEnterHomeOption", });
new java.lang.String[] { "LevelupRewardGotLevelList", "UnlockedModuleIdList", "SeenModuleIdList", "FriendEnterHomeOption", });
emu.grasscutter.net.proto.FriendEnterHomeOptionOuterClass.getDescriptor();
}