// Generated by the protocol buffer compiler. DO NOT EDIT! // source: PropChangeReason.proto package emu.grasscutter.net.proto; public final class PropChangeReasonOuterClass { private PropChangeReasonOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } /** *
* Name: ILEGGBKJDDK ** * Protobuf enum {@code PropChangeReason} */ public enum PropChangeReason implements com.google.protobuf.ProtocolMessageEnum { /** *
PROP_CHANGE_REASON_NONE = 0;
*/
PROP_CHANGE_REASON_NONE(0),
/**
* PROP_CHANGE_REASON_STATUE_RECOVER = 1;
*/
PROP_CHANGE_REASON_STATUE_RECOVER(1),
/**
* PROP_CHANGE_REASON_ENERGY_BALL = 2;
*/
PROP_CHANGE_REASON_ENERGY_BALL(2),
/**
* PROP_CHANGE_REASON_ABILITY = 3;
*/
PROP_CHANGE_REASON_ABILITY(3),
/**
* PROP_CHANGE_REASON_LEVELUP = 4;
*/
PROP_CHANGE_REASON_LEVELUP(4),
/**
* PROP_CHANGE_REASON_ITEM = 5;
*/
PROP_CHANGE_REASON_ITEM(5),
/**
* PROP_CHANGE_REASON_AVATAR_CARD = 6;
*/
PROP_CHANGE_REASON_AVATAR_CARD(6),
/**
* PROP_CHANGE_REASON_CITY_LEVELUP = 7;
*/
PROP_CHANGE_REASON_CITY_LEVELUP(7),
/**
* PROP_CHANGE_REASON_AVATAR_UPGRADE = 8;
*/
PROP_CHANGE_REASON_AVATAR_UPGRADE(8),
/**
* PROP_CHANGE_REASON_AVATAR_PROMOTE = 9;
*/
PROP_CHANGE_REASON_AVATAR_PROMOTE(9),
/**
* PROP_CHANGE_REASON_PLAYER_ADD_EXP = 10;
*/
PROP_CHANGE_REASON_PLAYER_ADD_EXP(10),
/**
* PROP_CHANGE_REASON_FINISH_QUEST = 11;
*/
PROP_CHANGE_REASON_FINISH_QUEST(11),
/**
* PROP_CHANGE_REASON_GM = 12;
*/
PROP_CHANGE_REASON_GM(12),
/**
* PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL = 13;
*/
PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL(13),
UNRECOGNIZED(-1),
;
/**
* PROP_CHANGE_REASON_NONE = 0;
*/
public static final int PROP_CHANGE_REASON_NONE_VALUE = 0;
/**
* PROP_CHANGE_REASON_STATUE_RECOVER = 1;
*/
public static final int PROP_CHANGE_REASON_STATUE_RECOVER_VALUE = 1;
/**
* PROP_CHANGE_REASON_ENERGY_BALL = 2;
*/
public static final int PROP_CHANGE_REASON_ENERGY_BALL_VALUE = 2;
/**
* PROP_CHANGE_REASON_ABILITY = 3;
*/
public static final int PROP_CHANGE_REASON_ABILITY_VALUE = 3;
/**
* PROP_CHANGE_REASON_LEVELUP = 4;
*/
public static final int PROP_CHANGE_REASON_LEVELUP_VALUE = 4;
/**
* PROP_CHANGE_REASON_ITEM = 5;
*/
public static final int PROP_CHANGE_REASON_ITEM_VALUE = 5;
/**
* PROP_CHANGE_REASON_AVATAR_CARD = 6;
*/
public static final int PROP_CHANGE_REASON_AVATAR_CARD_VALUE = 6;
/**
* PROP_CHANGE_REASON_CITY_LEVELUP = 7;
*/
public static final int PROP_CHANGE_REASON_CITY_LEVELUP_VALUE = 7;
/**
* PROP_CHANGE_REASON_AVATAR_UPGRADE = 8;
*/
public static final int PROP_CHANGE_REASON_AVATAR_UPGRADE_VALUE = 8;
/**
* PROP_CHANGE_REASON_AVATAR_PROMOTE = 9;
*/
public static final int PROP_CHANGE_REASON_AVATAR_PROMOTE_VALUE = 9;
/**
* PROP_CHANGE_REASON_PLAYER_ADD_EXP = 10;
*/
public static final int PROP_CHANGE_REASON_PLAYER_ADD_EXP_VALUE = 10;
/**
* PROP_CHANGE_REASON_FINISH_QUEST = 11;
*/
public static final int PROP_CHANGE_REASON_FINISH_QUEST_VALUE = 11;
/**
* PROP_CHANGE_REASON_GM = 12;
*/
public static final int PROP_CHANGE_REASON_GM_VALUE = 12;
/**
* PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL = 13;
*/
public static final int PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL_VALUE = 13;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PropChangeReason valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PropChangeReason forNumber(int value) {
switch (value) {
case 0: return PROP_CHANGE_REASON_NONE;
case 1: return PROP_CHANGE_REASON_STATUE_RECOVER;
case 2: return PROP_CHANGE_REASON_ENERGY_BALL;
case 3: return PROP_CHANGE_REASON_ABILITY;
case 4: return PROP_CHANGE_REASON_LEVELUP;
case 5: return PROP_CHANGE_REASON_ITEM;
case 6: return PROP_CHANGE_REASON_AVATAR_CARD;
case 7: return PROP_CHANGE_REASON_CITY_LEVELUP;
case 8: return PROP_CHANGE_REASON_AVATAR_UPGRADE;
case 9: return PROP_CHANGE_REASON_AVATAR_PROMOTE;
case 10: return PROP_CHANGE_REASON_PLAYER_ADD_EXP;
case 11: return PROP_CHANGE_REASON_FINISH_QUEST;
case 12: return PROP_CHANGE_REASON_GM;
case 13: return PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap