public enum ContextStatus extends Enum<ContextStatus>
| Enum Constant and Description |
|---|
CONTINUED
Hook 请求被通过,已经在处理中
|
DEFERRED
Hook 请求被延迟处理
|
NEW
Hook 请求还未被处理
|
REJECTED
Hook 请求被拒绝,会返回信息给发送请求的玩家
|
SKIPPED
Hook 请求被拒绝,不会返回信息给发送请求的玩家
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getCode() |
static ContextStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextStatus NEW
public static final ContextStatus DEFERRED
public static final ContextStatus CONTINUED
public static final ContextStatus REJECTED
public static final ContextStatus SKIPPED
public static ContextStatus[] values()
for (ContextStatus c : ContextStatus.values()) System.out.println(c);
public static ContextStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getCode()
Copyright © 2019 LeanCloud. All rights reserved.