h1z1-server
    Preparing search index...

    Interface AccountItem

    interface AccountItem {
        containerGuid: string;
        currentDurability: number;
        debugFlag: string;
        hasAirdropClearance: boolean;
        itemDefinitionId: number;
        itemGuid: string;
        loginSessionId: string;
        slotId: number;
        stackCount: number;
        weapon?: Weapon;
        isValid(flag?: string): boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    containerGuid: string = "0x0"
    currentDurability: number

    Current health of the item

    debugFlag: string = "unset"
    hasAirdropClearance: boolean = false

    Returns true if the airdrop has passed all the checks to land safely

    itemDefinitionId: number

    Id of the item - See ServerItemDefinitions.json for more information

    itemGuid: string

    Global universal identifier of the item

    loginSessionId: string
    slotId: number = 0

    Id (index) of the current slot the item occupies in the hotbar

    stackCount: number

    Returns the amount of items inside of a stack

    weapon?: Weapon

    Determines if the item should be treated as a weapon object

    Methods