type alias LoginNet

The client network settings in <LoginNet>.

Properties

optional
type: "LAN" | "WAN"

Whether the client is on the local network or connects from outside.

optional
udpPort: number

The client's UDP port, 0 to 65535.

Usage

import { type LoginNet } from "protocol/params/mod.ts";