TypedItemSetAllowLockType CallableTypedItemSetAllowLockType(asset, allowLockType, allowAll): 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.