Documentation ¶
Index ¶
Constants ¶
View Source
const ( PostView = 5 PostLike = 10 PostLoop = 3 )
Variables ¶
View Source
var SignGameCodeByAppCode = map[string]string{ skland.GameAppCodeArknights: skland.GameCodeArknights, }
Functions ¶
Types ¶
type SignForumRecord ¶ added in v1.2.0
type SignForumRecord struct { GameId string GameName string HasSigned bool PostView int PostLike int LoopCount int }
func SignForumGame ¶ added in v1.2.0
type SignForumRecords ¶ added in v1.2.0
type SignForumRecords []SignForumRecord
func SignForumGames ¶ added in v1.2.0
func (SignForumRecords) Name ¶ added in v1.2.0
func (rs SignForumRecords) Name() string
func (SignForumRecords) Success ¶ added in v1.2.0
func (rs SignForumRecords) Success() string
type SignGameRecord ¶ added in v1.2.0
type SignGameRecord struct { GameId string GameName string PlayerName string PlayerUid string PlayerChannel string HasSigned bool Award string }
func SignGamePlayer ¶ added in v1.2.0
func SignGamePlayer(app *skland.PlayersByApp, player *skland.Player, account config.Account) (record SignGameRecord, err error)
type SignGameRecords ¶ added in v1.2.0
type SignGameRecords []SignGameRecord
func SignGameByApp ¶ added in v1.2.0
func SignGameByApp(apps []*skland.PlayersByApp, account config.Account) (SignGameRecords, error)
func (SignGameRecords) Name ¶ added in v1.2.0
func (rs SignGameRecords) Name() string
func (SignGameRecords) Success ¶ added in v1.2.0
func (rs SignGameRecords) Success() string
Click to show internal directories.
Click to hide internal directories.