FunctionsTypedItemSetAllowLockTypeTypedItemSetAllowLockType CallableTypedItemSetAllowLockType(asset: Mutable<Asset>, allowLockType: Record<string, Set<number>>, allowAll?: boolean): voidSets the AllowLock and AllowLockType properties on an asset based on an AllowLockType array and the total number of possible types.Parametersasset: Mutable<Asset>The asset to set properties onallowLockType: Record<string, Set<number>>The AllowLockType record indicating which of the asset's types permit locksallowAll: boolean = falseReturns voidNothing
Sets the AllowLock and AllowLockType properties on an asset based on an AllowLockType array and the total number of possible types.