Files
game-driver/internal/schema/wait.go
2024-11-06 15:44:35 +08:00

30 lines
331 B
Go

package schema
type WaitType int
const (
WaitAudio WaitType = iota
WaitVideo
WaitWeb
WaitTTS
WaitRelay
)
type TimeModel struct {
Start int64
End int64
}
type WaitItemModel struct {
TimeModel
Type WaitType
Data string
Interval int64
}
type WaitModel struct {
JsonModel
TimeModel
Items []WaitItemModel
}