mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 13:22:52 +08:00
update gc 3.4 (#2041)
* update 3.4 * update3.4 * update 3.4 * update 3.4 * Add files via upload * Delete SetPropCommand.java * update 3.4 area id * update version * exchange cmdid * exchange cmdid * exchange cmdid * my fault * update AiSyncInfo
This commit is contained in:
committed by
GitHub
Unverified
parent
39b4aa1387
commit
71a1e31d37
@@ -19,38 +19,27 @@ public final class PlayerChatReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 channel_id = 3;</code>
|
||||
* <code>uint32 channelId = 5;</code>
|
||||
* @return The channelId.
|
||||
*/
|
||||
int getChannelId();
|
||||
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
* @return Whether the chatInfo field is set.
|
||||
*/
|
||||
boolean hasChatInfo();
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
* @return The chatInfo.
|
||||
*/
|
||||
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo getChatInfo();
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfoOrBuilder getChatInfoOrBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 3305;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerChatReq}
|
||||
*/
|
||||
public static final class PlayerChatReq extends
|
||||
@@ -95,12 +84,12 @@ public final class PlayerChatReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 24: {
|
||||
case 40: {
|
||||
|
||||
channelId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
case 98: {
|
||||
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo.Builder subBuilder = null;
|
||||
if (chatInfo_ != null) {
|
||||
subBuilder = chatInfo_.toBuilder();
|
||||
@@ -145,10 +134,10 @@ public final class PlayerChatReqOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerChatReqOuterClass.PlayerChatReq.class, emu.grasscutter.net.proto.PlayerChatReqOuterClass.PlayerChatReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CHANNEL_ID_FIELD_NUMBER = 3;
|
||||
public static final int CHANNELID_FIELD_NUMBER = 5;
|
||||
private int channelId_;
|
||||
/**
|
||||
* <code>uint32 channel_id = 3;</code>
|
||||
* <code>uint32 channelId = 5;</code>
|
||||
* @return The channelId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -156,10 +145,10 @@ public final class PlayerChatReqOuterClass {
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
public static final int CHAT_INFO_FIELD_NUMBER = 9;
|
||||
public static final int CHATINFO_FIELD_NUMBER = 12;
|
||||
private emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo chatInfo_;
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
* @return Whether the chatInfo field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -167,7 +156,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return chatInfo_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
* @return The chatInfo.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -175,7 +164,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return chatInfo_ == null ? emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo.getDefaultInstance() : chatInfo_;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfoOrBuilder getChatInfoOrBuilder() {
|
||||
@@ -197,10 +186,10 @@ public final class PlayerChatReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (channelId_ != 0) {
|
||||
output.writeUInt32(3, channelId_);
|
||||
output.writeUInt32(5, channelId_);
|
||||
}
|
||||
if (chatInfo_ != null) {
|
||||
output.writeMessage(9, getChatInfo());
|
||||
output.writeMessage(12, getChatInfo());
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -213,11 +202,11 @@ public final class PlayerChatReqOuterClass {
|
||||
size = 0;
|
||||
if (channelId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, channelId_);
|
||||
.computeUInt32Size(5, channelId_);
|
||||
}
|
||||
if (chatInfo_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(9, getChatInfo());
|
||||
.computeMessageSize(12, getChatInfo());
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -252,10 +241,10 @@ public final class PlayerChatReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CHANNEL_ID_FIELD_NUMBER;
|
||||
hash = (37 * hash) + CHANNELID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChannelId();
|
||||
if (hasChatInfo()) {
|
||||
hash = (37 * hash) + CHAT_INFO_FIELD_NUMBER;
|
||||
hash = (37 * hash) + CHATINFO_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChatInfo().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -354,17 +343,6 @@ public final class PlayerChatReqOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 3305;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerChatReq}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -527,7 +505,7 @@ public final class PlayerChatReqOuterClass {
|
||||
|
||||
private int channelId_ ;
|
||||
/**
|
||||
* <code>uint32 channel_id = 3;</code>
|
||||
* <code>uint32 channelId = 5;</code>
|
||||
* @return The channelId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -535,7 +513,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return channelId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 channel_id = 3;</code>
|
||||
* <code>uint32 channelId = 5;</code>
|
||||
* @param value The channelId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -546,7 +524,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 channel_id = 3;</code>
|
||||
* <code>uint32 channelId = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearChannelId() {
|
||||
@@ -560,14 +538,14 @@ public final class PlayerChatReqOuterClass {
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo, emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo.Builder, emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfoOrBuilder> chatInfoBuilder_;
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
* @return Whether the chatInfo field is set.
|
||||
*/
|
||||
public boolean hasChatInfo() {
|
||||
return chatInfoBuilder_ != null || chatInfo_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
* @return The chatInfo.
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo getChatInfo() {
|
||||
@@ -578,7 +556,7 @@ public final class PlayerChatReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
public Builder setChatInfo(emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo value) {
|
||||
if (chatInfoBuilder_ == null) {
|
||||
@@ -594,7 +572,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
public Builder setChatInfo(
|
||||
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo.Builder builderForValue) {
|
||||
@@ -608,7 +586,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
public Builder mergeChatInfo(emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo value) {
|
||||
if (chatInfoBuilder_ == null) {
|
||||
@@ -626,7 +604,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
public Builder clearChatInfo() {
|
||||
if (chatInfoBuilder_ == null) {
|
||||
@@ -640,7 +618,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo.Builder getChatInfoBuilder() {
|
||||
|
||||
@@ -648,7 +626,7 @@ public final class PlayerChatReqOuterClass {
|
||||
return getChatInfoFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfoOrBuilder getChatInfoOrBuilder() {
|
||||
if (chatInfoBuilder_ != null) {
|
||||
@@ -659,7 +637,7 @@ public final class PlayerChatReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.ChatInfo chat_info = 9;</code>
|
||||
* <code>.ChatInfo chatInfo = 12;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo, emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo.Builder, emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfoOrBuilder>
|
||||
@@ -741,10 +719,10 @@ public final class PlayerChatReqOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023PlayerChatReq.proto\032\016ChatInfo.proto\"A\n" +
|
||||
"\rPlayerChatReq\022\022\n\nchannel_id\030\003 \001(\r\022\034\n\tch" +
|
||||
"at_info\030\t \001(\0132\t.ChatInfoB\033\n\031emu.grasscut" +
|
||||
"ter.net.protob\006proto3"
|
||||
"\n\023PlayerChatReq.proto\032\016ChatInfo.proto\"?\n" +
|
||||
"\rPlayerChatReq\022\021\n\tchannelId\030\005 \001(\r\022\033\n\010cha" +
|
||||
"tInfo\030\014 \001(\0132\t.ChatInfoB\033\n\031emu.grasscutte" +
|
||||
"r.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
||||
Reference in New Issue
Block a user