// Generated by the protocol buffer compiler. DO NOT EDIT! // source: MatchReason.proto package emu.grasscutter.net.proto; public final class MatchReasonOuterClass { private MatchReasonOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } /** *
* Obf: JGMEMCCGCDN ** * Protobuf enum {@code MatchReason} */ public enum MatchReason implements com.google.protobuf.ProtocolMessageEnum { /** *
MATCH_NONE = 0;
*/
MATCH_NONE(0),
/**
* MATCH_FINISH = 1;
*/
MATCH_FINISH(1),
/**
* MATCH_PLAYER_CANCEL = 2;
*/
MATCH_PLAYER_CANCEL(2),
/**
* MATCH_TIMEOUT = 3;
*/
MATCH_TIMEOUT(3),
/**
* MATCH_PLAYER_CONFIRM = 4;
*/
MATCH_PLAYER_CONFIRM(4),
/**
* MATCH_FAILED = 5;
*/
MATCH_FAILED(5),
/**
* MATCH_SYSTEM_ERROR = 6;
*/
MATCH_SYSTEM_ERROR(6),
/**
* MATCH_INTERRUPTED = 7;
*/
MATCH_INTERRUPTED(7),
/**
* MATCH_MP_UNAVAILABLE = 8;
*/
MATCH_MP_UNAVAILABLE(8),
/**
* MATCH_CONFIRM_TIMEOUT = 9;
*/
MATCH_CONFIRM_TIMEOUT(9),
UNRECOGNIZED(-1),
;
/**
* MATCH_NONE = 0;
*/
public static final int MATCH_NONE_VALUE = 0;
/**
* MATCH_FINISH = 1;
*/
public static final int MATCH_FINISH_VALUE = 1;
/**
* MATCH_PLAYER_CANCEL = 2;
*/
public static final int MATCH_PLAYER_CANCEL_VALUE = 2;
/**
* MATCH_TIMEOUT = 3;
*/
public static final int MATCH_TIMEOUT_VALUE = 3;
/**
* MATCH_PLAYER_CONFIRM = 4;
*/
public static final int MATCH_PLAYER_CONFIRM_VALUE = 4;
/**
* MATCH_FAILED = 5;
*/
public static final int MATCH_FAILED_VALUE = 5;
/**
* MATCH_SYSTEM_ERROR = 6;
*/
public static final int MATCH_SYSTEM_ERROR_VALUE = 6;
/**
* MATCH_INTERRUPTED = 7;
*/
public static final int MATCH_INTERRUPTED_VALUE = 7;
/**
* MATCH_MP_UNAVAILABLE = 8;
*/
public static final int MATCH_MP_UNAVAILABLE_VALUE = 8;
/**
* MATCH_CONFIRM_TIMEOUT = 9;
*/
public static final int MATCH_CONFIRM_TIMEOUT_VALUE = 9;
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 MatchReason 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 MatchReason forNumber(int value) {
switch (value) {
case 0: return MATCH_NONE;
case 1: return MATCH_FINISH;
case 2: return MATCH_PLAYER_CANCEL;
case 3: return MATCH_TIMEOUT;
case 4: return MATCH_PLAYER_CONFIRM;
case 5: return MATCH_FAILED;
case 6: return MATCH_SYSTEM_ERROR;
case 7: return MATCH_INTERRUPTED;
case 8: return MATCH_MP_UNAVAILABLE;
case 9: return MATCH_CONFIRM_TIMEOUT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap