mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 12:14:17 +08:00
06cbae31fa
line seps r weird
1622 lines
65 KiB
Java
1622 lines
65 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DungeonPlayerDieNotify.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class DungeonPlayerDieNotifyOuterClass {
|
|
private DungeonPlayerDieNotifyOuterClass() {}
|
|
|
|
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 DungeonPlayerDieNotifyOrBuilder
|
|
extends
|
|
// @@protoc_insertion_point(interface_extends:DungeonPlayerDieNotify)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 murderer_entity_id = 1;</code>
|
|
*
|
|
* @return The murdererEntityId.
|
|
*/
|
|
int getMurdererEntityId();
|
|
|
|
/**
|
|
* <code>uint32 dungeon_id = 2;</code>
|
|
*
|
|
* @return The dungeonId.
|
|
*/
|
|
int getDungeonId();
|
|
|
|
/**
|
|
* <code>uint32 wait_time = 11;</code>
|
|
*
|
|
* @return The waitTime.
|
|
*/
|
|
int getWaitTime();
|
|
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
int getStrengthenPointDataMapCount();
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
boolean containsStrengthenPointDataMap(int key);
|
|
/** Use {@link #getStrengthenPointDataMapMap()} instead. */
|
|
@java.lang.Deprecated
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getStrengthenPointDataMap();
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getStrengthenPointDataMapMap();
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
getStrengthenPointDataMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
defaultValue);
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
getStrengthenPointDataMapOrThrow(int key);
|
|
|
|
/**
|
|
* <code>uint32 revive_count = 5;</code>
|
|
*
|
|
* @return The reviveCount.
|
|
*/
|
|
int getReviveCount();
|
|
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return The enum numeric value on the wire for dieType.
|
|
*/
|
|
int getDieTypeValue();
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return The dieType.
|
|
*/
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType getDieType();
|
|
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return Whether the monsterId field is set.
|
|
*/
|
|
boolean hasMonsterId();
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return The monsterId.
|
|
*/
|
|
int getMonsterId();
|
|
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return Whether the gadgetId field is set.
|
|
*/
|
|
boolean hasGadgetId();
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return The gadgetId.
|
|
*/
|
|
int getGadgetId();
|
|
|
|
public emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.EntityCase
|
|
getEntityCase();
|
|
}
|
|
/**
|
|
*
|
|
*
|
|
* <pre>
|
|
* Name: EPKICJCBBIF
|
|
* CmdId: 959
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code DungeonPlayerDieNotify}
|
|
*/
|
|
public static final class DungeonPlayerDieNotify extends com.google.protobuf.GeneratedMessageV3
|
|
implements
|
|
// @@protoc_insertion_point(message_implements:DungeonPlayerDieNotify)
|
|
DungeonPlayerDieNotifyOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use DungeonPlayerDieNotify.newBuilder() to construct.
|
|
private DungeonPlayerDieNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
|
|
private DungeonPlayerDieNotify() {
|
|
dieType_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
|
|
return new DungeonPlayerDieNotify();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
|
|
private DungeonPlayerDieNotify(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
int mutable_bitField0_ = 0;
|
|
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 8:
|
|
{
|
|
murdererEntityId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 16:
|
|
{
|
|
dungeonId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 32:
|
|
{
|
|
entityCase_ = 4;
|
|
entity_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 40:
|
|
{
|
|
reviveCount_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 48:
|
|
{
|
|
int rawValue = input.readEnum();
|
|
|
|
dieType_ = rawValue;
|
|
break;
|
|
}
|
|
case 56:
|
|
{
|
|
entityCase_ = 7;
|
|
entity_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 88:
|
|
{
|
|
waitTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 122:
|
|
{
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
strengthenPointDataMap_ =
|
|
com.google.protobuf.MapField.newMapField(
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
com.google.protobuf.MapEntry<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
strengthenPointDataMap__ =
|
|
input.readMessage(
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry
|
|
.getParserForType(),
|
|
extensionRegistry);
|
|
strengthenPointDataMap_
|
|
.getMutableMap()
|
|
.put(strengthenPointDataMap__.getKey(), strengthenPointDataMap__.getValue());
|
|
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.DungeonPlayerDieNotifyOuterClass
|
|
.internal_static_DungeonPlayerDieNotify_descriptor;
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
@java.lang.Override
|
|
protected com.google.protobuf.MapField internalGetMapField(int number) {
|
|
switch (number) {
|
|
case 15:
|
|
return internalGetStrengthenPointDataMap();
|
|
default:
|
|
throw new RuntimeException("Invalid map field number: " + number);
|
|
}
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass
|
|
.internal_static_DungeonPlayerDieNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.class,
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.Builder.class);
|
|
}
|
|
|
|
private int entityCase_ = 0;
|
|
private java.lang.Object entity_;
|
|
|
|
public enum EntityCase
|
|
implements
|
|
com.google.protobuf.Internal.EnumLite,
|
|
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
|
|
MONSTER_ID(4),
|
|
GADGET_ID(7),
|
|
ENTITY_NOT_SET(0);
|
|
private final int value;
|
|
|
|
private EntityCase(int value) {
|
|
this.value = value;
|
|
}
|
|
/**
|
|
* @param value The number of the enum to look for.
|
|
* @return The enum associated with the given number.
|
|
* @deprecated Use {@link #forNumber(int)} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public static EntityCase valueOf(int value) {
|
|
return forNumber(value);
|
|
}
|
|
|
|
public static EntityCase forNumber(int value) {
|
|
switch (value) {
|
|
case 4:
|
|
return MONSTER_ID;
|
|
case 7:
|
|
return GADGET_ID;
|
|
case 0:
|
|
return ENTITY_NOT_SET;
|
|
default:
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public int getNumber() {
|
|
return this.value;
|
|
}
|
|
};
|
|
|
|
public EntityCase getEntityCase() {
|
|
return EntityCase.forNumber(entityCase_);
|
|
}
|
|
|
|
public static final int MURDERER_ENTITY_ID_FIELD_NUMBER = 1;
|
|
private int murdererEntityId_;
|
|
/**
|
|
* <code>uint32 murderer_entity_id = 1;</code>
|
|
*
|
|
* @return The murdererEntityId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMurdererEntityId() {
|
|
return murdererEntityId_;
|
|
}
|
|
|
|
public static final int DUNGEON_ID_FIELD_NUMBER = 2;
|
|
private int dungeonId_;
|
|
/**
|
|
* <code>uint32 dungeon_id = 2;</code>
|
|
*
|
|
* @return The dungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDungeonId() {
|
|
return dungeonId_;
|
|
}
|
|
|
|
public static final int WAIT_TIME_FIELD_NUMBER = 11;
|
|
private int waitTime_;
|
|
/**
|
|
* <code>uint32 wait_time = 11;</code>
|
|
*
|
|
* @return The waitTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getWaitTime() {
|
|
return waitTime_;
|
|
}
|
|
|
|
public static final int STRENGTHEN_POINT_DATA_MAP_FIELD_NUMBER = 15;
|
|
|
|
private static final class StrengthenPointDataMapDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
newDefaultInstance(
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass
|
|
.internal_static_DungeonPlayerDieNotify_StrengthenPointDataMapEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.MESSAGE,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass
|
|
.StrengthenPointData.getDefaultInstance());
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
strengthenPointDataMap_;
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
internalGetStrengthenPointDataMap() {
|
|
if (strengthenPointDataMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return strengthenPointDataMap_;
|
|
}
|
|
|
|
public int getStrengthenPointDataMapCount() {
|
|
return internalGetStrengthenPointDataMap().getMap().size();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public boolean containsStrengthenPointDataMap(int key) {
|
|
|
|
return internalGetStrengthenPointDataMap().getMap().containsKey(key);
|
|
}
|
|
/** Use {@link #getStrengthenPointDataMapMap()} instead. */
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getStrengthenPointDataMap() {
|
|
return getStrengthenPointDataMapMap();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getStrengthenPointDataMapMap() {
|
|
return internalGetStrengthenPointDataMap().getMap();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
getStrengthenPointDataMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
defaultValue) {
|
|
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
map = internalGetStrengthenPointDataMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
getStrengthenPointDataMapOrThrow(int key) {
|
|
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
map = internalGetStrengthenPointDataMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int REVIVE_COUNT_FIELD_NUMBER = 5;
|
|
private int reviveCount_;
|
|
/**
|
|
* <code>uint32 revive_count = 5;</code>
|
|
*
|
|
* @return The reviveCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getReviveCount() {
|
|
return reviveCount_;
|
|
}
|
|
|
|
public static final int DIE_TYPE_FIELD_NUMBER = 6;
|
|
private int dieType_;
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return The enum numeric value on the wire for dieType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDieTypeValue() {
|
|
return dieType_;
|
|
}
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return The dieType.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType getDieType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType result =
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.valueOf(dieType_);
|
|
return result == null
|
|
? emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.UNRECOGNIZED
|
|
: result;
|
|
}
|
|
|
|
public static final int MONSTER_ID_FIELD_NUMBER = 4;
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return Whether the monsterId field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasMonsterId() {
|
|
return entityCase_ == 4;
|
|
}
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return The monsterId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMonsterId() {
|
|
if (entityCase_ == 4) {
|
|
return (java.lang.Integer) entity_;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public static final int GADGET_ID_FIELD_NUMBER = 7;
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return Whether the gadgetId field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasGadgetId() {
|
|
return entityCase_ == 7;
|
|
}
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return The gadgetId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getGadgetId() {
|
|
if (entityCase_ == 7) {
|
|
return (java.lang.Integer) entity_;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
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 (murdererEntityId_ != 0) {
|
|
output.writeUInt32(1, murdererEntityId_);
|
|
}
|
|
if (dungeonId_ != 0) {
|
|
output.writeUInt32(2, dungeonId_);
|
|
}
|
|
if (entityCase_ == 4) {
|
|
output.writeUInt32(4, (int) ((java.lang.Integer) entity_));
|
|
}
|
|
if (reviveCount_ != 0) {
|
|
output.writeUInt32(5, reviveCount_);
|
|
}
|
|
if (dieType_
|
|
!= emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.PLAYER_DIE_TYPE_NONE
|
|
.getNumber()) {
|
|
output.writeEnum(6, dieType_);
|
|
}
|
|
if (entityCase_ == 7) {
|
|
output.writeUInt32(7, (int) ((java.lang.Integer) entity_));
|
|
}
|
|
if (waitTime_ != 0) {
|
|
output.writeUInt32(11, waitTime_);
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3.serializeIntegerMapTo(
|
|
output,
|
|
internalGetStrengthenPointDataMap(),
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry,
|
|
15);
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (murdererEntityId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(1, murdererEntityId_);
|
|
}
|
|
if (dungeonId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(2, dungeonId_);
|
|
}
|
|
if (entityCase_ == 4) {
|
|
size +=
|
|
com.google.protobuf.CodedOutputStream.computeUInt32Size(
|
|
4, (int) ((java.lang.Integer) entity_));
|
|
}
|
|
if (reviveCount_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, reviveCount_);
|
|
}
|
|
if (dieType_
|
|
!= emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.PLAYER_DIE_TYPE_NONE
|
|
.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, dieType_);
|
|
}
|
|
if (entityCase_ == 7) {
|
|
size +=
|
|
com.google.protobuf.CodedOutputStream.computeUInt32Size(
|
|
7, (int) ((java.lang.Integer) entity_));
|
|
}
|
|
if (waitTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, waitTime_);
|
|
}
|
|
for (java.util.Map.Entry<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
entry : internalGetStrengthenPointDataMap().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
strengthenPointDataMap__ =
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry
|
|
.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size +=
|
|
com.google.protobuf.CodedOutputStream.computeMessageSize(15, strengthenPointDataMap__);
|
|
}
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify other =
|
|
(emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify) obj;
|
|
|
|
if (getMurdererEntityId() != other.getMurdererEntityId()) return false;
|
|
if (getDungeonId() != other.getDungeonId()) return false;
|
|
if (getWaitTime() != other.getWaitTime()) return false;
|
|
if (!internalGetStrengthenPointDataMap().equals(other.internalGetStrengthenPointDataMap()))
|
|
return false;
|
|
if (getReviveCount() != other.getReviveCount()) return false;
|
|
if (dieType_ != other.dieType_) return false;
|
|
if (!getEntityCase().equals(other.getEntityCase())) return false;
|
|
switch (entityCase_) {
|
|
case 4:
|
|
if (getMonsterId() != other.getMonsterId()) return false;
|
|
break;
|
|
case 7:
|
|
if (getGadgetId() != other.getGadgetId()) return false;
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
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) + MURDERER_ENTITY_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getMurdererEntityId();
|
|
hash = (37 * hash) + DUNGEON_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDungeonId();
|
|
hash = (37 * hash) + WAIT_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getWaitTime();
|
|
if (!internalGetStrengthenPointDataMap().getMap().isEmpty()) {
|
|
hash = (37 * hash) + STRENGTHEN_POINT_DATA_MAP_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetStrengthenPointDataMap().hashCode();
|
|
}
|
|
hash = (37 * hash) + REVIVE_COUNT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getReviveCount();
|
|
hash = (37 * hash) + DIE_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + dieType_;
|
|
switch (entityCase_) {
|
|
case 4:
|
|
hash = (37 * hash) + MONSTER_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getMonsterId();
|
|
break;
|
|
case 7:
|
|
hash = (37 * hash) + GADGET_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getGadgetId();
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseFrom(java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseFrom(com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseFrom(java.io.InputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
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: EPKICJCBBIF
|
|
* CmdId: 959
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code DungeonPlayerDieNotify}
|
|
*/
|
|
public static final class Builder
|
|
extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
|
|
implements
|
|
// @@protoc_insertion_point(builder_implements:DungeonPlayerDieNotify)
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotifyOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
|
|
return emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass
|
|
.internal_static_DungeonPlayerDieNotify_descriptor;
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
protected com.google.protobuf.MapField internalGetMapField(int number) {
|
|
switch (number) {
|
|
case 15:
|
|
return internalGetStrengthenPointDataMap();
|
|
default:
|
|
throw new RuntimeException("Invalid map field number: " + number);
|
|
}
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
|
|
switch (number) {
|
|
case 15:
|
|
return internalGetMutableStrengthenPointDataMap();
|
|
default:
|
|
throw new RuntimeException("Invalid map field number: " + number);
|
|
}
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass
|
|
.internal_static_DungeonPlayerDieNotify_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.class,
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.Builder.class);
|
|
}
|
|
|
|
// Construct using
|
|
// emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify.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();
|
|
murdererEntityId_ = 0;
|
|
|
|
dungeonId_ = 0;
|
|
|
|
waitTime_ = 0;
|
|
|
|
internalGetMutableStrengthenPointDataMap().clear();
|
|
reviveCount_ = 0;
|
|
|
|
dieType_ = 0;
|
|
|
|
entityCase_ = 0;
|
|
entity_ = null;
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass
|
|
.internal_static_DungeonPlayerDieNotify_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
build() {
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify result =
|
|
buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
buildPartial() {
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify result =
|
|
new emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify(
|
|
this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.murdererEntityId_ = murdererEntityId_;
|
|
result.dungeonId_ = dungeonId_;
|
|
result.waitTime_ = waitTime_;
|
|
result.strengthenPointDataMap_ = internalGetStrengthenPointDataMap();
|
|
result.strengthenPointDataMap_.makeImmutable();
|
|
result.reviveCount_ = reviveCount_;
|
|
result.dieType_ = dieType_;
|
|
if (entityCase_ == 4) {
|
|
result.entity_ = entity_;
|
|
}
|
|
if (entityCase_ == 7) {
|
|
result.entity_ = entity_;
|
|
}
|
|
result.entityCase_ = entityCase_;
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify) {
|
|
return mergeFrom(
|
|
(emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify)
|
|
other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(
|
|
emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify other) {
|
|
if (other
|
|
== emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
.getDefaultInstance()) return this;
|
|
if (other.getMurdererEntityId() != 0) {
|
|
setMurdererEntityId(other.getMurdererEntityId());
|
|
}
|
|
if (other.getDungeonId() != 0) {
|
|
setDungeonId(other.getDungeonId());
|
|
}
|
|
if (other.getWaitTime() != 0) {
|
|
setWaitTime(other.getWaitTime());
|
|
}
|
|
internalGetMutableStrengthenPointDataMap()
|
|
.mergeFrom(other.internalGetStrengthenPointDataMap());
|
|
if (other.getReviveCount() != 0) {
|
|
setReviveCount(other.getReviveCount());
|
|
}
|
|
if (other.dieType_ != 0) {
|
|
setDieTypeValue(other.getDieTypeValue());
|
|
}
|
|
switch (other.getEntityCase()) {
|
|
case MONSTER_ID:
|
|
{
|
|
setMonsterId(other.getMonsterId());
|
|
break;
|
|
}
|
|
case GADGET_ID:
|
|
{
|
|
setGadgetId(other.getGadgetId());
|
|
break;
|
|
}
|
|
case ENTITY_NOT_SET:
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
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.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage =
|
|
(emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify)
|
|
e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private int entityCase_ = 0;
|
|
private java.lang.Object entity_;
|
|
|
|
public EntityCase getEntityCase() {
|
|
return EntityCase.forNumber(entityCase_);
|
|
}
|
|
|
|
public Builder clearEntity() {
|
|
entityCase_ = 0;
|
|
entity_ = null;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int bitField0_;
|
|
|
|
private int murdererEntityId_;
|
|
/**
|
|
* <code>uint32 murderer_entity_id = 1;</code>
|
|
*
|
|
* @return The murdererEntityId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getMurdererEntityId() {
|
|
return murdererEntityId_;
|
|
}
|
|
/**
|
|
* <code>uint32 murderer_entity_id = 1;</code>
|
|
*
|
|
* @param value The murdererEntityId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setMurdererEntityId(int value) {
|
|
|
|
murdererEntityId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 murderer_entity_id = 1;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearMurdererEntityId() {
|
|
|
|
murdererEntityId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int dungeonId_;
|
|
/**
|
|
* <code>uint32 dungeon_id = 2;</code>
|
|
*
|
|
* @return The dungeonId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDungeonId() {
|
|
return dungeonId_;
|
|
}
|
|
/**
|
|
* <code>uint32 dungeon_id = 2;</code>
|
|
*
|
|
* @param value The dungeonId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDungeonId(int value) {
|
|
|
|
dungeonId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 dungeon_id = 2;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearDungeonId() {
|
|
|
|
dungeonId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int waitTime_;
|
|
/**
|
|
* <code>uint32 wait_time = 11;</code>
|
|
*
|
|
* @return The waitTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getWaitTime() {
|
|
return waitTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 wait_time = 11;</code>
|
|
*
|
|
* @param value The waitTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setWaitTime(int value) {
|
|
|
|
waitTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 wait_time = 11;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearWaitTime() {
|
|
|
|
waitTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
strengthenPointDataMap_;
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
internalGetStrengthenPointDataMap() {
|
|
if (strengthenPointDataMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return strengthenPointDataMap_;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
internalGetMutableStrengthenPointDataMap() {
|
|
onChanged();
|
|
;
|
|
if (strengthenPointDataMap_ == null) {
|
|
strengthenPointDataMap_ =
|
|
com.google.protobuf.MapField.newMapField(
|
|
StrengthenPointDataMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!strengthenPointDataMap_.isMutable()) {
|
|
strengthenPointDataMap_ = strengthenPointDataMap_.copy();
|
|
}
|
|
return strengthenPointDataMap_;
|
|
}
|
|
|
|
public int getStrengthenPointDataMapCount() {
|
|
return internalGetStrengthenPointDataMap().getMap().size();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public boolean containsStrengthenPointDataMap(int key) {
|
|
|
|
return internalGetStrengthenPointDataMap().getMap().containsKey(key);
|
|
}
|
|
/** Use {@link #getStrengthenPointDataMapMap()} instead. */
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getStrengthenPointDataMap() {
|
|
return getStrengthenPointDataMapMap();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getStrengthenPointDataMapMap() {
|
|
return internalGetStrengthenPointDataMap().getMap();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
getStrengthenPointDataMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
defaultValue) {
|
|
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
map = internalGetStrengthenPointDataMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData
|
|
getStrengthenPointDataMapOrThrow(int key) {
|
|
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
map = internalGetStrengthenPointDataMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearStrengthenPointDataMap() {
|
|
internalGetMutableStrengthenPointDataMap().getMutableMap().clear();
|
|
return this;
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
public Builder removeStrengthenPointDataMap(int key) {
|
|
|
|
internalGetMutableStrengthenPointDataMap().getMutableMap().remove(key);
|
|
return this;
|
|
}
|
|
/** Use alternate mutation accessors instead. */
|
|
@java.lang.Deprecated
|
|
public java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
getMutableStrengthenPointDataMap() {
|
|
return internalGetMutableStrengthenPointDataMap().getMutableMap();
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
public Builder putStrengthenPointDataMap(
|
|
int key,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData value) {
|
|
|
|
if (value == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
internalGetMutableStrengthenPointDataMap().getMutableMap().put(key, value);
|
|
return this;
|
|
}
|
|
/** <code>map<uint32, .StrengthenPointData> strengthen_point_data_map = 15;</code> */
|
|
public Builder putAllStrengthenPointDataMap(
|
|
java.util.Map<
|
|
java.lang.Integer,
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.StrengthenPointData>
|
|
values) {
|
|
internalGetMutableStrengthenPointDataMap().getMutableMap().putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private int reviveCount_;
|
|
/**
|
|
* <code>uint32 revive_count = 5;</code>
|
|
*
|
|
* @return The reviveCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getReviveCount() {
|
|
return reviveCount_;
|
|
}
|
|
/**
|
|
* <code>uint32 revive_count = 5;</code>
|
|
*
|
|
* @param value The reviveCount to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setReviveCount(int value) {
|
|
|
|
reviveCount_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 revive_count = 5;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearReviveCount() {
|
|
|
|
reviveCount_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int dieType_ = 0;
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return The enum numeric value on the wire for dieType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getDieTypeValue() {
|
|
return dieType_;
|
|
}
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @param value The enum numeric value on the wire for dieType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDieTypeValue(int value) {
|
|
|
|
dieType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return The dieType.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType getDieType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType result =
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.valueOf(dieType_);
|
|
return result == null
|
|
? emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType.UNRECOGNIZED
|
|
: result;
|
|
}
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @param value The dieType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setDieType(
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.PlayerDieType value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
dieType_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.PlayerDieType die_type = 6;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearDieType() {
|
|
|
|
dieType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return Whether the monsterId field is set.
|
|
*/
|
|
public boolean hasMonsterId() {
|
|
return entityCase_ == 4;
|
|
}
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return The monsterId.
|
|
*/
|
|
public int getMonsterId() {
|
|
if (entityCase_ == 4) {
|
|
return (java.lang.Integer) entity_;
|
|
}
|
|
return 0;
|
|
}
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @param value The monsterId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setMonsterId(int value) {
|
|
entityCase_ = 4;
|
|
entity_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 monster_id = 4;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearMonsterId() {
|
|
if (entityCase_ == 4) {
|
|
entityCase_ = 0;
|
|
entity_ = null;
|
|
onChanged();
|
|
}
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return Whether the gadgetId field is set.
|
|
*/
|
|
public boolean hasGadgetId() {
|
|
return entityCase_ == 7;
|
|
}
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return The gadgetId.
|
|
*/
|
|
public int getGadgetId() {
|
|
if (entityCase_ == 7) {
|
|
return (java.lang.Integer) entity_;
|
|
}
|
|
return 0;
|
|
}
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @param value The gadgetId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setGadgetId(int value) {
|
|
entityCase_ = 7;
|
|
entity_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 gadget_id = 7;</code>
|
|
*
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearGadgetId() {
|
|
if (entityCase_ == 7) {
|
|
entityCase_ = 0;
|
|
entity_ = null;
|
|
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:DungeonPlayerDieNotify)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:DungeonPlayerDieNotify)
|
|
private static final emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass
|
|
.DungeonPlayerDieNotify
|
|
DEFAULT_INSTANCE;
|
|
|
|
static {
|
|
DEFAULT_INSTANCE =
|
|
new emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<DungeonPlayerDieNotify> PARSER =
|
|
new com.google.protobuf.AbstractParser<DungeonPlayerDieNotify>() {
|
|
@java.lang.Override
|
|
public DungeonPlayerDieNotify parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new DungeonPlayerDieNotify(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<DungeonPlayerDieNotify> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<DungeonPlayerDieNotify> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.DungeonPlayerDieNotifyOuterClass.DungeonPlayerDieNotify
|
|
getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_DungeonPlayerDieNotify_descriptor;
|
|
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_DungeonPlayerDieNotify_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_DungeonPlayerDieNotify_StrengthenPointDataMapEntry_descriptor;
|
|
private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_DungeonPlayerDieNotify_StrengthenPointDataMapEntry_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\034DungeonPlayerDieNotify.proto\032\023PlayerDi"
|
|
+ "eType.proto\032\031StrengthenPointData.proto\"\365"
|
|
+ "\002\n\026DungeonPlayerDieNotify\022\032\n\022murderer_en"
|
|
+ "tity_id\030\001 \001(\r\022\022\n\ndungeon_id\030\002 \001(\r\022\021\n\twai"
|
|
+ "t_time\030\013 \001(\r\022V\n\031strengthen_point_data_ma"
|
|
+ "p\030\017 \003(\01323.DungeonPlayerDieNotify.Strengt"
|
|
+ "henPointDataMapEntry\022\024\n\014revive_count\030\005 \001"
|
|
+ "(\r\022 \n\010die_type\030\006 \001(\0162\016.PlayerDieType\022\024\n\n"
|
|
+ "monster_id\030\004 \001(\rH\000\022\023\n\tgadget_id\030\007 \001(\rH\000\032"
|
|
+ "S\n\033StrengthenPointDataMapEntry\022\013\n\003key\030\001 "
|
|
+ "\001(\r\022#\n\005value\030\002 \001(\0132\024.StrengthenPointData"
|
|
+ ":\0028\001B\010\n\006entityB\033\n\031emu.grasscutter.net.pr"
|
|
+ "otob\006proto3"
|
|
};
|
|
descriptor =
|
|
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
|
|
descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_DungeonPlayerDieNotify_descriptor = getDescriptor().getMessageTypes().get(0);
|
|
internal_static_DungeonPlayerDieNotify_fieldAccessorTable =
|
|
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_DungeonPlayerDieNotify_descriptor,
|
|
new java.lang.String[] {
|
|
"MurdererEntityId",
|
|
"DungeonId",
|
|
"WaitTime",
|
|
"StrengthenPointDataMap",
|
|
"ReviveCount",
|
|
"DieType",
|
|
"MonsterId",
|
|
"GadgetId",
|
|
"Entity",
|
|
});
|
|
internal_static_DungeonPlayerDieNotify_StrengthenPointDataMapEntry_descriptor =
|
|
internal_static_DungeonPlayerDieNotify_descriptor.getNestedTypes().get(0);
|
|
internal_static_DungeonPlayerDieNotify_StrengthenPointDataMapEntry_fieldAccessorTable =
|
|
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_DungeonPlayerDieNotify_StrengthenPointDataMapEntry_descriptor,
|
|
new java.lang.String[] {
|
|
"Key", "Value",
|
|
});
|
|
emu.grasscutter.net.proto.PlayerDieTypeOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.StrengthenPointDataOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|