@ianlucas/cs2-lib
    Preparing search index...

    Function getNextStickerSchema

    • The schema (StickerMarkup anchor) a freshly applied sticker should occupy: the first anchor in [0, schemaCount) no current sticker uses, falling back to 0 once every anchor is taken (so the stack can exceed the schema count). Pass the target's CS2EconomyItem.getStickerSchemaCount.

      Parameters

      • stickers: {
            id: number;
            rotation?: number;
            schema?: number;
            wear?: number;
            x?: number;
            y?: number;
        }[]
        • id: number
        • Optionalrotation?: number
        • Optionalschema?: number

          Physical anchor: a StickerMarkup index in [0, CS2EconomyItem.getStickerSchemaCount()).

        • Optionalwear?: number
        • Optionalx?: number
        • Optionaly?: number
      • schemaCount: number

      Returns number