SetActiveWorld

class SetActiveWorld(val worldType: SetActiveWorld.WorldType) : OutgoingGameMessage

Set active world packet is used to set the currently active world in the client, allowing for various world-specific packets to perform changes to a different world than the usual root. Packets such as zone updates, player info, NPC info are a few examples of what may be sent afterwards.

Constructors

Link copied to clipboard
constructor(worldType: SetActiveWorld.WorldType)

Types

Link copied to clipboard

A dynamic world type is used to mark one of the world entities' worlds as the active world, allowing for changes to be sent to that world entity.

Link copied to clipboard

The root world type, resetting currently world to the main one.

Link copied to clipboard
sealed interface WorldType

A world type to set as the currently active world, allowing for updates to be done to that specific world.

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard

the world type to update next.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String