Skip to main content

ValidationSanitizeSetPose

Callable


  • Sanitizes the SetPose array on an item's Property object, if present. This ensures that it is a valid array of strings, and that each item in the array is present in the list of poses available in the game.


    Parameters

    • C: Character

      The character on whom the item is equipped

    • item: Item

      The item whose SetPose property should be sanitized

    Returns boolean

    • TRUE if the item's SetPose property was modified as part of the sanitization process (indicating it was not a valid string array, or that invalid entries were present), FALSE otherwise