Documentation
¶
Index ¶
- Variables
- func OutfitPaletteRGB() [][3]uint8
- type Cache
- func (c *Cache) Dat() *DatFile
- func (c *Cache) EffectPNG(id uint16, frame int) ([]byte, error)
- func (c *Cache) MissilePNG(id uint16, direction int) ([]byte, error)
- func (c *Cache) OutfitPNG(looktype uint16, head, body, legs, feet, addons, direction int, mount uint16, ...) ([]byte, error)
- func (c *Cache) PNG(id uint16) ([]byte, error)
- func (c *Cache) PNGByServerID(id uint16) ([]byte, error)
- func (c *Cache) Spr() *SpriteFile
- type DatFile
- type DatItem
- type OBDEntry
- type OBDFile
- type SpriteFile
Constants ¶
This section is empty.
Variables ¶
View Source
var OutfitPalette [hsiHSteps * hsiSIValues][3]uint8
Functions ¶
func OutfitPaletteRGB ¶ added in v1.8.0
func OutfitPaletteRGB() [][3]uint8
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) MissilePNG ¶ added in v1.8.0
func (*Cache) Spr ¶
func (c *Cache) Spr() *SpriteFile
type DatFile ¶
type SpriteFile ¶
type SpriteFile struct {
// contains filtered or unexported fields
}
func ParseSPRFromBytes ¶ added in v1.9.0
func ParseSPRFromBytes(data []byte) (*SpriteFile, error)
func (*SpriteFile) Close ¶
func (s *SpriteFile) Close() error
func (*SpriteFile) RawSpriteData ¶ added in v1.2.0
func (s *SpriteFile) RawSpriteData(id uint32) ([]byte, error)
func (*SpriteFile) Signature ¶ added in v1.2.0
func (s *SpriteFile) Signature() uint32
func (*SpriteFile) SpriteCount ¶ added in v1.2.0
func (s *SpriteFile) SpriteCount() uint32
Click to show internal directories.
Click to hide internal directories.