添加COMMON_NOTICE_DANMAKU

This commit is contained in:
Akiba
2022-01-22 13:59:44 +08:00
parent 4e217227b4
commit fd7ae131be
2 changed files with 10 additions and 0 deletions

View File

@@ -47,6 +47,15 @@ type (
Url string `json:"url"`
Width int `json:"width"`
}
CommonNoticeDanmaku struct {
ContentSegments []struct {
FontColor string `json:"font_color"`
Text string `json:"text"`
Type int `json:"type"`
} `json:"content_segments"`
Dmscore int `json:"dmscore"`
Terminals []int `json:"terminals"`
}
)
func (d *Danmaku) Parse(data []byte) {