part

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 0 Imported by: 0

README


目录释义

目录 说明
./ 弹幕服务器传回的Msg类型json的golang struct表述
HOT_RANK_CHANGED.go 热门榜位置改变
HOT_RANK_SETTLEMENT.go 热门榜位置获得
LITTLE_MESSAGE_BOX.go 系统消息
MESSAGEBOX_USER_MEDAL_CHANGE.go 粉丝牌改变

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ENTRY_EFFECT_MUST_RECEIVE

type ENTRY_EFFECT_MUST_RECEIVE struct {
	Cmd  string `json:"cmd"`
	Data struct {
		Id                 int    `json:"id"`
		Uid                int    `json:"uid"`
		Target_id          int    `json:"target_id"`
		Mock_effect        int    `json:"mock_effect"`
		Face               string `json:"face"`
		Privilege_type     int    `json:"privilege_type"`
		Copy_writing       string `json:"copy_writing"`
		Copy_color         string `json:"copy_color"`
		Highlight_color    string `json:"highlight_color"`
		Priority           int    `json:"priority"`
		Basemap_url        string `json:"basemap_url"`
		Show_avatar        int    `json:"show_avatar"`
		Effective_time     int    `json:"effective_time"`
		Web_basemap_url    string `json:"web_basemap_url"`
		Web_effective_time int    `json:"web_effective_time"`
		Web_effect_close   int    `json:"web_effect_close"`
		Web_close_time     int    `json:"web_close_time"`
		Business           int    `json:"business"`
		Copy_writing_v2    string `json:"copy_writing_v2"`
		Icon_list          []int  `json:"icon_list"`
		Max_delay_time     int    `json:"max_delay_time"`
	} `json:"data"`
}

type HOT_RANK_CHANGED

type HOT_RANK_CHANGED struct {
	Cmd  string `json:"cmd"`
	Data struct {
		Rank          int    `json:"rank"`
		Trend         int    `json:"trend"`
		Countdown     int    `json:"countdown"`
		Timestamp     int    `json:"timestamp"`
		Web_url       string `json:"web_url"`
		Live_url      string `json:"live_url"`
		Blink_url     string `json:"blink_url"`
		Live_link_url string `json:"live_link_url"`
		Pc_link_url   string `json:"pc_link_url"`
		Icon          string `json:"icon"`
		Area_name     string `json:"area_name"`
	} `json:"data"`
}

type HOT_RANK_SETTLEMENT

type HOT_RANK_SETTLEMENT struct {
	Cmd  string `json:"cmd"`
	Data struct {
		Rank      int    `json:"rank"`
		Uname     string `json:"uname"`
		Face      string `json:"face"`
		Timestamp int    `json:"timestamp"`
		Icon      string `json:"icon"`
		Area_name string `json:"area_name"`
		Url       string `json:"url"`
		Cache_key string `json:"cache_key"`
		Dm_msg    string `json:"dm_msg"`
	} `json:"data"`
}

type LITTLE_MESSAGE_BOX

type LITTLE_MESSAGE_BOX struct {
	Cmd  string `json:"cmd"`
	Data struct {
		From     string `json:"from"`
		Platform struct {
			Android bool `json:"android"`
			Ios     bool `json:"ios"`
			Web     bool `json:"web"`
		} `json:"platform"`
		Msg     string `json:"msg"`
		Room_id int    `json:"room_id"`
		Type    int    `json:"type"`
	} `json:"data"`
}

type MESSAGEBOX_USER_MEDAL_CHANGE

type MESSAGEBOX_USER_MEDAL_CHANGE struct {
	Cmd  string `json:"cmd"`
	Data struct {
		Type                int    `json:"type"`
		Uid                 int    `json:"uid"`
		Up_uid              int    `json:"up_uid"`
		Medal_name          string `json:"medal_name"`
		Medal_level         int    `json:"medal_level"`
		Medal_color_start   int    `json:"medal_color_start"`
		Medal_color_end     int    `json:"medal_color_end"`
		Medal_color_border  int    `json:"medal_color_border"`
		Guard_level         int    `json:"guard_level"`
		Is_lighted          int    `json:"is_lighted"`
		Unlock              int    `json:"unlock"`
		Unlock_level        int    `json:"unlock_level"`
		Multi_unlock_level  string `json:"multi_unlock_level"`
		Upper_bound_content string `json:"upper_bound_content"`
	} `json:"data"`
}

type VTR_GIFT_LOTTERY

type VTR_GIFT_LOTTERY struct {
	Cmd  string `json:"cmd"`
	Data struct {
		Dark_highlight_col int    `json:"dark_highlight_col"`
		Highlight_col      int    `json:"highlight_col"`
		Interact_msg       int    `json:"interact_msg"`
		Room_id            string `json:"room_id"`
		Toast_msg          int    `json:"toast_msg"`
	} `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL