// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GalleryStopReason.proto package emu.grasscutter.net.proto; public final class GalleryStopReasonOuterClass { private GalleryStopReasonOuterClass() {} 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: LLJAMLLPIIF
*
*
* Protobuf enum {@code GalleryStopReason}
*/
public enum GalleryStopReason implements com.google.protobuf.ProtocolMessageEnum {
/** GALLERY_STOP_NONE = 0; */
GALLERY_STOP_NONE(0),
/** GALLERY_STOP_TIMEUP = 1; */
GALLERY_STOP_TIMEUP(1),
/** GALLERY_STOP_CLIENT_INTERRUPT = 2; */
GALLERY_STOP_CLIENT_INTERRUPT(2),
/** GALLERY_STOP_LUA_INTERRUPT_SUCCESS = 3; */
GALLERY_STOP_LUA_INTERRUPT_SUCCESS(3),
/** GALLERY_STOP_LUA_INTERRUPT_FAIL = 4; */
GALLERY_STOP_LUA_INTERRUPT_FAIL(4),
/** GALLERY_STOP_OWNER_LEAVE_SCENE = 5; */
GALLERY_STOP_OWNER_LEAVE_SCENE(5),
/** GALLERY_STOP_PLAY_INIT_FAILED = 6; */
GALLERY_STOP_PLAY_INIT_FAILED(6),
/** GALLERY_STOP_OTHER_PLAYER_ENTER = 7; */
GALLERY_STOP_OTHER_PLAYER_ENTER(7),
/** GALLERY_STOP_AVATAR_DIE = 8; */
GALLERY_STOP_AVATAR_DIE(8),
/** GALLERY_STOP_FINISHED = 9; */
GALLERY_STOP_FINISHED(9),
/** GALLERY_STOP_FUNGUS_ALL_DIE = 10; */
GALLERY_STOP_FUNGUS_ALL_DIE(10),
/** GALLERY_STOP_LIFE_COUNT_ZERO = 11; */
GALLERY_STOP_LIFE_COUNT_ZERO(11),
/** GALLERY_STOP_REASON_PALOHPNAIMF = 12; */
GALLERY_STOP_REASON_PALOHPNAIMF(12),
UNRECOGNIZED(-1),
;
/** GALLERY_STOP_NONE = 0; */
public static final int GALLERY_STOP_NONE_VALUE = 0;
/** GALLERY_STOP_TIMEUP = 1; */
public static final int GALLERY_STOP_TIMEUP_VALUE = 1;
/** GALLERY_STOP_CLIENT_INTERRUPT = 2; */
public static final int GALLERY_STOP_CLIENT_INTERRUPT_VALUE = 2;
/** GALLERY_STOP_LUA_INTERRUPT_SUCCESS = 3; */
public static final int GALLERY_STOP_LUA_INTERRUPT_SUCCESS_VALUE = 3;
/** GALLERY_STOP_LUA_INTERRUPT_FAIL = 4; */
public static final int GALLERY_STOP_LUA_INTERRUPT_FAIL_VALUE = 4;
/** GALLERY_STOP_OWNER_LEAVE_SCENE = 5; */
public static final int GALLERY_STOP_OWNER_LEAVE_SCENE_VALUE = 5;
/** GALLERY_STOP_PLAY_INIT_FAILED = 6; */
public static final int GALLERY_STOP_PLAY_INIT_FAILED_VALUE = 6;
/** GALLERY_STOP_OTHER_PLAYER_ENTER = 7; */
public static final int GALLERY_STOP_OTHER_PLAYER_ENTER_VALUE = 7;
/** GALLERY_STOP_AVATAR_DIE = 8; */
public static final int GALLERY_STOP_AVATAR_DIE_VALUE = 8;
/** GALLERY_STOP_FINISHED = 9; */
public static final int GALLERY_STOP_FINISHED_VALUE = 9;
/** GALLERY_STOP_FUNGUS_ALL_DIE = 10; */
public static final int GALLERY_STOP_FUNGUS_ALL_DIE_VALUE = 10;
/** GALLERY_STOP_LIFE_COUNT_ZERO = 11; */
public static final int GALLERY_STOP_LIFE_COUNT_ZERO_VALUE = 11;
/** GALLERY_STOP_REASON_PALOHPNAIMF = 12; */
public static final int GALLERY_STOP_REASON_PALOHPNAIMF_VALUE = 12;
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 GalleryStopReason 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 GalleryStopReason forNumber(int value) {
switch (value) {
case 0:
return GALLERY_STOP_NONE;
case 1:
return GALLERY_STOP_TIMEUP;
case 2:
return GALLERY_STOP_CLIENT_INTERRUPT;
case 3:
return GALLERY_STOP_LUA_INTERRUPT_SUCCESS;
case 4:
return GALLERY_STOP_LUA_INTERRUPT_FAIL;
case 5:
return GALLERY_STOP_OWNER_LEAVE_SCENE;
case 6:
return GALLERY_STOP_PLAY_INIT_FAILED;
case 7:
return GALLERY_STOP_OTHER_PLAYER_ENTER;
case 8:
return GALLERY_STOP_AVATAR_DIE;
case 9:
return GALLERY_STOP_FINISHED;
case 10:
return GALLERY_STOP_FUNGUS_ALL_DIE;
case 11:
return GALLERY_STOP_LIFE_COUNT_ZERO;
case 12:
return GALLERY_STOP_REASON_PALOHPNAIMF;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap