Checkpoint
This commit is contained in:
160 files changed
+76293
-387
No files matched your search
@@ -94,6 +94,10 @@ type (
|
||||
MuteEvent struct {
|
||||
baseEvent
|
||||
}
|
||||
|
||||
PlaylistEvent struct {
|
||||
baseEvent
|
||||
}
|
||||
)
|
||||
|
||||
func NewError(p Player, err error) Event {
|
||||
@@ -193,3 +197,13 @@ func NewMuteEvent(p Player) Event {
|
||||
func (e MuteEvent) String() string {
|
||||
return fmt.Sprintf("mute player=%s time=%s", e.player.Name(), e.time)
|
||||
}
|
||||
|
||||
func NewPlaylistEvent(p Player) Event {
|
||||
return PlaylistEvent{
|
||||
baseEvent: makeBaseEvent(p),
|
||||
}
|
||||
}
|
||||
|
||||
func (e PlaylistEvent) String() string {
|
||||
return "playlst"
|
||||
}
|
||||
Reference in new issue
Block a user