Type Alias NetworkItem

NetworkItem: {
    flags: number;
    item: number;
    location: number;
    player: number;
}

Items that are sent over the network.

Type declaration

  • Readonlyflags: number

    The classification bit flags for this item. See itemsHandlingFlags for known flags.

  • Readonlyitem: number

    The item id of the item. Item ids are in the range of -2^53 to +2^53-1.

  • Readonlylocation: number

    The location id of the location inside the world. Location ids are in the range of -2^53 to +2^53 - 1.

  • Readonlyplayer: number

    The slot id for the player whose world the item was located in, except when inside a LocationInfoPacket, then it will be the slot id of the player the item belongs to.