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​
public class MarketTaxRates : IMarketTaxRates
Implements:
Dalamud.Game.Network.Structures.IMarketTaxRates
Properties​
Category​
Gets the category of this ResultDialog packet.
public uint Category { get; }
LimsaLominsaTax​
Gets the tax rate in Limsa Lominsa.
public uint LimsaLominsaTax { get; }
GridaniaTax​
Gets the tax rate in Gridania.
public uint GridaniaTax { get; }
UldahTax​
Gets the tax rate in Ul'dah.
public uint UldahTax { get; }
IshgardTax​
Gets the tax rate in Ishgard.
public uint IshgardTax { get; }
KuganeTax​
Gets the tax rate in Kugane.
public uint KuganeTax { get; }
CrystariumTax​
Gets the tax rate in the Crystarium.
public uint CrystariumTax { get; }
SharlayanTax​
Gets the tax rate in Sharlayan.
public uint SharlayanTax { get; }
TuliyollalTax​
Gets the tax rate in Tuliyollal.
public uint TuliyollalTax { get; }
ValidUntil​
Gets until when these values are valid.
public DateTime ValidUntil { get; }
Methods​
Read(nint)​
Read a Dalamud.Game.Network.Structures.MarketTaxRates object from memory.
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.
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. |