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
public class MarketTaxRates : IMarketTaxRates
Implements:
Dalamud.Game.Network.Structures.IMarketTaxRates
Properties
Category
Gets the category of this ResultDialog packet.
View Source
public uint Category { get; }
LimsaLominsaTax
Gets the tax rate in Limsa Lominsa.
View Source
public uint LimsaLominsaTax { get; }
GridaniaTax
Gets the tax rate in Gridania.
View Source
public uint GridaniaTax { get; }
UldahTax
Gets the tax rate in Ul'dah.
View Source
public uint UldahTax { get; }
IshgardTax
Gets the tax rate in Ishgard.
View Source
public uint IshgardTax { get; }
KuganeTax
Gets the tax rate in Kugane.
View Source
public uint KuganeTax { get; }
CrystariumTax
Gets the tax rate in the Crystarium.
View Source
public uint CrystariumTax { get; }
SharlayanTax
Gets the tax rate in Sharlayan.
View Source
public uint SharlayanTax { get; }
TuliyollalTax
Gets the tax rate in Tuliyollal.
View Source
public uint TuliyollalTax { get; }
ValidUntil
Gets until when these values are valid.
View Source
public DateTime ValidUntil { get; }
Methods
Read(nint)
Read a Dalamud.Game.Network.Structures.MarketTaxRates object from memory.
View Source
public static MarketTaxRates Read(nint dataPtr)
Returns
Dalamud.Game.Network.Structures.MarketTaxRates: A new Dalamud.Game.Network.Structures.MarketTaxRates object.
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dataPtr | Address to read. |
ReadFromCustomTalk(nint)
Generate a MarketTaxRates wrapper class from information located in a CustomTalk packet.
View Source
public static MarketTaxRates ReadFromCustomTalk(nint dataPtr)
Returns
Dalamud.Game.Network.Structures.MarketTaxRates: Returns a wrapped and ready-to-go MarketTaxRates record.
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dataPtr | The pointer to the relevant CustomTalk data. |