Interface Tank

Represents the data needed for the TankPacket.

interface Tank {
    buildRange?: number;
    data?: (() => Buffer);
    info?: number;
    netID?: number;
    packetType?: number;
    punchID?: number;
    punchRange?: number;
    state?: number;
    targetNetID?: number;
    type?: number;
    xPos?: number;
    xPunch?: number;
    xSpeed?: number;
    yPos?: number;
    yPunch?: number;
    ySpeed?: number;
}

Properties

buildRange?: number
data?: (() => Buffer)
info?: number
netID?: number
packetType?: number
punchID?: number
punchRange?: number
state?: number
targetNetID?: number
type?: number
xPos?: number
xPunch?: number
xSpeed?: number
yPos?: number
yPunch?: number
ySpeed?: number