voicemeeter-api-powershell/lib/voicemeeter.ps1
onyx-and-iris 2f3e932c5c Update voicemeeter.ps1
add set_multi to remote subclass
2021-04-30 16:47:15 +01:00

32 lines
566 B
PowerShell

. $PSScriptRoot\base.ps1
class Remote {
[String]$type
[System.Collections.ArrayList]$button
[System.Collections.ArrayList]$strip
[System.Collections.ArrayList]$bus
# Constructor
Remote ([String]$type)
{
$this.type = $type
$this.Setup()
}
[void] Setup () {
Login -TYPE $this.type
$this.button = Buttons
$this.strip = Strips
$this.bus = Buses
}
[void] Logout () {
Logout
}
[void] Set_Multi([HashTable]$hash) {
Param_Set_Multi -HASH $hash
}
}