command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaPsMemoryOc

func BaPsMemoryOc() string

func GetCpuOc

func GetCpuOc() float64

func GiveAllCharacter

func GiveAllCharacter(num int64) []*sro.ParcelInfo

func GiveAllEmblem

func GiveAllEmblem(num int64) []*sro.ParcelInfo

func GiveAllEquipment

func GiveAllEquipment(num int64) []*sro.ParcelInfo

func GiveAllFavor

func GiveAllFavor(num int64) []*sro.ParcelInfo

func GiveAllFurniture

func GiveAllFurniture(num int64) []*sro.ParcelInfo

func GiveAllMaterial

func GiveAllMaterial(num int64) []*sro.ParcelInfo

func GiveAllMemoryLobby

func GiveAllMemoryLobby(num int64) []*sro.ParcelInfo

func GiveAllSticker

func GiveAllSticker(num int64) []*sro.ParcelInfo

func GiveAllTypes

func GiveAllTypes(num int64) []*sro.ParcelInfo

func MemoryOc

func MemoryOc() string

func NewCommand

func NewCommand(router *gin.Engine)

Types

type AccountInfo

type AccountInfo struct {
	Account         string `json:"account"`
	AccountServerId int64  `json:"account_server_id"`
	YostarUid       int64  `json:"yostar_uid"`
	Ban             bool   `json:"ban"`
	BanMsg          string `json:"banMsg"`
}

type Command

type Command struct {
	C *cdq.CDQ
}
var C *Command

func (*Command) ApplicationCommandAccount

func (c *Command) ApplicationCommandAccount()

func (*Command) ApplicationCommandCharacter

func (c *Command) ApplicationCommandCharacter()

func (*Command) ApplicationCommandGameMail

func (c *Command) ApplicationCommandGameMail()

func (*Command) ApplicationCommandGetPlayer

func (c *Command) ApplicationCommandGetPlayer()

func (*Command) ApplicationCommandGiveAll

func (c *Command) ApplicationCommandGiveAll()

func (*Command) ApplicationCommandMail

func (c *Command) ApplicationCommandMail()

func (*Command) ApplicationCommandPing

func (c *Command) ApplicationCommandPing()

func (*Command) ApplicationCommandSet

func (c *Command) ApplicationCommandSet()

type Ping

type Ping struct {
	PlayerNum     int64   `json:"playerNum"` // 在线玩家数量
	Tps           int64   `json:"tps"`       // 上一分钟请求量
	Rt            string  `json:"rt"`        // 上一分钟每一个请求平均处理时间
	ClientVersion string  `json:"clientVersion"`
	ServerVersion string  `json:"serverVersion"` // 服务端版本
	ApiVersion    string  `json:"apiVersion"`    // api版本
	CpuOc         float64 `json:"cpuOc"`         // cpu占用
	MemoryOc      string  `json:"memoryOc"`      // 内存占用
	BaPsMemoryOc  string  `json:"baPsMemoryOc"`  // BaPs内存占用
}

Jump to

Keyboard shortcuts

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