Documentation ¶
Index ¶
Constants ¶
View Source
const ( ITEMTTYPE = iota // ITEMTTYPE == 0 ItemType1 // ItemType1 == 1 代表货币 ItemType2 // ItemType1 == 2 代表门票 ItemType3 // ItemType1 == 3 代表兑换 ItemType4 // ItemType1 == 4 代表道具 )
------------------------------------------------------------------------------ 道具类型
Variables ¶
View Source
var ( LenStackBuf = 4096 LogLevel string LogPath string LogFlag int ConsolePort int ConsolePrompt string = "LollipopGo# " ProfilePath string ListenAddr string ConnAddrs []string PendingWriteNum int )
View Source
var DSQGameExp map[string]*DSQ_Exp // 斗兽棋经验列表
View Source
var G_BannerList map[string]*Banner // 游戏轮播列表
View Source
var G_GameList map[string]*GameList // 游戏大厅列表
View Source
var G_GameListNew map[string]*GameListNew // 游戏大厅列表New版本
csv配置表
View Source
var G_RaceList map[string]*RaceList // 比赛列表
View Source
var G_RoomList map[string]interface{} // 房间列表
View Source
var G_ServerList map[string]*ServerList // 服务器列表
View Source
var RoomListData map[string]*RoomList // 房间列表
View Source
var RoomListDatabak map[string]*RoomList // 房间列表
Functions ¶
This section is empty.
Types ¶
type AwardList ¶
------------------------------------------------------------------------------ 兑换列表
type Banner ¶
type Banner struct { ADID string PicURL string IsTop string SkipURL string // 跳转的URL ReMark string // 备注 }
轮播广告列表
type GameList ¶
type GameList struct { GameID string // 游戏的ID GameName string // 游戏名字 GameICON string // 游戏ICON IsShow string // 是否显示 ShowStartTime string // 开始显示的时间 ShowEndTime string // 结束显示的时间 IsNewShow string // 是否最新上架 IsHotGame string // 是否是热游戏 }
游戏列表
type GameListNew ¶
type GameListNew struct { GameID string Name string IconPath string Flag string Index string StartTime string EndTime string IsPortrait string ResPath string }
游戏列表
type ItemList ¶
type ItemList struct { ItemID string ItemName string ItemType int ItemICON string ItemDesc string ItemCoin string // 兑换的钻石的数量 IsLimTime string // 是否限时 LimTime string // 限时时间 IsUse string // 是否可以直接使用 }
道具表
type RaceList ¶
type RaceList struct { ID string Name string Desc string Limit string Starttime string Endtime string Changci string }
------------------------------------------------------------------------------ 比赛功能的结构
type RoomList ¶
type RoomList struct { RoomID string // 房间列表 NeedPiece string // 进场花费的金币 NeedLev string // 进场需要的等级 Desc string // 描述 SysPiece string // 系统抽水 WinReward string // 每局获得 IsTop string // 是否置顶 TypeICON string // 活动的ICON }
房间列表
type ServerList ¶
------------------------------------------------------------------------------
Click to show internal directories.
Click to hide internal directories.