public static enum AsyncPlayerPreLoginEvent.Result extends Enum<AsyncPlayerPreLoginEvent.Result>
列挙型定数と説明 |
---|
ALLOWED
The player is allowed to log in
|
KICK_BANNED
The player is not allowed to log in, due to them being banned
|
KICK_FULL
The player is not allowed to log in, due to the server being full
|
KICK_OTHER
The player is not allowed to log in, for reasons undefined
|
KICK_WHITELIST
The player is not allowed to log in, due to them not being on the
white list
|
修飾子とタイプ | メソッドと説明 |
---|---|
static AsyncPlayerPreLoginEvent.Result |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static AsyncPlayerPreLoginEvent.Result[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final AsyncPlayerPreLoginEvent.Result ALLOWED
public static final AsyncPlayerPreLoginEvent.Result KICK_FULL
public static final AsyncPlayerPreLoginEvent.Result KICK_BANNED
public static final AsyncPlayerPreLoginEvent.Result KICK_WHITELIST
public static final AsyncPlayerPreLoginEvent.Result KICK_OTHER
public static AsyncPlayerPreLoginEvent.Result[] values()
for(AsyncPlayerPreLoginEvent.Result c: AsyncPlayerPreLoginEvent.Result.values()) System.out.println(c);
public static AsyncPlayerPreLoginEvent.Result valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.