Package-level declarations
Types
Clear entities packet is used to clear any NPCs and world entities from the currently active world. It is important to note that the net.rsprot.protocol.game.outgoing.info.npcinfo.NpcInfo.clearEntities, net.rsprot.protocol.game.outgoing.info.worldentityinfo.WorldEntityInfo.clearEntities and net.rsprot.protocol.game.outgoing.info.playerinfo.PlayerInfoProtocol.update functions must be called in conjunction with this packet. Additionally, this packet must be called before the respective net.rsprot.protocol.game.outgoing.info.npcinfo.NpcInfoProtocol.update, net.rsprot.protocol.game.outgoing.info.worldentityinfo.WorldEntityProtocol.update and net.rsprot.protocol.game.outgoing.info.playerinfo.PlayerInfoProtocol.update functions.
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.