Skip to main content

ValidationIsLockChangePermitted

Callable


  • Determines whether or not a lock can be modified based on the lock object and the provided appearance update parameters.


    Parameters

    • lock: Item

      The lock object that is being checked, as returned by InventoryGetLock

    • params: AppearanceUpdateParameters

      The appearance update parameters that apply to the diff

    • optionalremove: boolean = false

      Whether the lock change is a removal

    Returns boolean

    • TRUE if the lock can be modified, FALSE otherwise