diff --git a/Javadoc/com/comphenix/protocol/injector/GamePhase.html b/Javadoc/com/comphenix/protocol/injector/GamePhase.html new file mode 100644 index 00000000..723cf8bc --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/GamePhase.html @@ -0,0 +1,379 @@ + + + +
+ +Enum Constant and Description | +
---|
BOTH
+Listen for every sent and received packet.
+ |
+
LOGIN
+Only listen for packets sent or received before a player has logged in.
+ |
+
PLAYING
+Only listen for packets sent or received after a player has logged in.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
boolean |
+hasLogin()
+Determine if the current value represents the login phase.
+ |
+
boolean |
+hasPlaying()
+Determine if the current value represents the playing phase.
+ |
+
static GamePhase |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static GamePhase[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final GamePhase LOGIN+
public static final GamePhase PLAYING+
public static final GamePhase BOTH+
public static GamePhase[] values()+
+for (GamePhase c : GamePhase.values()) + System.out.println(c); +
public static GamePhase valueOf(java.lang.String name)+
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
+with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean hasLogin()+
public boolean hasPlaying()+