Interface InvalidCommandPacketPacket

Sent to clients if the server caught a problem with a given packet's cmd property.

InvalidPacketPacket for all possible InvalidPacket packet subtypes.

interface InvalidCommandPacketPacket {
    cmd: "InvalidPacket";
    original_cmd: string;
    text: string;
    type: "cmd";
}

Properties

cmd
original_cmd: string

The cmd argument of the faulty packet.

text: string

A descriptive message of the problem at hand.

type

The type of problem that was detected in the packet.