mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 13:49:59 +08:00
Update 3.0 protos
This commit is contained in:
committed by
Luke H-W
Unverified
parent
5db73d2849
commit
d575d1ccea
+65
-63
@@ -18,23 +18,24 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
// @@protoc_insertion_point(interface_extends:SetBattlePassViewedRsp)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
* @return The scheduleId.
|
||||
*/
|
||||
int getScheduleId();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2642
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetBattlePassViewedRsp}
|
||||
@@ -123,17 +124,6 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp.class, emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 3;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int SCHEDULE_ID_FIELD_NUMBER = 2;
|
||||
private int scheduleId_;
|
||||
/**
|
||||
@@ -145,6 +135,17 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return scheduleId_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 3;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -197,10 +198,10 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp other = (emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp) obj;
|
||||
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (getScheduleId()
|
||||
!= other.getScheduleId()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -212,10 +213,10 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (37 * hash) + SCHEDULE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getScheduleId();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -315,7 +316,8 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
* <pre>
|
||||
* CmdId: 2642
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SetBattlePassViewedRsp}
|
||||
@@ -355,10 +357,10 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
retcode_ = 0;
|
||||
|
||||
scheduleId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -385,8 +387,8 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp result = new emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp(this);
|
||||
result.retcode_ = retcode_;
|
||||
result.scheduleId_ = scheduleId_;
|
||||
result.retcode_ = retcode_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -435,12 +437,12 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.SetBattlePassViewedRspOuterClass.SetBattlePassViewedRsp.getDefaultInstance()) return this;
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (other.getScheduleId() != 0) {
|
||||
setScheduleId(other.getScheduleId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -470,37 +472,6 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int scheduleId_ ;
|
||||
/**
|
||||
* <code>uint32 schedule_id = 2;</code>
|
||||
@@ -531,6 +502,37 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -599,8 +601,8 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034SetBattlePassViewedRsp.proto\">\n\026SetBat" +
|
||||
"tlePassViewedRsp\022\017\n\007retcode\030\003 \001(\005\022\023\n\013sch" +
|
||||
"edule_id\030\002 \001(\rB\033\n\031emu.grasscutter.net.pr" +
|
||||
"tlePassViewedRsp\022\023\n\013schedule_id\030\002 \001(\r\022\017\n" +
|
||||
"\007retcode\030\003 \001(\005B\033\n\031emu.grasscutter.net.pr" +
|
||||
"otob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -612,7 +614,7 @@ public final class SetBattlePassViewedRspOuterClass {
|
||||
internal_static_SetBattlePassViewedRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SetBattlePassViewedRsp_descriptor,
|
||||
new java.lang.String[] { "Retcode", "ScheduleId", });
|
||||
new java.lang.String[] { "ScheduleId", "Retcode", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user