Skip to main content

Class MarketTaxRates

This class represents the "Result Dialog" packet. This is also used e.g. for reduction results, but we only care about tax rates. We can do that by checking the "Category" field.

Assembly: Dalamud.dll
View Source
Declaration
public class MarketTaxRates : IMarketTaxRates

Implements:
Dalamud.Game.Network.Structures.IMarketTaxRates

Properties

Category

Gets the category of this ResultDialog packet.

View Source
Declaration
public uint Category { get; }

LimsaLominsaTax

Gets the tax rate in Limsa Lominsa.

View Source
Declaration
public uint LimsaLominsaTax { get; }

GridaniaTax

Gets the tax rate in Gridania.

View Source
Declaration
public uint GridaniaTax { get; }

UldahTax

Gets the tax rate in Ul'dah.

View Source
Declaration
public uint UldahTax { get; }

IshgardTax

Gets the tax rate in Ishgard.

View Source
Declaration
public uint IshgardTax { get; }

KuganeTax

Gets the tax rate in Kugane.

View Source
Declaration
public uint KuganeTax { get; }

CrystariumTax

Gets the tax rate in the Crystarium.

View Source
Declaration
public uint CrystariumTax { get; }

SharlayanTax

Gets the tax rate in Sharlayan.

View Source
Declaration
public uint SharlayanTax { get; }

TuliyollalTax

Gets the tax rate in Tuliyollal.

View Source
Declaration
public uint TuliyollalTax { get; }

ValidUntil

Gets until when these values are valid.

View Source
Declaration
public DateTime ValidUntil { get; }

Methods

Read(nint)

Read a Dalamud.Game.Network.Structures.MarketTaxRates object from memory.

View Source
Declaration
public static MarketTaxRates Read(nint dataPtr)
Returns

Dalamud.Game.Network.Structures.MarketTaxRates: A new Dalamud.Game.Network.Structures.MarketTaxRates object.

Parameters
TypeNameDescription
System.IntPtrdataPtrAddress to read.

ReadFromCustomTalk(nint)

Generate a MarketTaxRates wrapper class from information located in a CustomTalk packet.

View Source
Declaration
public static MarketTaxRates ReadFromCustomTalk(nint dataPtr)
Returns

Dalamud.Game.Network.Structures.MarketTaxRates: Returns a wrapped and ready-to-go MarketTaxRates record.

Parameters
TypeNameDescription
System.IntPtrdataPtrThe pointer to the relevant CustomTalk data.

Implements