asakamiplugins

package
v0.0.0-...-5ee3910 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 47 Imported by: 0

Documentation

Overview

Package score 签到

Package score 签到

Index

Constants

View Source
const (
	// PluginName 插件名字
	PluginVersion = "0.3.0"
	Help          = "" /* 221-byte string literal not displayed */
)
View Source
const (

	// SCOREMAX 分数上限定为1200
	SCOREMAX = 1200
)

Variables

This section is empty.

Functions

func GetPluginHelp

func GetPluginHelp(plugin string) (version string)

func GetPluginStatus

func GetPluginStatus(plugin string) (status string)

func GetPluginVersion

func GetPluginVersion(plugin string) (version string)

func Getaipaint

func Getaipaint() aipaintstruct

导出aipaint结构体

func Getbackpack

func Getbackpack() backpackstruct

Getbackpack 导出变量

func Getchat

func Getchat() chatstruct

func Getdebug

func Getdebug() debugstruct

func Geteconomy

func Geteconomy() economystruct

Geteconomy 导出变量

func Getfoxfolder

func Getfoxfolder() foxfolderstruct

Getfoxfolder 导出变量

func Getgames

func Getgames() gamesstruct

Getgames 导出变量

func Getgpt

func Getgpt() gptstruct

Getgpt 导出变量

func Getlink() linkstruct

func Getpay

func Getpay() paystruct

Getpay 导出变量

func Getrealid

func Getrealid(ctx *zero.Ctx) int64

func Getrealidbyuid

func Getrealidbyuid(uid int64) int64

func Getrpg

func Getrpg() rpgstruct

func Getsignin

func Getsignin() signinstruct

Getsignin 导出变量

func Getstatistics

func Getstatistics() statisticss

func InsertCurrency

func InsertCurrency(currency CURRENCY)

func IsEvening

func IsEvening(*zero.Ctx) bool

只统计21点到凌晨3点的晚安

func IsMorning

func IsMorning(*zero.Ctx) bool

只统计6点到12点的早安

func UpdateCurrency

func UpdateCurrency(currency CURRENCY)

Types

type BackpackItem

type BackpackItem struct {
	ID       int
	ItemType string
	SubType  string

	Topic    string
	Tooltip  string
	Buff     string
	Quantity float64
	Tag      string
	// contains filtered or unexported fields
}

type CURRENCY

type CURRENCY struct {
	Topic   string
	Tooltip string
	// contains filtered or unexported fields
}

func GetCurrency

func GetCurrency(itemid int) CURRENCY

type Rcon

type Rcon struct {
	Addr string
	Pass string
}

func GetRcon

func GetRcon() Rcon

func (*Rcon) Send

func (r *Rcon) Send(cmd string) (resp string, err error)

type SleepManage

type SleepManage struct {
	ID        uint      `gorm:"primary_key"`
	GroupID   int64     `gorm:"column:group_id"`
	UserID    int64     `gorm:"column:user_id"`
	SleepTime time.Time `gorm:"column:sleep_time"`
}

SleepManage 睡眠信息

func (SleepManage) TableName

func (SleepManage) TableName() string

TableName 表名

Jump to

Keyboard shortcuts

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