namespace SabreTools.Data.Models.WiseInstaller.Actions
{
///
/// Set File Attributes
///
/// This action sets the attributes of one file or a group of files.
///
///
/// This action is called through Call DLL Function and is mapped to "f12".
/// This acts like the start of a block if a flag is set.
///
///
public class SetFileAttributes : FunctionData
{
///
/// Flags from the argument data
///
///
/// Encoded as a string, binary representation in script file.
/// Expected flags:
/// - Read Only (Maybe 0x01)
/// - Hidden (Maybe 0x02)
/// - System (Maybe 0x04)
/// - Scan Directory Tree (unknown)
/// - Archive (unknown)
///
public byte DataFlags { get; set; }
///
/// File to change
///
/// Wildcards are allowed
public string? FilePathname { get; set; }
}
}