Documentation
¶
Index ¶
- func BaPsMemoryOc() string
- func GetCpuOc() float64
- func GiveAllCharacter(num int64) []*sro.ParcelInfo
- func GiveAllEmblem(num int64) []*sro.ParcelInfo
- func GiveAllEquipment(num int64) []*sro.ParcelInfo
- func GiveAllFavor(num int64) []*sro.ParcelInfo
- func GiveAllFurniture(num int64) []*sro.ParcelInfo
- func GiveAllMaterial(num int64) []*sro.ParcelInfo
- func GiveAllMemoryLobby(num int64) []*sro.ParcelInfo
- func GiveAllSticker(num int64) []*sro.ParcelInfo
- func GiveAllTypes(num int64) []*sro.ParcelInfo
- func MemoryOc() string
- func NewCommand(router *gin.Engine)
- type AccountInfo
- type Command
- func (c *Command) ApplicationCommandAccount()
- func (c *Command) ApplicationCommandCharacter()
- func (c *Command) ApplicationCommandGameMail()
- func (c *Command) ApplicationCommandGetPlayer()
- func (c *Command) ApplicationCommandGiveAll()
- func (c *Command) ApplicationCommandMail()
- func (c *Command) ApplicationCommandPing()
- func (c *Command) ApplicationCommandSet()
- type Ping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaPsMemoryOc ¶
func BaPsMemoryOc() string
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 NewCommand ¶
Types ¶
type AccountInfo ¶
type Command ¶
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内存占用
}
Click to show internal directories.
Click to hide internal directories.