Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonEncode ¶
Types ¶
type PlayerGroup ¶
type PlayerGroup struct {
// contains filtered or unexported fields
}
var Group *PlayerGroup
func (*PlayerGroup) AddPlayer ¶
func (pg *PlayerGroup) AddPlayer(groupname string, player string)
向组内添加玩家
func (*PlayerGroup) DelPlayer ¶
func (pg *PlayerGroup) DelPlayer(groupname string, player string)
删除组内指定玩家
func (*PlayerGroup) GetPlayer ¶
func (pg *PlayerGroup) GetPlayer() map[string][]string
Click to show internal directories.
Click to hide internal directories.