Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupMgr ¶
type GroupMgr struct {
*collection.Manager[int64, entry.Group]
// contains filtered or unexported fields
}
func NewGroupMgr ¶
NewGroupMgr creates a group repository, `groupIDStart`: the starting group ID.
func (*GroupMgr) CreateGroup ¶
CreateGroup creates a group according to `pto.PlayerInfo`.
func (*GroupMgr) GenGroupID ¶
type PlayerMgr ¶
type PlayerMgr struct {
*collection.Manager[string, entry.Player]
}
func NewPlayerMgr ¶
func NewPlayerMgr() *PlayerMgr
func (*PlayerMgr) CreatePlayer ¶
type RoomMgr ¶
type RoomMgr struct {
*collection.Manager[int64, entry.Room]
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.