|
RuneHive-Game
|
An immutable message that is written through a channel and forwarded to the LoginResponseEncoder where it is encoded and sent to the client.
More...
Public Member Functions | |
| LoginResponse | getResponse () |
| PlayerRight | getRights () |
| boolean | isFlagged () |
| LoginResponsePacket (LoginResponse response) | |
Creates a new LoginResponsePacket with an authority level of PLAYER and a flagged value of false. | |
| LoginResponsePacket (LoginResponse response, PlayerRight rights, boolean flagged) | |
Creates a new LoginResponsePacket. | |
Private Attributes | |
| final boolean | flagged |
If the Player is flagged. | |
| final LoginResponse | response |
| The actual login response. | |
| final PlayerRight | rights |
The Players authority level. | |
An immutable message that is written through a channel and forwarded to the LoginResponseEncoder where it is encoded and sent to the client.
Definition at line 11 of file LoginResponsePacket.java.
| com.runehive.net.codec.login.LoginResponsePacket.LoginResponsePacket | ( | LoginResponse | response, |
| PlayerRight | rights, | ||
| boolean | flagged ) |
Creates a new LoginResponsePacket.
| response | The actual login response. |
| rights | The Players authority level. |
| flagged | If the Player is flagged. |
Definition at line 38 of file LoginResponsePacket.java.
| com.runehive.net.codec.login.LoginResponsePacket.LoginResponsePacket | ( | LoginResponse | response | ) |
Creates a new LoginResponsePacket with an authority level of PLAYER and a flagged value of false.
| response | The actual login response. |
Definition at line 51 of file LoginResponsePacket.java.
References com.runehive.game.world.entity.mob.player.PlayerRight.PLAYER, and response.
| LoginResponse com.runehive.net.codec.login.LoginResponsePacket.getResponse | ( | ) |
Definition at line 58 of file LoginResponsePacket.java.
References response.
| PlayerRight com.runehive.net.codec.login.LoginResponsePacket.getRights | ( | ) |
Players authority level. Definition at line 65 of file LoginResponsePacket.java.
References rights.
| boolean com.runehive.net.codec.login.LoginResponsePacket.isFlagged | ( | ) |
true if flagged Definition at line 72 of file LoginResponsePacket.java.
References flagged.
|
private |
If the Player is flagged.
Definition at line 26 of file LoginResponsePacket.java.
Referenced by isFlagged(), and LoginResponsePacket().
|
private |
The actual login response.
Definition at line 16 of file LoginResponsePacket.java.
Referenced by getResponse(), LoginResponsePacket(), and LoginResponsePacket().
|
private |
The Players authority level.
Definition at line 21 of file LoginResponsePacket.java.
Referenced by getRights(), and LoginResponsePacket().