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,12 @@ public final class GCGGameBriefDataNotifyOuterClass {
// @@protoc_insertion_point(interface_extends:GCGGameBriefDataNotify)
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_new_game = 11;</code>
* @return The isNewGame.
*/
boolean getIsNewGame();
/**
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
* @return Whether the gcgBriefData field is set.
@@ -32,17 +38,11 @@ public final class GCGGameBriefDataNotifyOuterClass {
* <code>.GCGGameBriefData gcg_brief_data = 3;</code>
*/
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder getGcgBriefDataOrBuilder();
/**
* <code>bool is_new_game = 8;</code>
* @return The isNewGame.
*/
boolean getIsNewGame();
}
/**
* <pre>
* CmdId: 7506
* Obf: FJBOGLHIKLG
* CmdId: 7256
* Obf: LIAFFLMEDKE
* </pre>
*
* Protobuf type {@code GCGGameBriefDataNotify}
@@ -102,7 +102,7 @@ public final class GCGGameBriefDataNotifyOuterClass {
break;
}
case 64: {
case 88: {
isNewGame_ = input.readBool();
break;
@@ -139,6 +139,17 @@ public final class GCGGameBriefDataNotifyOuterClass {
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.class, emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.Builder.class);
}
public static final int IS_NEW_GAME_FIELD_NUMBER = 11;
private boolean isNewGame_;
/**
* <code>bool is_new_game = 11;</code>
* @return The isNewGame.
*/
@java.lang.Override
public boolean getIsNewGame() {
return isNewGame_;
}
public static final int GCG_BRIEF_DATA_FIELD_NUMBER = 3;
private emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData gcgBriefData_;
/**
@@ -165,17 +176,6 @@ public final class GCGGameBriefDataNotifyOuterClass {
return getGcgBriefData();
}
public static final int IS_NEW_GAME_FIELD_NUMBER = 8;
private boolean isNewGame_;
/**
* <code>bool is_new_game = 8;</code>
* @return The isNewGame.
*/
@java.lang.Override
public boolean getIsNewGame() {
return isNewGame_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -194,7 +194,7 @@ public final class GCGGameBriefDataNotifyOuterClass {
output.writeMessage(3, getGcgBriefData());
}
if (isNewGame_ != false) {
output.writeBool(8, isNewGame_);
output.writeBool(11, isNewGame_);
}
unknownFields.writeTo(output);
}
@@ -211,7 +211,7 @@ public final class GCGGameBriefDataNotifyOuterClass {
}
if (isNewGame_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, isNewGame_);
.computeBoolSize(11, isNewGame_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -228,13 +228,13 @@ public final class GCGGameBriefDataNotifyOuterClass {
}
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify other = (emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify) obj;
if (getIsNewGame()
!= other.getIsNewGame()) return false;
if (hasGcgBriefData() != other.hasGcgBriefData()) return false;
if (hasGcgBriefData()) {
if (!getGcgBriefData()
.equals(other.getGcgBriefData())) return false;
}
if (getIsNewGame()
!= other.getIsNewGame()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -246,13 +246,13 @@ public final class GCGGameBriefDataNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + IS_NEW_GAME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNewGame());
if (hasGcgBriefData()) {
hash = (37 * hash) + GCG_BRIEF_DATA_FIELD_NUMBER;
hash = (53 * hash) + getGcgBriefData().hashCode();
}
hash = (37 * hash) + IS_NEW_GAME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNewGame());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -350,8 +350,8 @@ public final class GCGGameBriefDataNotifyOuterClass {
}
/**
* <pre>
* CmdId: 7506
* Obf: FJBOGLHIKLG
* CmdId: 7256
* Obf: LIAFFLMEDKE
* </pre>
*
* Protobuf type {@code GCGGameBriefDataNotify}
@@ -391,14 +391,14 @@ public final class GCGGameBriefDataNotifyOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
isNewGame_ = false;
if (gcgBriefDataBuilder_ == null) {
gcgBriefData_ = null;
} else {
gcgBriefData_ = null;
gcgBriefDataBuilder_ = null;
}
isNewGame_ = false;
return this;
}
@@ -425,12 +425,12 @@ public final class GCGGameBriefDataNotifyOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify buildPartial() {
emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify result = new emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify(this);
result.isNewGame_ = isNewGame_;
if (gcgBriefDataBuilder_ == null) {
result.gcgBriefData_ = gcgBriefData_;
} else {
result.gcgBriefData_ = gcgBriefDataBuilder_.build();
}
result.isNewGame_ = isNewGame_;
onBuilt();
return result;
}
@@ -479,12 +479,12 @@ public final class GCGGameBriefDataNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify other) {
if (other == emu.grasscutter.net.proto.GCGGameBriefDataNotifyOuterClass.GCGGameBriefDataNotify.getDefaultInstance()) return this;
if (other.hasGcgBriefData()) {
mergeGcgBriefData(other.getGcgBriefData());
}
if (other.getIsNewGame() != false) {
setIsNewGame(other.getIsNewGame());
}
if (other.hasGcgBriefData()) {
mergeGcgBriefData(other.getGcgBriefData());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -514,6 +514,37 @@ public final class GCGGameBriefDataNotifyOuterClass {
return this;
}
private boolean isNewGame_ ;
/**
* <code>bool is_new_game = 11;</code>
* @return The isNewGame.
*/
@java.lang.Override
public boolean getIsNewGame() {
return isNewGame_;
}
/**
* <code>bool is_new_game = 11;</code>
* @param value The isNewGame to set.
* @return This builder for chaining.
*/
public Builder setIsNewGame(boolean value) {
isNewGame_ = value;
onChanged();
return this;
}
/**
* <code>bool is_new_game = 11;</code>
* @return This builder for chaining.
*/
public Builder clearIsNewGame() {
isNewGame_ = false;
onChanged();
return this;
}
private emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData gcgBriefData_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefData.Builder, emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.GCGGameBriefDataOrBuilder> gcgBriefDataBuilder_;
@@ -632,37 +663,6 @@ public final class GCGGameBriefDataNotifyOuterClass {
}
return gcgBriefDataBuilder_;
}
private boolean isNewGame_ ;
/**
* <code>bool is_new_game = 8;</code>
* @return The isNewGame.
*/
@java.lang.Override
public boolean getIsNewGame() {
return isNewGame_;
}
/**
* <code>bool is_new_game = 8;</code>
* @param value The isNewGame to set.
* @return This builder for chaining.
*/
public Builder setIsNewGame(boolean value) {
isNewGame_ = value;
onChanged();
return this;
}
/**
* <code>bool is_new_game = 8;</code>
* @return This builder for chaining.
*/
public Builder clearIsNewGame() {
isNewGame_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -732,8 +732,8 @@ public final class GCGGameBriefDataNotifyOuterClass {
java.lang.String[] descriptorData = {
"\n\034GCGGameBriefDataNotify.proto\032\026GCGGameB" +
"riefData.proto\"X\n\026GCGGameBriefDataNotify" +
"\022)\n\016gcg_brief_data\030\003 \001(\0132\021.GCGGameBriefD" +
"ata\022\023\n\013is_new_game\030\010 \001(\010B\033\n\031emu.grasscut" +
"\022\023\n\013is_new_game\030\013 \001(\010\022)\n\016gcg_brief_data\030" +
"\003 \001(\0132\021.GCGGameBriefDataB\033\n\031emu.grasscut" +
"ter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -746,7 +746,7 @@ public final class GCGGameBriefDataNotifyOuterClass {
internal_static_GCGGameBriefDataNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GCGGameBriefDataNotify_descriptor,
new java.lang.String[] { "GcgBriefData", "IsNewGame", });
new java.lang.String[] { "IsNewGame", "GcgBriefData", });
emu.grasscutter.net.proto.GCGGameBriefDataOuterClass.getDescriptor();
}