game_sync/gamesrv/slotspkg/internal/module/player/dataset.go

27 lines
426 B
Go

package player
import (
"mongo.games.com/game/gamesrv/base"
"mongo.games.com/game/gamesrv/slotspkg/internal/module/shell"
)
type dataSet struct {
*shell.Shell
}
func DataSetName() string {
return "Player"
}
func DataSet(s *base.SlotsSession) *dataSet {
return &dataSet{
Shell: shell.Session(s, DataSetName(), CategoryName(s)),
}
}
func ShellDataSet(sh *shell.Shell) *dataSet {
return &dataSet{
Shell: sh,
}
}