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
@@ -18,6 +18,18 @@ public final class ScenePlayInfoOuterClass {
// @@protoc_insertion_point(interface_extends:ScenePlayInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 play_id = 1;</code>
* @return The playId.
*/
int getPlayId();
/**
* <code>uint32 play_type = 3;</code>
* @return The playType.
*/
int getPlayType();
/**
* <code>uint32 entry_id = 14;</code>
* @return The entryId.
@@ -25,26 +37,14 @@ public final class ScenePlayInfoOuterClass {
int getEntryId();
/**
* <code>uint32 play_id = 2;</code>
* @return The playId.
*/
int getPlayId();
/**
* <code>bool is_open = 10;</code>
* <code>bool is_open = 5;</code>
* @return The isOpen.
*/
boolean getIsOpen();
/**
* <code>uint32 play_type = 8;</code>
* @return The playType.
*/
int getPlayType();
}
/**
* <pre>
* Obf: PILPOJPDJBA
* Obf: MGHLAJDMHHO
* </pre>
*
* Protobuf type {@code ScenePlayInfo}
@@ -91,17 +91,17 @@ public final class ScenePlayInfoOuterClass {
case 0:
done = true;
break;
case 16: {
case 8: {
playId_ = input.readUInt32();
break;
}
case 64: {
case 24: {
playType_ = input.readUInt32();
break;
}
case 80: {
case 40: {
isOpen_ = input.readBool();
break;
@@ -143,6 +143,28 @@ public final class ScenePlayInfoOuterClass {
emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo.class, emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo.Builder.class);
}
public static final int PLAY_ID_FIELD_NUMBER = 1;
private int playId_;
/**
* <code>uint32 play_id = 1;</code>
* @return The playId.
*/
@java.lang.Override
public int getPlayId() {
return playId_;
}
public static final int PLAY_TYPE_FIELD_NUMBER = 3;
private int playType_;
/**
* <code>uint32 play_type = 3;</code>
* @return The playType.
*/
@java.lang.Override
public int getPlayType() {
return playType_;
}
public static final int ENTRY_ID_FIELD_NUMBER = 14;
private int entryId_;
/**
@@ -154,21 +176,10 @@ public final class ScenePlayInfoOuterClass {
return entryId_;
}
public static final int PLAY_ID_FIELD_NUMBER = 2;
private int playId_;
/**
* <code>uint32 play_id = 2;</code>
* @return The playId.
*/
@java.lang.Override
public int getPlayId() {
return playId_;
}
public static final int IS_OPEN_FIELD_NUMBER = 10;
public static final int IS_OPEN_FIELD_NUMBER = 5;
private boolean isOpen_;
/**
* <code>bool is_open = 10;</code>
* <code>bool is_open = 5;</code>
* @return The isOpen.
*/
@java.lang.Override
@@ -176,17 +187,6 @@ public final class ScenePlayInfoOuterClass {
return isOpen_;
}
public static final int PLAY_TYPE_FIELD_NUMBER = 8;
private int playType_;
/**
* <code>uint32 play_type = 8;</code>
* @return The playType.
*/
@java.lang.Override
public int getPlayType() {
return playType_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -202,13 +202,13 @@ public final class ScenePlayInfoOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (playId_ != 0) {
output.writeUInt32(2, playId_);
output.writeUInt32(1, playId_);
}
if (playType_ != 0) {
output.writeUInt32(8, playType_);
output.writeUInt32(3, playType_);
}
if (isOpen_ != false) {
output.writeBool(10, isOpen_);
output.writeBool(5, isOpen_);
}
if (entryId_ != 0) {
output.writeUInt32(14, entryId_);
@@ -224,15 +224,15 @@ public final class ScenePlayInfoOuterClass {
size = 0;
if (playId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, playId_);
.computeUInt32Size(1, playId_);
}
if (playType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, playType_);
.computeUInt32Size(3, playType_);
}
if (isOpen_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, isOpen_);
.computeBoolSize(5, isOpen_);
}
if (entryId_ != 0) {
size += com.google.protobuf.CodedOutputStream
@@ -253,14 +253,14 @@ public final class ScenePlayInfoOuterClass {
}
emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo other = (emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo) obj;
if (getEntryId()
!= other.getEntryId()) return false;
if (getPlayId()
!= other.getPlayId()) return false;
if (getIsOpen()
!= other.getIsOpen()) return false;
if (getPlayType()
!= other.getPlayType()) return false;
if (getEntryId()
!= other.getEntryId()) return false;
if (getIsOpen()
!= other.getIsOpen()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -272,15 +272,15 @@ public final class ScenePlayInfoOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ENTRY_ID_FIELD_NUMBER;
hash = (53 * hash) + getEntryId();
hash = (37 * hash) + PLAY_ID_FIELD_NUMBER;
hash = (53 * hash) + getPlayId();
hash = (37 * hash) + PLAY_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getPlayType();
hash = (37 * hash) + ENTRY_ID_FIELD_NUMBER;
hash = (53 * hash) + getEntryId();
hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsOpen());
hash = (37 * hash) + PLAY_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getPlayType();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -378,7 +378,7 @@ public final class ScenePlayInfoOuterClass {
}
/**
* <pre>
* Obf: PILPOJPDJBA
* Obf: MGHLAJDMHHO
* </pre>
*
* Protobuf type {@code ScenePlayInfo}
@@ -418,14 +418,14 @@ public final class ScenePlayInfoOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
entryId_ = 0;
playId_ = 0;
isOpen_ = false;
playType_ = 0;
entryId_ = 0;
isOpen_ = false;
return this;
}
@@ -452,10 +452,10 @@ public final class ScenePlayInfoOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo buildPartial() {
emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo result = new emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo(this);
result.entryId_ = entryId_;
result.playId_ = playId_;
result.isOpen_ = isOpen_;
result.playType_ = playType_;
result.entryId_ = entryId_;
result.isOpen_ = isOpen_;
onBuilt();
return result;
}
@@ -504,18 +504,18 @@ public final class ScenePlayInfoOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo other) {
if (other == emu.grasscutter.net.proto.ScenePlayInfoOuterClass.ScenePlayInfo.getDefaultInstance()) return this;
if (other.getEntryId() != 0) {
setEntryId(other.getEntryId());
}
if (other.getPlayId() != 0) {
setPlayId(other.getPlayId());
}
if (other.getIsOpen() != false) {
setIsOpen(other.getIsOpen());
}
if (other.getPlayType() != 0) {
setPlayType(other.getPlayType());
}
if (other.getEntryId() != 0) {
setEntryId(other.getEntryId());
}
if (other.getIsOpen() != false) {
setIsOpen(other.getIsOpen());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -545,6 +545,68 @@ public final class ScenePlayInfoOuterClass {
return this;
}
private int playId_ ;
/**
* <code>uint32 play_id = 1;</code>
* @return The playId.
*/
@java.lang.Override
public int getPlayId() {
return playId_;
}
/**
* <code>uint32 play_id = 1;</code>
* @param value The playId to set.
* @return This builder for chaining.
*/
public Builder setPlayId(int value) {
playId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 play_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearPlayId() {
playId_ = 0;
onChanged();
return this;
}
private int playType_ ;
/**
* <code>uint32 play_type = 3;</code>
* @return The playType.
*/
@java.lang.Override
public int getPlayType() {
return playType_;
}
/**
* <code>uint32 play_type = 3;</code>
* @param value The playType to set.
* @return This builder for chaining.
*/
public Builder setPlayType(int value) {
playType_ = value;
onChanged();
return this;
}
/**
* <code>uint32 play_type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPlayType() {
playType_ = 0;
onChanged();
return this;
}
private int entryId_ ;
/**
* <code>uint32 entry_id = 14;</code>
@@ -576,40 +638,9 @@ public final class ScenePlayInfoOuterClass {
return this;
}
private int playId_ ;
/**
* <code>uint32 play_id = 2;</code>
* @return The playId.
*/
@java.lang.Override
public int getPlayId() {
return playId_;
}
/**
* <code>uint32 play_id = 2;</code>
* @param value The playId to set.
* @return This builder for chaining.
*/
public Builder setPlayId(int value) {
playId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 play_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearPlayId() {
playId_ = 0;
onChanged();
return this;
}
private boolean isOpen_ ;
/**
* <code>bool is_open = 10;</code>
* <code>bool is_open = 5;</code>
* @return The isOpen.
*/
@java.lang.Override
@@ -617,7 +648,7 @@ public final class ScenePlayInfoOuterClass {
return isOpen_;
}
/**
* <code>bool is_open = 10;</code>
* <code>bool is_open = 5;</code>
* @param value The isOpen to set.
* @return This builder for chaining.
*/
@@ -628,7 +659,7 @@ public final class ScenePlayInfoOuterClass {
return this;
}
/**
* <code>bool is_open = 10;</code>
* <code>bool is_open = 5;</code>
* @return This builder for chaining.
*/
public Builder clearIsOpen() {
@@ -637,37 +668,6 @@ public final class ScenePlayInfoOuterClass {
onChanged();
return this;
}
private int playType_ ;
/**
* <code>uint32 play_type = 8;</code>
* @return The playType.
*/
@java.lang.Override
public int getPlayType() {
return playType_;
}
/**
* <code>uint32 play_type = 8;</code>
* @param value The playType to set.
* @return This builder for chaining.
*/
public Builder setPlayType(int value) {
playType_ = value;
onChanged();
return this;
}
/**
* <code>uint32 play_type = 8;</code>
* @return This builder for chaining.
*/
public Builder clearPlayType() {
playType_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -735,9 +735,9 @@ public final class ScenePlayInfoOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023ScenePlayInfo.proto\"V\n\rScenePlayInfo\022\020" +
"\n\010entry_id\030\016 \001(\r\022\017\n\007play_id\030\002 \001(\r\022\017\n\007is_" +
"open\030\n \001(\010\022\021\n\tplay_type\030\010 \001(\rB\033\n\031emu.gra" +
"\n\023ScenePlayInfo.proto\"V\n\rScenePlayInfo\022\017" +
"\n\007play_id\030\001 \001(\r\022\021\n\tplay_type\030\003 \001(\r\022\020\n\010en" +
"try_id\030\016 \001(\r\022\017\n\007is_open\030\005 \001(\010B\033\n\031emu.gra" +
"sscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -749,7 +749,7 @@ public final class ScenePlayInfoOuterClass {
internal_static_ScenePlayInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ScenePlayInfo_descriptor,
new java.lang.String[] { "EntryId", "PlayId", "IsOpen", "PlayType", });
new java.lang.String[] { "PlayId", "PlayType", "EntryId", "IsOpen", });
}
// @@protoc_insertion_point(outer_class_scope)