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,38 +19,38 @@ public final class HomeAvatarRewardEventInfoOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 LHAPBMODLNM = 7;</code>
* @return The lHAPBMODLNM.
* <code>uint32 guid = 11;</code>
* @return The guid.
*/
int getLHAPBMODLNM();
int getGuid();
/**
* <code>uint32 event_id = 9;</code>
* <code>uint32 event_id = 8;</code>
* @return The eventId.
*/
int getEventId();
/**
* <code>uint32 suite_id = 2;</code>
* @return The suiteId.
*/
int getSuiteId();
/**
* <code>uint32 avatar_id = 1;</code>
* <code>uint32 avatar_id = 5;</code>
* @return The avatarId.
*/
int getAvatarId();
/**
* <code>uint32 guid = 6;</code>
* @return The guid.
* <code>uint32 random_position = 1;</code>
* @return The randomPosition.
*/
int getGuid();
int getRandomPosition();
/**
* <code>uint32 suite_id = 3;</code>
* @return The suiteId.
*/
int getSuiteId();
}
/**
* <pre>
* Obf: BAODMLGNPKC
* Obf: HOLFHPKHFLL
* </pre>
*
* Protobuf type {@code HomeAvatarRewardEventInfo}
@@ -99,29 +99,29 @@ public final class HomeAvatarRewardEventInfoOuterClass {
break;
case 8: {
avatarId_ = input.readUInt32();
randomPosition_ = input.readUInt32();
break;
}
case 16: {
case 24: {
suiteId_ = input.readUInt32();
break;
}
case 48: {
case 40: {
guid_ = input.readUInt32();
avatarId_ = input.readUInt32();
break;
}
case 56: {
lHAPBMODLNM_ = input.readUInt32();
break;
}
case 72: {
case 64: {
eventId_ = input.readUInt32();
break;
}
case 88: {
guid_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -154,21 +154,21 @@ public final class HomeAvatarRewardEventInfoOuterClass {
emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo.class, emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo.Builder.class);
}
public static final int LHAPBMODLNM_FIELD_NUMBER = 7;
private int lHAPBMODLNM_;
public static final int GUID_FIELD_NUMBER = 11;
private int guid_;
/**
* <code>uint32 LHAPBMODLNM = 7;</code>
* @return The lHAPBMODLNM.
* <code>uint32 guid = 11;</code>
* @return The guid.
*/
@java.lang.Override
public int getLHAPBMODLNM() {
return lHAPBMODLNM_;
public int getGuid() {
return guid_;
}
public static final int EVENT_ID_FIELD_NUMBER = 9;
public static final int EVENT_ID_FIELD_NUMBER = 8;
private int eventId_;
/**
* <code>uint32 event_id = 9;</code>
* <code>uint32 event_id = 8;</code>
* @return The eventId.
*/
@java.lang.Override
@@ -176,21 +176,10 @@ public final class HomeAvatarRewardEventInfoOuterClass {
return eventId_;
}
public static final int SUITE_ID_FIELD_NUMBER = 2;
private int suiteId_;
/**
* <code>uint32 suite_id = 2;</code>
* @return The suiteId.
*/
@java.lang.Override
public int getSuiteId() {
return suiteId_;
}
public static final int AVATAR_ID_FIELD_NUMBER = 1;
public static final int AVATAR_ID_FIELD_NUMBER = 5;
private int avatarId_;
/**
* <code>uint32 avatar_id = 1;</code>
* <code>uint32 avatar_id = 5;</code>
* @return The avatarId.
*/
@java.lang.Override
@@ -198,15 +187,26 @@ public final class HomeAvatarRewardEventInfoOuterClass {
return avatarId_;
}
public static final int GUID_FIELD_NUMBER = 6;
private int guid_;
public static final int RANDOM_POSITION_FIELD_NUMBER = 1;
private int randomPosition_;
/**
* <code>uint32 guid = 6;</code>
* @return The guid.
* <code>uint32 random_position = 1;</code>
* @return The randomPosition.
*/
@java.lang.Override
public int getGuid() {
return guid_;
public int getRandomPosition() {
return randomPosition_;
}
public static final int SUITE_ID_FIELD_NUMBER = 3;
private int suiteId_;
/**
* <code>uint32 suite_id = 3;</code>
* @return The suiteId.
*/
@java.lang.Override
public int getSuiteId() {
return suiteId_;
}
private byte memoizedIsInitialized = -1;
@@ -223,20 +223,20 @@ public final class HomeAvatarRewardEventInfoOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarId_ != 0) {
output.writeUInt32(1, avatarId_);
if (randomPosition_ != 0) {
output.writeUInt32(1, randomPosition_);
}
if (suiteId_ != 0) {
output.writeUInt32(2, suiteId_);
output.writeUInt32(3, suiteId_);
}
if (guid_ != 0) {
output.writeUInt32(6, guid_);
}
if (lHAPBMODLNM_ != 0) {
output.writeUInt32(7, lHAPBMODLNM_);
if (avatarId_ != 0) {
output.writeUInt32(5, avatarId_);
}
if (eventId_ != 0) {
output.writeUInt32(9, eventId_);
output.writeUInt32(8, eventId_);
}
if (guid_ != 0) {
output.writeUInt32(11, guid_);
}
unknownFields.writeTo(output);
}
@@ -247,25 +247,25 @@ public final class HomeAvatarRewardEventInfoOuterClass {
if (size != -1) return size;
size = 0;
if (avatarId_ != 0) {
if (randomPosition_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, avatarId_);
.computeUInt32Size(1, randomPosition_);
}
if (suiteId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, suiteId_);
.computeUInt32Size(3, suiteId_);
}
if (guid_ != 0) {
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, guid_);
}
if (lHAPBMODLNM_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, lHAPBMODLNM_);
.computeUInt32Size(5, avatarId_);
}
if (eventId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, eventId_);
.computeUInt32Size(8, eventId_);
}
if (guid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, guid_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -282,16 +282,16 @@ public final class HomeAvatarRewardEventInfoOuterClass {
}
emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo other = (emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo) obj;
if (getLHAPBMODLNM()
!= other.getLHAPBMODLNM()) return false;
if (getEventId()
!= other.getEventId()) return false;
if (getSuiteId()
!= other.getSuiteId()) return false;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (getGuid()
!= other.getGuid()) return false;
if (getEventId()
!= other.getEventId()) return false;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (getRandomPosition()
!= other.getRandomPosition()) return false;
if (getSuiteId()
!= other.getSuiteId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -303,16 +303,16 @@ public final class HomeAvatarRewardEventInfoOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LHAPBMODLNM_FIELD_NUMBER;
hash = (53 * hash) + getLHAPBMODLNM();
hash = (37 * hash) + EVENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getEventId();
hash = (37 * hash) + SUITE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSuiteId();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
hash = (37 * hash) + GUID_FIELD_NUMBER;
hash = (53 * hash) + getGuid();
hash = (37 * hash) + EVENT_ID_FIELD_NUMBER;
hash = (53 * hash) + getEventId();
hash = (37 * hash) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
hash = (37 * hash) + RANDOM_POSITION_FIELD_NUMBER;
hash = (53 * hash) + getRandomPosition();
hash = (37 * hash) + SUITE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSuiteId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -410,7 +410,7 @@ public final class HomeAvatarRewardEventInfoOuterClass {
}
/**
* <pre>
* Obf: BAODMLGNPKC
* Obf: HOLFHPKHFLL
* </pre>
*
* Protobuf type {@code HomeAvatarRewardEventInfo}
@@ -450,15 +450,15 @@ public final class HomeAvatarRewardEventInfoOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
lHAPBMODLNM_ = 0;
guid_ = 0;
eventId_ = 0;
suiteId_ = 0;
avatarId_ = 0;
guid_ = 0;
randomPosition_ = 0;
suiteId_ = 0;
return this;
}
@@ -486,11 +486,11 @@ public final class HomeAvatarRewardEventInfoOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo buildPartial() {
emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo result = new emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo(this);
result.lHAPBMODLNM_ = lHAPBMODLNM_;
result.eventId_ = eventId_;
result.suiteId_ = suiteId_;
result.avatarId_ = avatarId_;
result.guid_ = guid_;
result.eventId_ = eventId_;
result.avatarId_ = avatarId_;
result.randomPosition_ = randomPosition_;
result.suiteId_ = suiteId_;
onBuilt();
return result;
}
@@ -539,20 +539,20 @@ public final class HomeAvatarRewardEventInfoOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo other) {
if (other == emu.grasscutter.net.proto.HomeAvatarRewardEventInfoOuterClass.HomeAvatarRewardEventInfo.getDefaultInstance()) return this;
if (other.getLHAPBMODLNM() != 0) {
setLHAPBMODLNM(other.getLHAPBMODLNM());
if (other.getGuid() != 0) {
setGuid(other.getGuid());
}
if (other.getEventId() != 0) {
setEventId(other.getEventId());
}
if (other.getSuiteId() != 0) {
setSuiteId(other.getSuiteId());
}
if (other.getAvatarId() != 0) {
setAvatarId(other.getAvatarId());
}
if (other.getGuid() != 0) {
setGuid(other.getGuid());
if (other.getRandomPosition() != 0) {
setRandomPosition(other.getRandomPosition());
}
if (other.getSuiteId() != 0) {
setSuiteId(other.getSuiteId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -583,133 +583,9 @@ public final class HomeAvatarRewardEventInfoOuterClass {
return this;
}
private int lHAPBMODLNM_ ;
/**
* <code>uint32 LHAPBMODLNM = 7;</code>
* @return The lHAPBMODLNM.
*/
@java.lang.Override
public int getLHAPBMODLNM() {
return lHAPBMODLNM_;
}
/**
* <code>uint32 LHAPBMODLNM = 7;</code>
* @param value The lHAPBMODLNM to set.
* @return This builder for chaining.
*/
public Builder setLHAPBMODLNM(int value) {
lHAPBMODLNM_ = value;
onChanged();
return this;
}
/**
* <code>uint32 LHAPBMODLNM = 7;</code>
* @return This builder for chaining.
*/
public Builder clearLHAPBMODLNM() {
lHAPBMODLNM_ = 0;
onChanged();
return this;
}
private int eventId_ ;
/**
* <code>uint32 event_id = 9;</code>
* @return The eventId.
*/
@java.lang.Override
public int getEventId() {
return eventId_;
}
/**
* <code>uint32 event_id = 9;</code>
* @param value The eventId to set.
* @return This builder for chaining.
*/
public Builder setEventId(int value) {
eventId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 event_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearEventId() {
eventId_ = 0;
onChanged();
return this;
}
private int suiteId_ ;
/**
* <code>uint32 suite_id = 2;</code>
* @return The suiteId.
*/
@java.lang.Override
public int getSuiteId() {
return suiteId_;
}
/**
* <code>uint32 suite_id = 2;</code>
* @param value The suiteId to set.
* @return This builder for chaining.
*/
public Builder setSuiteId(int value) {
suiteId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 suite_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSuiteId() {
suiteId_ = 0;
onChanged();
return this;
}
private int avatarId_ ;
/**
* <code>uint32 avatar_id = 1;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* <code>uint32 avatar_id = 1;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 avatar_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
avatarId_ = 0;
onChanged();
return this;
}
private int guid_ ;
/**
* <code>uint32 guid = 6;</code>
* <code>uint32 guid = 11;</code>
* @return The guid.
*/
@java.lang.Override
@@ -717,7 +593,7 @@ public final class HomeAvatarRewardEventInfoOuterClass {
return guid_;
}
/**
* <code>uint32 guid = 6;</code>
* <code>uint32 guid = 11;</code>
* @param value The guid to set.
* @return This builder for chaining.
*/
@@ -728,7 +604,7 @@ public final class HomeAvatarRewardEventInfoOuterClass {
return this;
}
/**
* <code>uint32 guid = 6;</code>
* <code>uint32 guid = 11;</code>
* @return This builder for chaining.
*/
public Builder clearGuid() {
@@ -737,6 +613,130 @@ public final class HomeAvatarRewardEventInfoOuterClass {
onChanged();
return this;
}
private int eventId_ ;
/**
* <code>uint32 event_id = 8;</code>
* @return The eventId.
*/
@java.lang.Override
public int getEventId() {
return eventId_;
}
/**
* <code>uint32 event_id = 8;</code>
* @param value The eventId to set.
* @return This builder for chaining.
*/
public Builder setEventId(int value) {
eventId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 event_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearEventId() {
eventId_ = 0;
onChanged();
return this;
}
private int avatarId_ ;
/**
* <code>uint32 avatar_id = 5;</code>
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* <code>uint32 avatar_id = 5;</code>
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 avatar_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
avatarId_ = 0;
onChanged();
return this;
}
private int randomPosition_ ;
/**
* <code>uint32 random_position = 1;</code>
* @return The randomPosition.
*/
@java.lang.Override
public int getRandomPosition() {
return randomPosition_;
}
/**
* <code>uint32 random_position = 1;</code>
* @param value The randomPosition to set.
* @return This builder for chaining.
*/
public Builder setRandomPosition(int value) {
randomPosition_ = value;
onChanged();
return this;
}
/**
* <code>uint32 random_position = 1;</code>
* @return This builder for chaining.
*/
public Builder clearRandomPosition() {
randomPosition_ = 0;
onChanged();
return this;
}
private int suiteId_ ;
/**
* <code>uint32 suite_id = 3;</code>
* @return The suiteId.
*/
@java.lang.Override
public int getSuiteId() {
return suiteId_;
}
/**
* <code>uint32 suite_id = 3;</code>
* @param value The suiteId to set.
* @return This builder for chaining.
*/
public Builder setSuiteId(int value) {
suiteId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 suite_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSuiteId() {
suiteId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -804,11 +804,11 @@ public final class HomeAvatarRewardEventInfoOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\037HomeAvatarRewardEventInfo.proto\"u\n\031Hom" +
"eAvatarRewardEventInfo\022\023\n\013LHAPBMODLNM\030\007 " +
"\001(\r\022\020\n\010event_id\030\t \001(\r\022\020\n\010suite_id\030\002 \001(\r\022" +
"\021\n\tavatar_id\030\001 \001(\r\022\014\n\004guid\030\006 \001(\rB\033\n\031emu." +
"grasscutter.net.protob\006proto3"
"\n\037HomeAvatarRewardEventInfo.proto\"y\n\031Hom" +
"eAvatarRewardEventInfo\022\014\n\004guid\030\013 \001(\r\022\020\n\010" +
"event_id\030\010 \001(\r\022\021\n\tavatar_id\030\005 \001(\r\022\027\n\017ran" +
"dom_position\030\001 \001(\r\022\020\n\010suite_id\030\003 \001(\rB\033\n\031" +
"emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -819,7 +819,7 @@ public final class HomeAvatarRewardEventInfoOuterClass {
internal_static_HomeAvatarRewardEventInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_HomeAvatarRewardEventInfo_descriptor,
new java.lang.String[] { "LHAPBMODLNM", "EventId", "SuiteId", "AvatarId", "Guid", });
new java.lang.String[] { "Guid", "EventId", "AvatarId", "RandomPosition", "SuiteId", });
}
// @@protoc_insertion_point(outer_class_scope)