Documentation ¶
Index ¶
- type Dependency
- type LoadsDiabloFiles
- type Service
- func (s *Service) AddArchive(filepath string) error
- func (s *Service) Archives() map[string]*mpq.MPQ
- func (s *Service) DependenciesResolved() bool
- func (s *Service) ExportToLua(state *lua.LState)
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) InitRoutes(group *gin.RouterGroup)
- func (s *Service) Load(filepath string) (io.Reader, error)
- func (s *Service) LoadDc6(filepath string) (*dc6.DC6, error)
- func (s *Service) LoadDcc(filepath string) (*dcc.DCC, error)
- func (s *Service) LoadDs1(filepath string) (*ds1.DS1, error)
- func (s *Service) LoadDt1(filepath string) (*dt1.DT1, error)
- func (s *Service) LoadFontTable(filepath string) (*font_table.Font, error)
- func (s *Service) LoadPl2(filepath string) (*pl2.PL2, error)
- func (s *Service) LoadTbl(filepath string) (tbl.TextTable, error)
- func (s *Service) LoadTsv(filepath string) ([]byte, error)
- func (s *Service) LoadWav(filepath string) ([]byte, error)
- 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) SetLogger(logger *slog.Logger)
- func (s *Service) Slug() string
- func (s *Service) UnexportFromLua(state *lua.LState)
- func (s *Service) UnmarshalTsv(filepath string, destination any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency = LoadsDiabloFiles
type LoadsDiabloFiles ¶
type LoadsDiabloFiles interface { Load(filepath string) (io.Reader, error) LoadDc6(filepath string) (*dc6.DC6, error) LoadDcc(filepath string) (*dcc.DCC, error) LoadDs1(filepath string) (*ds1.DS1, error) LoadDt1(filepath string) (*dt1.DT1, error) LoadPl2(filepath string) (*pl2.PL2, error) LoadTbl(filepath string) (tbl.TextTable, error) UnmarshalTsv(filepath string, destination any) error LoadTsv(filepath string) ([]byte, error) LoadWav(filepath string) ([]byte, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AddArchive ¶
func (*Service) DependenciesResolved ¶
func (*Service) ExportToLua ¶
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) InitRoutes ¶
func (s *Service) InitRoutes(group *gin.RouterGroup)
func (*Service) LoadFontTable ¶
func (s *Service) LoadFontTable(filepath string) (*font_table.Font, error)
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
func (*Service) UnexportFromLua ¶
Click to show internal directories.
Click to hide internal directories.