Skip to main content
Version: 15.x (API 15) [Current]

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​
Declaration
public class MarketTaxRates : IMarketTaxRates

Implements:
Dalamud.Game.Network.Structures.IMarketTaxRates

Properties​

Category​

Gets the category of this ResultDialog packet.

Declaration
public uint Category { get; }

LimsaLominsaTax​

Gets the tax rate in Limsa Lominsa.

Declaration
public uint LimsaLominsaTax { get; }

GridaniaTax​

Gets the tax rate in Gridania.

Declaration
public uint GridaniaTax { get; }

UldahTax​

Gets the tax rate in Ul'dah.

Declaration
public uint UldahTax { get; }

IshgardTax​

Gets the tax rate in Ishgard.

Declaration
public uint IshgardTax { get; }

KuganeTax​

Gets the tax rate in Kugane.

Declaration
public uint KuganeTax { get; }

CrystariumTax​

Gets the tax rate in the Crystarium.

Declaration
public uint CrystariumTax { get; }

SharlayanTax​

Gets the tax rate in Sharlayan.

Declaration
public uint SharlayanTax { get; }

TuliyollalTax​

Gets the tax rate in Tuliyollal.

Declaration
public uint TuliyollalTax { get; }

ValidUntil​

Gets until when these values are valid.

Declaration
public DateTime ValidUntil { get; }

Methods​

Read(nint)​

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

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.

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​