Skip to main content

ValidationIsItemBlockedOrLimited

Callable

  • ValidationIsItemBlockedOrLimited(C: Character, sourceMemberNumber: number, groupName: AssetGroupName, assetName: string, type?: string): boolean

  • Determines whether the character described by the sourceMemberNumber parameter is permitted to add a given asset to the target character C, based on the asset's group name, asset name and type (if applicable). This only checks against the target character's limited and blocked item lists, not their global item permissions.


    Parameters

    • C: Character

      The target character

    • sourceMemberNumber: number

      The member number of the source character

    • groupName: AssetGroupName

      The name of the asset group for the intended item

    • assetName: string

      The asset name of the intended item

    • optionaltype: string

      The type of the intended item

    Returns boolean

    • TRUE if the character with the provided source member number is not allowed to equip the described asset on the target character, FALSE otherwise.