Initial commit

This commit is contained in:
Aynakeya
2022-06-21 13:02:22 -07:00
commit 9f75839ebc
161 changed files with 18766 additions and 0 deletions

30
liveclient/liveclient.go Normal file
View File

@@ -0,0 +1,30 @@
package liveclient
import "AynaLivePlayer/event"
const MODULE_NAME = "LiveClient"
type UserMedal struct {
Name string
Level int
}
type DanmuUser struct {
Uid string
Username string
Medal UserMedal
Admin bool
Privilege int
}
type DanmuMessage struct {
User DanmuUser
Message string
}
type LiveClient interface {
ClientName() string
Connect() bool
Disconnect() bool
Handler() *event.Handler
}