Skip to main content

InventoryLock

Callable


  • Applies a lock to an appearance item of a character


    Parameters

    • C: Character

      The character on which the lock must be applied

    • Item: AssetGroupName | Item

      The item from appearance to lock

    • Lock: AssetLockType | Item

      The asset of the lock or the name of the lock asset

    • optionalMemberNumber: string | number

      The member number to put on the lock, or message to show

    • optionalUpdate: boolean = true

      Whether or not to update the character

    Returns void