mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-06-19 22:15:02 +08:00
* Fix Dvalin battle See https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/25. This is entirely untested and there's a 99% chance it's broken, I'm just submitting it as a draft PR so that I don't forget about its existence. Co-Authored-By: mjolsic <21289772+mjolsic@users.noreply.github.com> * Update protos * 3.4 protos * Fix Now builds successfully, don't have the time to check if I should have specified true instead of false for withChildQuests, or if this functions as intended. * Change from false to true Per what smileoflove has been told on Discord * 3.5 * Remove the Dvalin crap from this PR Git is so confusing * Update version * Apply README changes from `origin/development` * Remove unnecessary debugging information --------- Co-authored-by: mjolsic <21289772+mjolsic@users.noreply.github.com> Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
1174 lines
42 KiB
Java
1174 lines
42 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AvatarEquipChangeNotify.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class AvatarEquipChangeNotifyOuterClass {
|
|
private AvatarEquipChangeNotifyOuterClass() {}
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|
}
|
|
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
registerAllExtensions(
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
}
|
|
public interface AvatarEquipChangeNotifyOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:AvatarEquipChangeNotify)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 equip_type = 5;</code>
|
|
* @return The equipType.
|
|
*/
|
|
int getEquipType();
|
|
|
|
/**
|
|
* <code>uint64 avatar_guid = 3;</code>
|
|
* @return The avatarGuid.
|
|
*/
|
|
long getAvatarGuid();
|
|
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
* @return Whether the reliquary field is set.
|
|
*/
|
|
boolean hasReliquary();
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
* @return The reliquary.
|
|
*/
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo getReliquary();
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder getReliquaryOrBuilder();
|
|
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
* @return Whether the weapon field is set.
|
|
*/
|
|
boolean hasWeapon();
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
* @return The weapon.
|
|
*/
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeapon();
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponOrBuilder();
|
|
|
|
/**
|
|
* <code>uint64 equip_guid = 2;</code>
|
|
* @return The equipGuid.
|
|
*/
|
|
long getEquipGuid();
|
|
|
|
/**
|
|
* <code>uint32 item_id = 9;</code>
|
|
* @return The itemId.
|
|
*/
|
|
int getItemId();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Name: IKNNNIGIPLE
|
|
* CmdId: 661
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code AvatarEquipChangeNotify}
|
|
*/
|
|
public static final class AvatarEquipChangeNotify extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:AvatarEquipChangeNotify)
|
|
AvatarEquipChangeNotifyOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use AvatarEquipChangeNotify.newBuilder() to construct.
|
|
private AvatarEquipChangeNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private AvatarEquipChangeNotify() {
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new AvatarEquipChangeNotify();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private AvatarEquipChangeNotify(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 16: {
|
|
|
|
equipGuid_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 24: {
|
|
|
|
avatarGuid_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 40: {
|
|
|
|
equipType_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder subBuilder = null;
|
|
if (reliquary_ != null) {
|
|
subBuilder = reliquary_.toBuilder();
|
|
}
|
|
reliquary_ = input.readMessage(emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(reliquary_);
|
|
reliquary_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 72: {
|
|
|
|
itemId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder subBuilder = null;
|
|
if (weapon_ != null) {
|
|
subBuilder = weapon_.toBuilder();
|
|
}
|
|
weapon_ = input.readMessage(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(weapon_);
|
|
weapon_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.class, emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.Builder.class);
|
|
}
|
|
|
|
public static final int EQUIP_TYPE_FIELD_NUMBER = 5;
|
|
private int equipType_;
|
|
/**
|
|
* <code>uint32 equip_type = 5;</code>
|
|
* @return The equipType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getEquipType() {
|
|
return equipType_;
|
|
}
|
|
|
|
public static final int AVATAR_GUID_FIELD_NUMBER = 3;
|
|
private long avatarGuid_;
|
|
/**
|
|
* <code>uint64 avatar_guid = 3;</code>
|
|
* @return The avatarGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getAvatarGuid() {
|
|
return avatarGuid_;
|
|
}
|
|
|
|
public static final int RELIQUARY_FIELD_NUMBER = 6;
|
|
private emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo reliquary_;
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
* @return Whether the reliquary field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasReliquary() {
|
|
return reliquary_ != null;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
* @return The reliquary.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo getReliquary() {
|
|
return reliquary_ == null ? emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.getDefaultInstance() : reliquary_;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder getReliquaryOrBuilder() {
|
|
return getReliquary();
|
|
}
|
|
|
|
public static final int WEAPON_FIELD_NUMBER = 12;
|
|
private emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo weapon_;
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
* @return Whether the weapon field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasWeapon() {
|
|
return weapon_ != null;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
* @return The weapon.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeapon() {
|
|
return weapon_ == null ? emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weapon_;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponOrBuilder() {
|
|
return getWeapon();
|
|
}
|
|
|
|
public static final int EQUIP_GUID_FIELD_NUMBER = 2;
|
|
private long equipGuid_;
|
|
/**
|
|
* <code>uint64 equip_guid = 2;</code>
|
|
* @return The equipGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getEquipGuid() {
|
|
return equipGuid_;
|
|
}
|
|
|
|
public static final int ITEM_ID_FIELD_NUMBER = 9;
|
|
private int itemId_;
|
|
/**
|
|
* <code>uint32 item_id = 9;</code>
|
|
* @return The itemId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getItemId() {
|
|
return itemId_;
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
if (equipGuid_ != 0L) {
|
|
output.writeUInt64(2, equipGuid_);
|
|
}
|
|
if (avatarGuid_ != 0L) {
|
|
output.writeUInt64(3, avatarGuid_);
|
|
}
|
|
if (equipType_ != 0) {
|
|
output.writeUInt32(5, equipType_);
|
|
}
|
|
if (reliquary_ != null) {
|
|
output.writeMessage(6, getReliquary());
|
|
}
|
|
if (itemId_ != 0) {
|
|
output.writeUInt32(9, itemId_);
|
|
}
|
|
if (weapon_ != null) {
|
|
output.writeMessage(12, getWeapon());
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (equipGuid_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(2, equipGuid_);
|
|
}
|
|
if (avatarGuid_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(3, avatarGuid_);
|
|
}
|
|
if (equipType_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(5, equipType_);
|
|
}
|
|
if (reliquary_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(6, getReliquary());
|
|
}
|
|
if (itemId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(9, itemId_);
|
|
}
|
|
if (weapon_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(12, getWeapon());
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify other = (emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify) obj;
|
|
|
|
if (getEquipType()
|
|
!= other.getEquipType()) return false;
|
|
if (getAvatarGuid()
|
|
!= other.getAvatarGuid()) return false;
|
|
if (hasReliquary() != other.hasReliquary()) return false;
|
|
if (hasReliquary()) {
|
|
if (!getReliquary()
|
|
.equals(other.getReliquary())) return false;
|
|
}
|
|
if (hasWeapon() != other.hasWeapon()) return false;
|
|
if (hasWeapon()) {
|
|
if (!getWeapon()
|
|
.equals(other.getWeapon())) return false;
|
|
}
|
|
if (getEquipGuid()
|
|
!= other.getEquipGuid()) return false;
|
|
if (getItemId()
|
|
!= other.getItemId()) return false;
|
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
hash = (37 * hash) + EQUIP_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getEquipType();
|
|
hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getAvatarGuid());
|
|
if (hasReliquary()) {
|
|
hash = (37 * hash) + RELIQUARY_FIELD_NUMBER;
|
|
hash = (53 * hash) + getReliquary().hashCode();
|
|
}
|
|
if (hasWeapon()) {
|
|
hash = (37 * hash) + WEAPON_FIELD_NUMBER;
|
|
hash = (53 * hash) + getWeapon().hashCode();
|
|
}
|
|
hash = (37 * hash) + EQUIP_GUID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getEquipGuid());
|
|
hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getItemId();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Name: IKNNNIGIPLE
|
|
* CmdId: 661
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code AvatarEquipChangeNotify}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:AvatarEquipChangeNotify)
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotifyOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.class, emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
equipType_ = 0;
|
|
|
|
avatarGuid_ = 0L;
|
|
|
|
if (reliquaryBuilder_ == null) {
|
|
reliquary_ = null;
|
|
} else {
|
|
reliquary_ = null;
|
|
reliquaryBuilder_ = null;
|
|
}
|
|
if (weaponBuilder_ == null) {
|
|
weapon_ = null;
|
|
} else {
|
|
weapon_ = null;
|
|
weaponBuilder_ = null;
|
|
}
|
|
equipGuid_ = 0L;
|
|
|
|
itemId_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.internal_static_AvatarEquipChangeNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify build() {
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify buildPartial() {
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify result = new emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify(this);
|
|
result.equipType_ = equipType_;
|
|
result.avatarGuid_ = avatarGuid_;
|
|
if (reliquaryBuilder_ == null) {
|
|
result.reliquary_ = reliquary_;
|
|
} else {
|
|
result.reliquary_ = reliquaryBuilder_.build();
|
|
}
|
|
if (weaponBuilder_ == null) {
|
|
result.weapon_ = weapon_;
|
|
} else {
|
|
result.weapon_ = weaponBuilder_.build();
|
|
}
|
|
result.equipGuid_ = equipGuid_;
|
|
result.itemId_ = itemId_;
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clone() {
|
|
return super.clone();
|
|
}
|
|
@java.lang.Override
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.setField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return super.clearField(field);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return super.clearOneof(oneof);
|
|
}
|
|
@java.lang.Override
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return super.setRepeatedField(field, index, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.addRepeatedField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify) {
|
|
return mergeFrom((emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify other) {
|
|
if (other == emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify.getDefaultInstance()) return this;
|
|
if (other.getEquipType() != 0) {
|
|
setEquipType(other.getEquipType());
|
|
}
|
|
if (other.getAvatarGuid() != 0L) {
|
|
setAvatarGuid(other.getAvatarGuid());
|
|
}
|
|
if (other.hasReliquary()) {
|
|
mergeReliquary(other.getReliquary());
|
|
}
|
|
if (other.hasWeapon()) {
|
|
mergeWeapon(other.getWeapon());
|
|
}
|
|
if (other.getEquipGuid() != 0L) {
|
|
setEquipGuid(other.getEquipGuid());
|
|
}
|
|
if (other.getItemId() != 0) {
|
|
setItemId(other.getItemId());
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder mergeFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private int equipType_ ;
|
|
/**
|
|
* <code>uint32 equip_type = 5;</code>
|
|
* @return The equipType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getEquipType() {
|
|
return equipType_;
|
|
}
|
|
/**
|
|
* <code>uint32 equip_type = 5;</code>
|
|
* @param value The equipType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setEquipType(int value) {
|
|
|
|
equipType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 equip_type = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearEquipType() {
|
|
|
|
equipType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long avatarGuid_ ;
|
|
/**
|
|
* <code>uint64 avatar_guid = 3;</code>
|
|
* @return The avatarGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getAvatarGuid() {
|
|
return avatarGuid_;
|
|
}
|
|
/**
|
|
* <code>uint64 avatar_guid = 3;</code>
|
|
* @param value The avatarGuid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAvatarGuid(long value) {
|
|
|
|
avatarGuid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 avatar_guid = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAvatarGuid() {
|
|
|
|
avatarGuid_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo reliquary_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder> reliquaryBuilder_;
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
* @return Whether the reliquary field is set.
|
|
*/
|
|
public boolean hasReliquary() {
|
|
return reliquaryBuilder_ != null || reliquary_ != null;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
* @return The reliquary.
|
|
*/
|
|
public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo getReliquary() {
|
|
if (reliquaryBuilder_ == null) {
|
|
return reliquary_ == null ? emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.getDefaultInstance() : reliquary_;
|
|
} else {
|
|
return reliquaryBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
public Builder setReliquary(emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo value) {
|
|
if (reliquaryBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
reliquary_ = value;
|
|
onChanged();
|
|
} else {
|
|
reliquaryBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
public Builder setReliquary(
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder builderForValue) {
|
|
if (reliquaryBuilder_ == null) {
|
|
reliquary_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
reliquaryBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
public Builder mergeReliquary(emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo value) {
|
|
if (reliquaryBuilder_ == null) {
|
|
if (reliquary_ != null) {
|
|
reliquary_ =
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.newBuilder(reliquary_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
reliquary_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
reliquaryBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
public Builder clearReliquary() {
|
|
if (reliquaryBuilder_ == null) {
|
|
reliquary_ = null;
|
|
onChanged();
|
|
} else {
|
|
reliquary_ = null;
|
|
reliquaryBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder getReliquaryBuilder() {
|
|
|
|
onChanged();
|
|
return getReliquaryFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder getReliquaryOrBuilder() {
|
|
if (reliquaryBuilder_ != null) {
|
|
return reliquaryBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return reliquary_ == null ?
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.getDefaultInstance() : reliquary_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.SceneReliquaryInfo reliquary = 6;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder>
|
|
getReliquaryFieldBuilder() {
|
|
if (reliquaryBuilder_ == null) {
|
|
reliquaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfo.Builder, emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.SceneReliquaryInfoOrBuilder>(
|
|
getReliquary(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
reliquary_ = null;
|
|
}
|
|
return reliquaryBuilder_;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo weapon_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder> weaponBuilder_;
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
* @return Whether the weapon field is set.
|
|
*/
|
|
public boolean hasWeapon() {
|
|
return weaponBuilder_ != null || weapon_ != null;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
* @return The weapon.
|
|
*/
|
|
public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeapon() {
|
|
if (weaponBuilder_ == null) {
|
|
return weapon_ == null ? emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weapon_;
|
|
} else {
|
|
return weaponBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
public Builder setWeapon(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo value) {
|
|
if (weaponBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
weapon_ = value;
|
|
onChanged();
|
|
} else {
|
|
weaponBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
public Builder setWeapon(
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder builderForValue) {
|
|
if (weaponBuilder_ == null) {
|
|
weapon_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
weaponBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
public Builder mergeWeapon(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo value) {
|
|
if (weaponBuilder_ == null) {
|
|
if (weapon_ != null) {
|
|
weapon_ =
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.newBuilder(weapon_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
weapon_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
weaponBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
public Builder clearWeapon() {
|
|
if (weaponBuilder_ == null) {
|
|
weapon_ = null;
|
|
onChanged();
|
|
} else {
|
|
weapon_ = null;
|
|
weaponBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder getWeaponBuilder() {
|
|
|
|
onChanged();
|
|
return getWeaponFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponOrBuilder() {
|
|
if (weaponBuilder_ != null) {
|
|
return weaponBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return weapon_ == null ?
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weapon_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.SceneWeaponInfo weapon = 12;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder>
|
|
getWeaponFieldBuilder() {
|
|
if (weaponBuilder_ == null) {
|
|
weaponBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder>(
|
|
getWeapon(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
weapon_ = null;
|
|
}
|
|
return weaponBuilder_;
|
|
}
|
|
|
|
private long equipGuid_ ;
|
|
/**
|
|
* <code>uint64 equip_guid = 2;</code>
|
|
* @return The equipGuid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getEquipGuid() {
|
|
return equipGuid_;
|
|
}
|
|
/**
|
|
* <code>uint64 equip_guid = 2;</code>
|
|
* @param value The equipGuid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setEquipGuid(long value) {
|
|
|
|
equipGuid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 equip_guid = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearEquipGuid() {
|
|
|
|
equipGuid_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int itemId_ ;
|
|
/**
|
|
* <code>uint32 item_id = 9;</code>
|
|
* @return The itemId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getItemId() {
|
|
return itemId_;
|
|
}
|
|
/**
|
|
* <code>uint32 item_id = 9;</code>
|
|
* @param value The itemId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setItemId(int value) {
|
|
|
|
itemId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 item_id = 9;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearItemId() {
|
|
|
|
itemId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
@java.lang.Override
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFields(unknownFields);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:AvatarEquipChangeNotify)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:AvatarEquipChangeNotify)
|
|
private static final emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<AvatarEquipChangeNotify>
|
|
PARSER = new com.google.protobuf.AbstractParser<AvatarEquipChangeNotify>() {
|
|
@java.lang.Override
|
|
public AvatarEquipChangeNotify parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new AvatarEquipChangeNotify(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<AvatarEquipChangeNotify> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<AvatarEquipChangeNotify> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarEquipChangeNotifyOuterClass.AvatarEquipChangeNotify getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarEquipChangeNotify_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarEquipChangeNotify_fieldAccessorTable;
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
getDescriptor() {
|
|
return descriptor;
|
|
}
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
descriptor;
|
|
static {
|
|
java.lang.String[] descriptorData = {
|
|
"\n\035AvatarEquipChangeNotify.proto\032\030SceneRe" +
|
|
"liquaryInfo.proto\032\025SceneWeaponInfo.proto" +
|
|
"\"\261\001\n\027AvatarEquipChangeNotify\022\022\n\nequip_ty" +
|
|
"pe\030\005 \001(\r\022\023\n\013avatar_guid\030\003 \001(\004\022&\n\treliqua" +
|
|
"ry\030\006 \001(\0132\023.SceneReliquaryInfo\022 \n\006weapon\030" +
|
|
"\014 \001(\0132\020.SceneWeaponInfo\022\022\n\nequip_guid\030\002 " +
|
|
"\001(\004\022\017\n\007item_id\030\t \001(\rB\033\n\031emu.grasscutter." +
|
|
"net.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_AvatarEquipChangeNotify_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_AvatarEquipChangeNotify_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarEquipChangeNotify_descriptor,
|
|
new java.lang.String[] { "EquipType", "AvatarGuid", "Reliquary", "Weapon", "EquipGuid", "ItemId", });
|
|
emu.grasscutter.net.proto.SceneReliquaryInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|