DeadZone Community Packages
    Preparing search index...

    Interface PlayerComposition

    interface PlayerComposition {
        KIT_OFFSET: number;
        ITEM_OFFSET: number;
        getGender(): number;
        getColors(): number[];
        getEquipmentIds(): number[];
    }
    Index

    Methods

    • Get the player gender

      Returns number

      0 for male, 1 for female

    • Get the body part colors for this player composition.

      Returns number[]

      an array of the colors, always size 5

    Properties

    KIT_OFFSET: number
    ITEM_OFFSET: number