Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,7 +19,13 @@ public final class AvatarExpeditionStartReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 hour_time = 11;</code>
* <code>uint64 avatar_guid = 13;</code>
* @return The avatarGuid.
*/
long getAvatarGuid();
/**
* <code>uint32 hour_time = 12;</code>
* @return The hourTime.
*/
int getHourTime();
@@ -29,17 +35,11 @@ public final class AvatarExpeditionStartReqOuterClass {
* @return The expId.
*/
int getExpId();
/**
* <code>uint64 avatar_guid = 3;</code>
* @return The avatarGuid.
*/
long getAvatarGuid();
}
/**
* <pre>
* CmdId: 1691
* Obf: LONEJHBMOFM
* CmdId: 751
* Obf: POPPHGOPGHG
* </pre>
*
* Protobuf type {@code AvatarExpeditionStartReq}
@@ -86,21 +86,21 @@ public final class AvatarExpeditionStartReqOuterClass {
case 0:
done = true;
break;
case 24: {
avatarGuid_ = input.readUInt64();
break;
}
case 48: {
expId_ = input.readUInt32();
break;
}
case 88: {
case 96: {
hourTime_ = input.readUInt32();
break;
}
case 104: {
avatarGuid_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -133,10 +133,21 @@ public final class AvatarExpeditionStartReqOuterClass {
emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq.class, emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq.Builder.class);
}
public static final int HOUR_TIME_FIELD_NUMBER = 11;
public static final int AVATAR_GUID_FIELD_NUMBER = 13;
private long avatarGuid_;
/**
* <code>uint64 avatar_guid = 13;</code>
* @return The avatarGuid.
*/
@java.lang.Override
public long getAvatarGuid() {
return avatarGuid_;
}
public static final int HOUR_TIME_FIELD_NUMBER = 12;
private int hourTime_;
/**
* <code>uint32 hour_time = 11;</code>
* <code>uint32 hour_time = 12;</code>
* @return The hourTime.
*/
@java.lang.Override
@@ -155,17 +166,6 @@ public final class AvatarExpeditionStartReqOuterClass {
return expId_;
}
public static final int AVATAR_GUID_FIELD_NUMBER = 3;
private long avatarGuid_;
/**
* <code>uint64 avatar_guid = 3;</code>
* @return The avatarGuid.
*/
@java.lang.Override
public long getAvatarGuid() {
return avatarGuid_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -180,14 +180,14 @@ public final class AvatarExpeditionStartReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarGuid_ != 0L) {
output.writeUInt64(3, avatarGuid_);
}
if (expId_ != 0) {
output.writeUInt32(6, expId_);
}
if (hourTime_ != 0) {
output.writeUInt32(11, hourTime_);
output.writeUInt32(12, hourTime_);
}
if (avatarGuid_ != 0L) {
output.writeUInt64(13, avatarGuid_);
}
unknownFields.writeTo(output);
}
@@ -198,17 +198,17 @@ public final class AvatarExpeditionStartReqOuterClass {
if (size != -1) return size;
size = 0;
if (avatarGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, avatarGuid_);
}
if (expId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, expId_);
}
if (hourTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, hourTime_);
.computeUInt32Size(12, hourTime_);
}
if (avatarGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(13, avatarGuid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -225,12 +225,12 @@ public final class AvatarExpeditionStartReqOuterClass {
}
emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq other = (emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq) obj;
if (getAvatarGuid()
!= other.getAvatarGuid()) return false;
if (getHourTime()
!= other.getHourTime()) return false;
if (getExpId()
!= other.getExpId()) return false;
if (getAvatarGuid()
!= other.getAvatarGuid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -242,13 +242,13 @@ public final class AvatarExpeditionStartReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAvatarGuid());
hash = (37 * hash) + HOUR_TIME_FIELD_NUMBER;
hash = (53 * hash) + getHourTime();
hash = (37 * hash) + EXP_ID_FIELD_NUMBER;
hash = (53 * hash) + getExpId();
hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAvatarGuid());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -346,8 +346,8 @@ public final class AvatarExpeditionStartReqOuterClass {
}
/**
* <pre>
* CmdId: 1691
* Obf: LONEJHBMOFM
* CmdId: 751
* Obf: POPPHGOPGHG
* </pre>
*
* Protobuf type {@code AvatarExpeditionStartReq}
@@ -387,12 +387,12 @@ public final class AvatarExpeditionStartReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
avatarGuid_ = 0L;
hourTime_ = 0;
expId_ = 0;
avatarGuid_ = 0L;
return this;
}
@@ -419,9 +419,9 @@ public final class AvatarExpeditionStartReqOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq buildPartial() {
emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq result = new emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq(this);
result.avatarGuid_ = avatarGuid_;
result.hourTime_ = hourTime_;
result.expId_ = expId_;
result.avatarGuid_ = avatarGuid_;
onBuilt();
return result;
}
@@ -470,15 +470,15 @@ public final class AvatarExpeditionStartReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq other) {
if (other == emu.grasscutter.net.proto.AvatarExpeditionStartReqOuterClass.AvatarExpeditionStartReq.getDefaultInstance()) return this;
if (other.getAvatarGuid() != 0L) {
setAvatarGuid(other.getAvatarGuid());
}
if (other.getHourTime() != 0) {
setHourTime(other.getHourTime());
}
if (other.getExpId() != 0) {
setExpId(other.getExpId());
}
if (other.getAvatarGuid() != 0L) {
setAvatarGuid(other.getAvatarGuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -508,9 +508,40 @@ public final class AvatarExpeditionStartReqOuterClass {
return this;
}
private long avatarGuid_ ;
/**
* <code>uint64 avatar_guid = 13;</code>
* @return The avatarGuid.
*/
@java.lang.Override
public long getAvatarGuid() {
return avatarGuid_;
}
/**
* <code>uint64 avatar_guid = 13;</code>
* @param value The avatarGuid to set.
* @return This builder for chaining.
*/
public Builder setAvatarGuid(long value) {
avatarGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 avatar_guid = 13;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarGuid() {
avatarGuid_ = 0L;
onChanged();
return this;
}
private int hourTime_ ;
/**
* <code>uint32 hour_time = 11;</code>
* <code>uint32 hour_time = 12;</code>
* @return The hourTime.
*/
@java.lang.Override
@@ -518,7 +549,7 @@ public final class AvatarExpeditionStartReqOuterClass {
return hourTime_;
}
/**
* <code>uint32 hour_time = 11;</code>
* <code>uint32 hour_time = 12;</code>
* @param value The hourTime to set.
* @return This builder for chaining.
*/
@@ -529,7 +560,7 @@ public final class AvatarExpeditionStartReqOuterClass {
return this;
}
/**
* <code>uint32 hour_time = 11;</code>
* <code>uint32 hour_time = 12;</code>
* @return This builder for chaining.
*/
public Builder clearHourTime() {
@@ -569,37 +600,6 @@ public final class AvatarExpeditionStartReqOuterClass {
onChanged();
return this;
}
private long avatarGuid_ ;
/**
* <code>uint64 avatar_guid = 3;</code>
* @return The avatarGuid.
*/
@java.lang.Override
public long getAvatarGuid() {
return avatarGuid_;
}
/**
* <code>uint64 avatar_guid = 3;</code>
* @param value The avatarGuid to set.
* @return This builder for chaining.
*/
public Builder setAvatarGuid(long value) {
avatarGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 avatar_guid = 3;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarGuid() {
avatarGuid_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -668,8 +668,8 @@ public final class AvatarExpeditionStartReqOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\036AvatarExpeditionStartReq.proto\"R\n\030Avat" +
"arExpeditionStartReq\022\021\n\thour_time\030\013 \001(\r\022" +
"\016\n\006exp_id\030\006 \001(\r\022\023\n\013avatar_guid\030\003 \001(\004B\033\n\031" +
"arExpeditionStartReq\022\023\n\013avatar_guid\030\r \001(" +
"\004\022\021\n\thour_time\030\014 \001(\r\022\016\n\006exp_id\030\006 \001(\rB\033\n\031" +
"emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -681,7 +681,7 @@ public final class AvatarExpeditionStartReqOuterClass {
internal_static_AvatarExpeditionStartReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarExpeditionStartReq_descriptor,
new java.lang.String[] { "HourTime", "ExpId", "AvatarGuid", });
new java.lang.String[] { "AvatarGuid", "HourTime", "ExpId", });
}
// @@protoc_insertion_point(outer_class_scope)