mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 21:30:46 +00:00
2f3e932c5c
add set_multi to remote subclass
32 lines
566 B
PowerShell
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
|
|
}
|
|
}
|