dbconf

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GameServer

func GameServer(dsn *gorm.DB)

func GetAllMail

func GetAllMail() map[uint32]*constant.Mail

func GetAllMailById

func GetAllMailById(id uint32) *constant.Mail

func GetCurRogue

func GetCurRogue() *constant.RogueConf

func IsOverlapping

func IsOverlapping(rogueMap []*constant.RogueConf) bool

func NewAllMail

func NewAllMail(dsn *gorm.DB)

拉取全服邮件

func NewRogue

func NewRogue(dsn *gorm.DB)

Types

type Mail

type Mail struct {
	AllMailMap map[uint32]*constant.Mail
}
var MAIL *Mail

func GetMail

func GetMail() *Mail

type Rogue

type Rogue struct {
	RogueMap map[uint32]*constant.RogueConf
}
var ROGUE *Rogue

func GetRogue

func GetRogue() *Rogue

type TimeInterval

type TimeInterval struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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