Package-level declarations

Types

Link copied to clipboard
data object Logout : OutgoingGameMessage

Log out messages are used to tell the client the player has finished playing, which then causes the client to close the socket, and reset a lot of properties as a result.

Link copied to clipboard
class LogoutTransfer : OutgoingGameMessage

Logout transfer packet is used for world-hopping purposes, making the client connect to a different world instead.

Link copied to clipboard
class LogoutWithReason(val reason: Int) : OutgoingGameMessage

Logout with reason, much like Logout, is used to log the player out of the game. The only difference here is that the user will be given a reason for why they were logged out of the game, e.g. inactive for too long.