Skip to main content

room_entities.walk

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

Overview

  • ID: 3320
  • Header: UNIT_WALK
  • Direction: Client to Server (c2s)
  • Realm: Room Entities
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Walk the user's avatar to a tile

Payload fields

FieldTypeRequiredDescription
xint32requiredTarget tile X coordinate.
yint32requiredTarget tile Y coordinate.

Behavior

Sender

Sent when the user clicks a walkable tile in the room. The server pathfinds the avatar to the target coordinates.

Receiver

The server pathfinds and moves the avatar. Confirmed in GLADIATOR.

Notes

  • No additional notes