Documentation ¶
Overview ¶
Package anticheat BFBan相关
Package anticheat BFEAC相关
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BFBanHackerStatus = map[int]string{
0: "正在处理",
1: "实锤",
2: "等待自证",
3: "MOSS自证",
4: "无效举报",
5: "讨论中",
6: "需要更多管理员投票",
8: "刷枪",
}
BFBanHackerStatus BFBan 举报状态
View Source
var EACHackerStatus = map[int]string{
0: "正在处理",
1: "实锤",
2: "证据不足",
3: "自证通过",
4: "自证中",
5: "刷枪",
}
EACHackerStatus BFEAC 举报状态
View Source
var ReportHTML string
ReportHTML 举报html模板
Functions ¶
This section is empty.
Types ¶
type HackBFBanResp ¶
HackBFBanResp 返回案件信息
type Report ¶ added in v1.2.0
type Report struct { Target string `json:"target_EAID"` Body string `json:"case_body"` GameType int `json:"game_type"` UploadBy Reporter `json:"report_by"` }
Report 举报信息
func NewBF1Report ¶ added in v1.2.0
func NewBF1Report(susName string, body ReportBody) (*Report, error)
NewBF1Report 生成一个bf1举报信息
func (Report) UploadReport ¶ added in v1.2.0
UploadReport 用户进行举报
func (*Report) WithReporter ¶ added in v1.2.0
WithReporter 附加上举报人信息
type ReportBody ¶ added in v1.2.0
ReportBody 用于举报上传的html模板
Click to show internal directories.
Click to hide internal directories.