mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 05:23:32 +00:00
rework getters, setters in higher classes
This commit is contained in:
@@ -18,15 +18,15 @@ class IBus {
|
||||
}
|
||||
|
||||
[single] Getter ($param) {
|
||||
return Param_Get -PARAM "$($this.identifier()).$param" -IS_STRING $false
|
||||
return $this.remote.Getter("$($this.identifier()).$param")
|
||||
}
|
||||
|
||||
[string] Getter_String ($param) {
|
||||
return Param_Get -PARAM "$($this.identifier()).$param" -IS_STRING $true
|
||||
return $this.remote.Getter_String("$($this.identifier()).$param")
|
||||
}
|
||||
|
||||
[void] Setter ($param, $set) {
|
||||
Param_Set -PARAM "$($this.identifier()).$param" -Value $set
|
||||
[void] Setter ($param, $val) {
|
||||
$this.remote.Setter("$($this.identifier()).$param", $val)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user