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,32 +19,32 @@ public final class DelTeamEntityNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return A list containing the delEntityIdList.
*/
java.util.List<java.lang.Integer> getDelEntityIdListList();
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return The count of delEntityIdList.
*/
int getDelEntityIdListCount();
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @param index The index of the element to return.
* @return The delEntityIdList at the given index.
*/
int getDelEntityIdList(int index);
/**
* <code>uint32 scene_id = 4;</code>
* <code>uint32 scene_id = 15;</code>
* @return The sceneId.
*/
int getSceneId();
}
/**
* <pre>
* CmdId: 369
* Obf: IBMDDFGACLA
* CmdId: 4320
* Obf: PPAHLMFGPPN
* </pre>
*
* Protobuf type {@code DelTeamEntityNotify}
@@ -93,12 +93,7 @@ public final class DelTeamEntityNotifyOuterClass {
case 0:
done = true;
break;
case 32: {
sceneId_ = input.readUInt32();
break;
}
case 104: {
case 56: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
delEntityIdList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -106,7 +101,7 @@ public final class DelTeamEntityNotifyOuterClass {
delEntityIdList_.addInt(input.readUInt32());
break;
}
case 106: {
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -119,6 +114,11 @@ public final class DelTeamEntityNotifyOuterClass {
input.popLimit(limit);
break;
}
case 120: {
sceneId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -154,10 +154,10 @@ public final class DelTeamEntityNotifyOuterClass {
emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify.class, emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify.Builder.class);
}
public static final int DEL_ENTITY_ID_LIST_FIELD_NUMBER = 13;
public static final int DEL_ENTITY_ID_LIST_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.IntList delEntityIdList_;
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return A list containing the delEntityIdList.
*/
@java.lang.Override
@@ -166,14 +166,14 @@ public final class DelTeamEntityNotifyOuterClass {
return delEntityIdList_;
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return The count of delEntityIdList.
*/
public int getDelEntityIdListCount() {
return delEntityIdList_.size();
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @param index The index of the element to return.
* @return The delEntityIdList at the given index.
*/
@@ -182,10 +182,10 @@ public final class DelTeamEntityNotifyOuterClass {
}
private int delEntityIdListMemoizedSerializedSize = -1;
public static final int SCENE_ID_FIELD_NUMBER = 4;
public static final int SCENE_ID_FIELD_NUMBER = 15;
private int sceneId_;
/**
* <code>uint32 scene_id = 4;</code>
* <code>uint32 scene_id = 15;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -208,16 +208,16 @@ public final class DelTeamEntityNotifyOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (sceneId_ != 0) {
output.writeUInt32(4, sceneId_);
}
if (getDelEntityIdListList().size() > 0) {
output.writeUInt32NoTag(106);
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(delEntityIdListMemoizedSerializedSize);
}
for (int i = 0; i < delEntityIdList_.size(); i++) {
output.writeUInt32NoTag(delEntityIdList_.getInt(i));
}
if (sceneId_ != 0) {
output.writeUInt32(15, sceneId_);
}
unknownFields.writeTo(output);
}
@@ -227,10 +227,6 @@ public final class DelTeamEntityNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, sceneId_);
}
{
int dataSize = 0;
for (int i = 0; i < delEntityIdList_.size(); i++) {
@@ -245,6 +241,10 @@ public final class DelTeamEntityNotifyOuterClass {
}
delEntityIdListMemoizedSerializedSize = dataSize;
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, sceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -378,8 +378,8 @@ public final class DelTeamEntityNotifyOuterClass {
}
/**
* <pre>
* CmdId: 369
* Obf: IBMDDFGACLA
* CmdId: 4320
* Obf: PPAHLMFGPPN
* </pre>
*
* Protobuf type {@code DelTeamEntityNotify}
@@ -555,7 +555,7 @@ public final class DelTeamEntityNotifyOuterClass {
}
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return A list containing the delEntityIdList.
*/
public java.util.List<java.lang.Integer>
@@ -564,14 +564,14 @@ public final class DelTeamEntityNotifyOuterClass {
java.util.Collections.unmodifiableList(delEntityIdList_) : delEntityIdList_;
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return The count of delEntityIdList.
*/
public int getDelEntityIdListCount() {
return delEntityIdList_.size();
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @param index The index of the element to return.
* @return The delEntityIdList at the given index.
*/
@@ -579,7 +579,7 @@ public final class DelTeamEntityNotifyOuterClass {
return delEntityIdList_.getInt(index);
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @param index The index to set the value at.
* @param value The delEntityIdList to set.
* @return This builder for chaining.
@@ -592,7 +592,7 @@ public final class DelTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @param value The delEntityIdList to add.
* @return This builder for chaining.
*/
@@ -603,7 +603,7 @@ public final class DelTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @param values The delEntityIdList to add.
* @return This builder for chaining.
*/
@@ -616,7 +616,7 @@ public final class DelTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated uint32 del_entity_id_list = 13;</code>
* <code>repeated uint32 del_entity_id_list = 7;</code>
* @return This builder for chaining.
*/
public Builder clearDelEntityIdList() {
@@ -628,7 +628,7 @@ public final class DelTeamEntityNotifyOuterClass {
private int sceneId_ ;
/**
* <code>uint32 scene_id = 4;</code>
* <code>uint32 scene_id = 15;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -636,7 +636,7 @@ public final class DelTeamEntityNotifyOuterClass {
return sceneId_;
}
/**
* <code>uint32 scene_id = 4;</code>
* <code>uint32 scene_id = 15;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
@@ -647,7 +647,7 @@ public final class DelTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>uint32 scene_id = 4;</code>
* <code>uint32 scene_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
@@ -724,8 +724,8 @@ public final class DelTeamEntityNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\031DelTeamEntityNotify.proto\"C\n\023DelTeamEn" +
"tityNotify\022\032\n\022del_entity_id_list\030\r \003(\r\022\020" +
"\n\010scene_id\030\004 \001(\rB\033\n\031emu.grasscutter.net." +
"tityNotify\022\032\n\022del_entity_id_list\030\007 \003(\r\022\020" +
"\n\010scene_id\030\017 \001(\rB\033\n\031emu.grasscutter.net." +
"protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor