RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.net.codec.login.LoginResponsePacket Class Reference

Public Member Functions

 LoginResponsePacket (LoginResponse response, PlayerRight rights, boolean flagged)
 LoginResponsePacket (LoginResponse response)
LoginResponse getResponse ()
PlayerRight getRights ()
boolean isFlagged ()

Detailed Description

An immutable message that is written through a channel and forwarded to the LoginResponseEncoder where it is encoded and sent to the client.

Author
lare96 http://github.org/lare96

Definition at line 40 of file LoginResponsePacket.java.

Constructor & Destructor Documentation

◆ LoginResponsePacket() [1/2]

com.osroyale.net.codec.login.LoginResponsePacket.LoginResponsePacket ( LoginResponse response,
PlayerRight rights,
boolean flagged )
inline

Creates a new LoginResponsePacket.

Parameters
responseThe actual login response.
rightsThe Players authority level.
flaggedIf the Player is flagged.

Definition at line 67 of file LoginResponsePacket.java.

◆ LoginResponsePacket() [2/2]

com.osroyale.net.codec.login.LoginResponsePacket.LoginResponsePacket ( LoginResponse response)
inline

Creates a new LoginResponsePacket with an authority level of PLAYER and a flagged value of false.

Parameters
responseThe actual login response.

Definition at line 80 of file LoginResponsePacket.java.

Member Function Documentation

◆ getResponse()

LoginResponse com.osroyale.net.codec.login.LoginResponsePacket.getResponse ( )
inline
Returns
The actual login response.

Definition at line 87 of file LoginResponsePacket.java.

◆ getRights()

PlayerRight com.osroyale.net.codec.login.LoginResponsePacket.getRights ( )
inline
Returns
The Players authority level.

Definition at line 94 of file LoginResponsePacket.java.

◆ isFlagged()

boolean com.osroyale.net.codec.login.LoginResponsePacket.isFlagged ( )
inline
Returns
true if flagged

Definition at line 101 of file LoginResponsePacket.java.


The documentation for this class was generated from the following file: