stores

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreDatas

type StoreDatas struct {
	Sys *StoreSys
	Gds *StoreGds
	P2p *StoreP2p
}
var (
	StoresHandler *StoreDatas
)

func NewStoreDatas

func NewStoreDatas() *StoreDatas

type StoreGds

type StoreGds struct {
	Configs map[int]*structure.GameGoldsType
	Gcsu    map[string]int                        //中心用户数量
	Gucs    map[int]string                        //用户报名中心服务器
	Gcsp    map[int]map[string]interface{}        //用户中心服务器数据
	Gdst    map[string]*StoreGoldsDistributeTable //桌子分桌信息
}

type StoreGoldsDistributeTable

type StoreGoldsDistributeTable struct {
	Gid        int
	Rtype      int
	Ridx       int
	Tid        int
	Users      []int32
	Multiples  []int32
	Bonusround int32
	Rank       int32
}

type StoreMj

type StoreMj struct {
	Use       []string
	Nouse     map[int][]string
	Codelen   int
	Code      map[int32]string
	CodeSort  map[string]int32
	Gsidtid   map[string][]int
	AllCode   []int32
	Temptable map[string]*Temptable
}

type StoreP2p

type StoreP2p struct {
	Mj *StoreMj
}

type StoreSys

type StoreSys struct {
	SYS_MAINTENANCE   bool
	MAINTENANCE_TIME  int64
	MAINTENANCE_TIME2 int
	MAINTEN_SERVERS   map[string]bool
}

type Temptable

type Temptable struct {
	T    int
	Code int32
}

Jump to

Keyboard shortcuts

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