Skip to main content

room.door_settings

Generated from spec/protocol.yaml. Do not edit by hand.

Overview

  • ID: 1664
  • Header: ROOM_MODEL_DOOR
  • Direction: Server to Client (s2c)
  • Realm: Room
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Deliver the room entry door position and direction

Payload fields

FieldTypeRequiredDescription
xint32requiredDoor X tile coordinate.
yint32requiredDoor Y tile coordinate.
zstringrequiredDoor Z height (serialized as string).
directionint32requiredAvatar spawn direction (0, 2, 4, 6).

Behavior

Sender

Sent during room entry to specify where the avatar should spawn and which direction it should face.

Receiver

The client positions the user's avatar at the door tile. Confirmed in GLADIATOR.

Notes

  • No additional notes