inventorytools

package
v0.0.0-...-b7e9c3a Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

README

inventorytools

This is a library containing data model for integrating with the Dalamud plugin "InventoryTools". It comes bundled with the client-side uploader utility to upload your inventory data to gilgetter.

TBD: long term would make sense to make this whole functionality a standalone Dalamud plugin rather than piggy backing off another plugin which is uneccesary dependancy (subject to changing data model, become unsupported, etc). When this is done it probably makes sense to reverse the data flow - have gilgetter sync to the new dalamud plugin and move the UI to the plugin rather than UI being external web page served by gilgetter.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inventories

type Inventories struct {
	CharacterBags []Item     `json:"CharacterBags,omitempty"`
	Retainers     []Retainer `json:"Retainers,omitempty"`
	Crystals      []Item     `json:"Crystals,omitempty"`
}

type Item

type Item struct {
	ID              int    `json:"iid"`
	Name            string `json:"name,omitempty"`
	SortedContainer int    `json:"sc"`  // container/page 1-5 offset by 9999 for bags and (12000 for market?)
	SortedSlotIndex int    `json:"ssi"` // sorted slot index 0-34
	Quantity        int    `json:"qty"`
}

type Retainer

type Retainer struct {
	ID                int    `json:"id"`
	Name              string `json:"name"`
	MarketItemStorage bool   `json:"marketitemstorage,omitempty"` // true if retainer is used to store items ready for listing on market
	RetainerBags      []Item `json:"RetainerBags,omitempty"`
	RetainerMarket    []Item `json:"RetainerMarket,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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