Documentation
¶
Index ¶
Constants ¶
View Source
const ( PostView = 3 PostLike = 5 PostLoop = 3 )
Variables ¶
View Source
var ForumByGame = map[int]int{ kuro.GameIdPNS: kuro.ForumIdPNS3, kuro.GameIdMC: kuro.ForumIdMC10, }
Functions ¶
This section is empty.
Types ¶
type SignForumRecord ¶
type SignForumRecord struct {
GameId int
GameName string
HasSigned bool
PostView int
PostLike int
LoopCount int
}
func SignForumGame ¶
func SignForumGame(gid int, account config.Account) (record SignForumRecord, err error)
type SignForumRecords ¶
type SignForumRecords []SignForumRecord
func SignForumGames ¶
func SignForumGames(account config.Account) (SignForumRecords, error)
func (SignForumRecords) Name ¶
func (rs SignForumRecords) Name() string
func (SignForumRecords) Success ¶
func (rs SignForumRecords) Success() string
type SignGameRecord ¶
type SignGameRecord struct {
GameId int
GameName string
ServerName string
RoleId string
RoleName string
HasSigned bool
Award string
}
func SignGameRole ¶
type SignGameRecords ¶
type SignGameRecords []SignGameRecord
func SignGameRoles ¶
func (SignGameRecords) Name ¶
func (rs SignGameRecords) Name() string
func (SignGameRecords) Success ¶
func (rs SignGameRecords) Success() string
Click to show internal directories.
Click to hide internal directories.