Documentation ¶
Index ¶
- type Dependency
- type GeneratesDiablo2Maps
- type Level
- type Service
- func (s *Service) DependenciesResolved() bool
- func (s *Service) ExportToLua(state *lua.LState)
- func (s *Service) GenerateMap(act, difficulty uint) (*WorldMap, error)
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) InitRoutes(group *gin.RouterGroup)
- func (s *Service) Logger() *slog.Logger
- func (s *Service) Name() string
- func (s *Service) Ready() bool
- func (s *Service) ResolveDependencies(services []servicemesh.Service)
- func (s *Service) Seed() uint64
- func (s *Service) SetLogger(logger *slog.Logger)
- func (s *Service) SetSeed(u uint64)
- func (s *Service) Slug() string
- func (s *Service) UnexportFromLua(state *lua.LState)
- type WorldMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency = GeneratesDiablo2Maps
type GeneratesDiablo2Maps ¶
type Level ¶
type Level struct { Name string Data models.LevelData Group models.LevelGroup MazeData models.LevelMazeData Preset models.LevelPreset SubstitutionData models.LevelSubstitutionData Type models.LevelType Warp models.LevelWarp TileSets []dt1.DT1 TileStamps []ds1.DS1 Act int }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) DependenciesResolved ¶
func (*Service) ExportToLua ¶
func (*Service) GenerateMap ¶
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) InitRoutes ¶
func (s *Service) InitRoutes(group *gin.RouterGroup)
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
func (*Service) UnexportFromLua ¶
Click to show internal directories.
Click to hide internal directories.