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
406 B
22 lines
406 B
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type ReplaceScene struct {
|
|
Match string `json:"match"`
|
|
SceneID int64 `json:"sceneId"`
|
|
}
|
|
|
|
func (c ReplaceScene) CommandDescription() string {
|
|
return fmt.Sprintf("ReplaceScene(%v, %d)", c.Match, c.SceneID)
|
|
}
|
|
|
|
type ClearScene struct {
|
|
Match string `json:"match"`
|
|
}
|
|
|
|
func (c ClearScene) CommandDescription() string {
|
|
return fmt.Sprintf("ClearScene(%v)", c.Match)
|
|
}
|