mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:53:34 +08:00
Add new protocol definitions
This commit is contained in:
@@ -24,12 +24,6 @@ public final class PropValueOuterClass {
|
||||
*/
|
||||
int getType();
|
||||
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return The val.
|
||||
*/
|
||||
long getVal();
|
||||
|
||||
/**
|
||||
* <code>int64 ival = 2;</code>
|
||||
* @return Whether the ival field is set.
|
||||
@@ -52,11 +46,17 @@ public final class PropValueOuterClass {
|
||||
*/
|
||||
float getFval();
|
||||
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return The val.
|
||||
*/
|
||||
long getVal();
|
||||
|
||||
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue.ValueCase getValueCase();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: PFAKCFKJKIC
|
||||
* Obf: CCOIIHFAKMA
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PropValue}
|
||||
@@ -207,17 +207,6 @@ public final class PropValueOuterClass {
|
||||
return type_;
|
||||
}
|
||||
|
||||
public static final int VAL_FIELD_NUMBER = 4;
|
||||
private long val_;
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return The val.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getVal() {
|
||||
return val_;
|
||||
}
|
||||
|
||||
public static final int IVAL_FIELD_NUMBER = 2;
|
||||
/**
|
||||
* <code>int64 ival = 2;</code>
|
||||
@@ -260,6 +249,17 @@ public final class PropValueOuterClass {
|
||||
return 0F;
|
||||
}
|
||||
|
||||
public static final int VAL_FIELD_NUMBER = 4;
|
||||
private long val_;
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return The val.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getVal() {
|
||||
return val_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -475,7 +475,7 @@ public final class PropValueOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: PFAKCFKJKIC
|
||||
* Obf: CCOIIHFAKMA
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PropValue}
|
||||
@@ -548,13 +548,13 @@ public final class PropValueOuterClass {
|
||||
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue buildPartial() {
|
||||
emu.grasscutter.net.proto.PropValueOuterClass.PropValue result = new emu.grasscutter.net.proto.PropValueOuterClass.PropValue(this);
|
||||
result.type_ = type_;
|
||||
result.val_ = val_;
|
||||
if (valueCase_ == 2) {
|
||||
result.value_ = value_;
|
||||
}
|
||||
if (valueCase_ == 3) {
|
||||
result.value_ = value_;
|
||||
}
|
||||
result.val_ = val_;
|
||||
result.valueCase_ = valueCase_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -698,37 +698,6 @@ public final class PropValueOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private long val_ ;
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return The val.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getVal() {
|
||||
return val_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @param value The val to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setVal(long value) {
|
||||
|
||||
val_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearVal() {
|
||||
|
||||
val_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>int64 ival = 2;</code>
|
||||
* @return Whether the ival field is set.
|
||||
@@ -810,6 +779,37 @@ public final class PropValueOuterClass {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private long val_ ;
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return The val.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getVal() {
|
||||
return val_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @param value The val to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setVal(long value) {
|
||||
|
||||
val_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 val = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearVal() {
|
||||
|
||||
val_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -878,8 +878,8 @@ public final class PropValueOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\017PropValue.proto\"O\n\tPropValue\022\014\n\004type\030\001" +
|
||||
" \001(\r\022\013\n\003val\030\004 \001(\003\022\016\n\004ival\030\002 \001(\003H\000\022\016\n\004fva" +
|
||||
"l\030\003 \001(\002H\000B\007\n\005valueB\033\n\031emu.grasscutter.ne" +
|
||||
" \001(\r\022\016\n\004ival\030\002 \001(\003H\000\022\016\n\004fval\030\003 \001(\002H\000\022\013\n\003" +
|
||||
"val\030\004 \001(\003B\007\n\005valueB\033\n\031emu.grasscutter.ne" +
|
||||
"t.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -891,7 +891,7 @@ public final class PropValueOuterClass {
|
||||
internal_static_PropValue_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_PropValue_descriptor,
|
||||
new java.lang.String[] { "Type", "Val", "Ival", "Fval", "Value", });
|
||||
new java.lang.String[] { "Type", "Ival", "Fval", "Val", "Value", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user