Documentation ¶
Index ¶
- type Dependency
- type Frame
- type FrameComposite
- type IsSpriteLoader
- type Layer
- type LayeredAnimation
- type Service
- func (s *Service) CacheBudget() int
- func (s *Service) ConfigFileName() string
- func (s *Service) DefaultConfig() (cfg configFile.Config)
- func (s *Service) DependenciesResolved() bool
- func (s *Service) ExportToLua(state *lua.LState)
- func (s *Service) FlushCache(newCache *cache.Cache)
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) InitRoutes(group *gin.RouterGroup)
- func (s *Service) LoadConfig(config *configFile.Config)
- func (s *Service) LoadDc6ToAnimatedGif(pathDC6 string, pathPL2 string) ([]byte, error)
- func (s *Service) LoadDc6ToLayeredAnimation(pathDC6 string, pathPL2 string) (*LayeredAnimation, error)
- func (s *Service) LoadDc6ToPngSpriteAtlas(pathDC6 string, pathPL2 string) ([]byte, error)
- func (s *Service) LoadDccToAnimatedGif(pathDCC string, pathPL2 string) ([]byte, error)
- func (s *Service) LoadDccToPngSpriteAtlas(pathDCC string, pathPL2 string) ([]byte, error)
- func (s *Service) LoadDs1ToPngSpriteAtlas(pathDS1 string, pathPL2 string) ([]byte, error)
- func (s *Service) LoadDt1ToPngSpriteAtlas(pathDT1 string, pathPL2 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency = IsSpriteLoader
type FrameComposite ¶
type IsSpriteLoader ¶
type IsSpriteLoader interface { LoadDc6ToLayeredAnimation(pathDC6 string, pathPL2 string) (*LayeredAnimation, error) LoadDc6ToPngSpriteAtlas(pathDC6 string, pathPL2 string) ([]byte, error) LoadDc6ToAnimatedGif(pathDC6 string, pathPL2 string) ([]byte, error) LoadDccToPngSpriteAtlas(pathDC6 string, pathPL2 string) ([]byte, error) LoadDccToAnimatedGif(pathDC6 string, pathPL2 string) ([]byte, error) LoadDt1ToPngSpriteAtlas(pathDC6 string, pathPL2 string) ([]byte, error) LoadDs1ToPngSpriteAtlas(pathDC6 string, pathPL2 string) ([]byte, error) }
type LayeredAnimation ¶
type LayeredAnimation struct {
Layers []Layer
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CacheBudget ¶
CacheBudget implements cacheManager.HasCache
func (*Service) ConfigFileName ¶
func (*Service) DefaultConfig ¶
func (s *Service) DefaultConfig() (cfg configFile.Config)
func (*Service) DependenciesResolved ¶
func (*Service) ExportToLua ¶
func (*Service) FlushCache ¶
FlushCache implements cacheManager.HasCache
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) InitRoutes ¶
func (s *Service) InitRoutes(group *gin.RouterGroup)
func (*Service) LoadConfig ¶
func (s *Service) LoadConfig(config *configFile.Config)
func (*Service) LoadDc6ToAnimatedGif ¶
func (*Service) LoadDc6ToLayeredAnimation ¶
func (s *Service) LoadDc6ToLayeredAnimation(pathDC6 string, pathPL2 string) (*LayeredAnimation, error)
func (*Service) LoadDc6ToPngSpriteAtlas ¶
func (*Service) LoadDccToAnimatedGif ¶
func (*Service) LoadDccToPngSpriteAtlas ¶
func (*Service) LoadDs1ToPngSpriteAtlas ¶
func (*Service) LoadDt1ToPngSpriteAtlas ¶
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
func (*Service) UnexportFromLua ¶
Click to show internal directories.
Click to hide internal directories.