You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
414 B
22 lines
414 B
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type ReplaceScene struct {
|
|
Match string `json:"match"`
|
|
SceneName string `json:"sceneName"`
|
|
}
|
|
|
|
func (c ReplaceScene) CommandDescription() string {
|
|
return fmt.Sprintf("ReplaceScene(%v, %s)", c.Match, c.SceneName)
|
|
}
|
|
|
|
type ClearScene struct {
|
|
Match string `json:"match"`
|
|
}
|
|
|
|
func (c ClearScene) CommandDescription() string {
|
|
return fmt.Sprintf("ClearScene(%v)", c.Match)
|
|
}
|