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