Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedItemInfo ¶
type Item ¶
type Item struct {
// Names for some items may include markup. For example: <<set:MS>><<set:M>><<set:S>>Roth's Reach
Name string `json:"name"`
Type string `json:"typeLine"`
Properties []ItemProperty `json:"properties"`
Requirements []ItemProperty `json:"requirements"`
Extended ExtendedItemInfo `json:"extended"`
Sockets []Socket `json:"sockets"`
ExplicitMods []string `json:"explicitMods"`
ImplicitMods []string `json:"implicitMods"`
UtilityMods []string `json:"utilityMods"`
EnchantMods []string `json:"enchantMods"`
CraftedMods []string `json:"craftedMods"`
CosmeticMods []string `json:"cosmeticMods"`
Note string `json:"note"`
IsVerified bool `json:"verified"`
Width int `json:"w"`
Height int `json:"h"`
ItemLevel int `json:"ilvl"`
Icon string `json:"icon"`
League string `json:"league"`
Id string `json:"id"`
IsIdentified bool `json:"identified"`
IsCorrupted bool `json:"corrupted"`
IsElder bool `json:"elder"`
IsShaper bool `json:"shaper"`
IsSynthesized bool `json:"synthesised"`
IsLockedToCharacter bool `json:"lockedToCharacter"`
IsSupport bool `json:"support"`
DescriptionText string `json:"descrText"`
SecondDescriptionText string `json:"secDescrText"`
FlavorText []string `json:"flavourText"`
ArtFilename string `json:"artFilename"`
FrameType FrameType `json:"frameType"`
StackSize int `json:"stackSize"`
MaxStackSize int `json:"maxStackSize"`
X int `json:"x"`
Y int `json:"y"`
InventoryId string `json:"inventoryId"`
SocketedItems []Item `json:"socketedItems"`
IsRelic bool `json:"isRelic"`
TalismanTier int `json:"talismanTier"`
ProphecyText string `json:"prophecyText"`
ProphecyDifficultyText string `json:"prophecyDiffText"`
}
type ItemProperty ¶
type PublicStashTabSubscription ¶
type PublicStashTabSubscription struct {
Channel chan PublicStashTabSubscriptionResult
// contains filtered or unexported fields
}
func OpenPublicStashTabSubscription ¶
func OpenPublicStashTabSubscription(firstChangeId string) *PublicStashTabSubscription
Opens a subscription that begins with the given change id. To subscribe from the beginning, pass an empty string.
func OpenPublicStashTabSubscriptionForHost ¶
func OpenPublicStashTabSubscriptionForHost(host, firstChangeId string) *PublicStashTabSubscription
Opens a subscription for an alternative host. Can be used for beta or foreign servers.
func (*PublicStashTabSubscription) Close ¶
func (s *PublicStashTabSubscription) Close()
type PublicStashTabSubscriptionResult ¶
type PublicStashTabSubscriptionResult struct {
ChangeId string
PublicStashTabs *PublicStashTabs
Error error
}
type PublicStashTabs ¶
Click to show internal directories.
Click to hide internal directories.