RuneHive-Game
Loading...
Searching...
No Matches
GamePacketDecoderState.java
Go to the documentation of this file.
1
package
com.runehive.net.codec.game;
2
3
/**
4
* The enumerated types that represent the states at which an in
5
* {@code GamePacket} is decoded.
6
*
7
* @author SeVen
8
*/
9
public
enum
GamePacketDecoderState
{
10
11
/**
12
* The state that determines the id of this packet.
13
*/
14
OPCODE
,
15
16
/**
17
* The state that determines which type of packet this is.
18
*/
19
SIZE
,
20
21
/**
22
* The state that contains the data of the packet.
23
*/
24
PAYLOAD
25
26
}
com.runehive.net.codec.game.GamePacketDecoderState
The enumerated types that represent the states at which an in GamePacket is decoded.
Definition
GamePacketDecoderState.java:9
com.runehive.net.codec.game.GamePacketDecoderState.SIZE
SIZE
The state that determines which type of packet this is.
Definition
GamePacketDecoderState.java:19
com.runehive.net.codec.game.GamePacketDecoderState.OPCODE
OPCODE
The state that determines the id of this packet.
Definition
GamePacketDecoderState.java:14
com.runehive.net.codec.game.GamePacketDecoderState.PAYLOAD
PAYLOAD
The state that contains the data of the packet.
Definition
GamePacketDecoderState.java:24