defmodule Odinsea.Game.Movement.Unknown do @moduledoc """ Unknown movement type - placeholder for unhandled commands. Ported from Java UnknownMovement.java Used for: - Command 32 (unknown structure) - Any future/unrecognized movement types Parses generic structure that may match unknown commands. """ @type t :: %__MODULE__{ command: integer(), # Movement command type (32, or unknown) unk: integer(), # Unknown short value x: integer(), # X position y: integer(), # Y position vx: integer(), # X velocity vy: integer(), # Y velocity foothold: integer(), # Foothold stance: integer(), # New stance/move action duration: integer() # Movement duration in ms } defstruct [ :command, :unk, :x, :y, :vx, :vy, :foothold, :stance, :duration ] end