func NewTruceSession(d db.DBer) *TruceSession { group := NewTruceGroup() return &TruceSession{ TruceGroup: group, Session: gp.NewSession(group, d), } }
func NewLaunchRecordSession(d db.DBer) *LaunchRecordSession { group := NewLaunchRecordGroup() return &LaunchRecordSession{ LaunchRecordGroup: group, Session: gp.NewSession(group, d), } }
func NewShipViewSession(d db.DBer) *ShipViewSession { group := NewShipViewGroup() return &ShipViewSession{ ShipViewGroup: group, Session: gp.NewSession(group, d), } }
func NewPlanetViewSession(d db.DBer) *PlanetViewSession { group := NewPlanetViewGroup() return &PlanetViewSession{ PlanetViewGroup: group, Session: gp.NewSession(group, d), } }
func NewMapViewSession(d db.DBer) *MapViewSession { group := NewMapViewGroup() return &MapViewSession{ MapViewGroup: group, Session: gp.NewSession(group, d), } }
func NewPowerOrderSession(d db.DBer) *PowerOrderSession { group := NewPowerOrderGroup() return &PowerOrderSession{ PowerOrderGroup: group, Session: gp.NewSession(group, d), } }
func NewLaunchOrderSession(d db.DBer) *LaunchOrderSession { group := NewLaunchOrderGroup() return &LaunchOrderSession{ LaunchOrderGroup: group, Session: gp.NewSession(group, d), } }
func NewGameSession(d db.DBer) *GameSession { group := NewGameGroup() return &GameSession{ GameGroup: group, Session: gp.NewSession(group, d), } }