items

package
v0.0.0-...-e374d70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemService

type ItemService struct {
	// contains filtered or unexported fields
}

func DefaultItemService

func DefaultItemService() *ItemService

func NewItemService

func NewItemService(logger *slog.Logger, server string, opts ...artifactsmmo.ClientOption) (*ItemService, error)

func (*ItemService) GetAllResources

func (service *ItemService) GetAllResources(skill *artifactsmmo.GatheringSkill, code *string) ([]artifactsmmo.ResourceSchema, error)

func (*ItemService) GetCharacterEquipment

func (service *ItemService) GetCharacterEquipment(player *character.Character) *[]character.Equipment

func (*ItemService) GetItem

func (service *ItemService) GetItem(name string) (*artifactsmmo.ItemSchema, error)

func (*ItemService) IsCraftable

func (service *ItemService) IsCraftable(item *artifactsmmo.ItemSchema) bool

func (*ItemService) IsGatherable

func (service *ItemService) IsGatherable(item *artifactsmmo.ItemSchema) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL