Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.DataManager Class Reference

Class handles getting spell,item, and aura data based on id or name. More...

Static Public Member Functions

static string GetLocalizedQuestName (int id)
 Retrieves the localized name of a quest based on its ID.
static string GetLocalizedQuestName (ushort id)
 Retrieves the localized name of a quest based on its unique identifier.
static string GetLocalizedNPCName (int id)
 Retrieves the localized name of an NPC based on its ID.
static MountResult GetMountData (uint mountId)
 Retrieves mount data based on the specified mount ID.
static BattleNPCResult GetBattleNPCData (uint NPCId)
 Gets BattleNPCResult information based on id.
static EventNPCResult GetEventNPCData (uint NPCId)
 Gets EventNPCResult information based on id.
static SpellData GetSpellData (uint spellId)
 Get spell object based on id.
static SpellData GetSpellData (string spellname)
 Get spell object based on name.
static PetSpellData GetPetSpellData (string spellname)
 Get pet spell object based on name.
static GatheringResult GetGatheringPointData (string name)
 Retrieves gathering point data based on the specified name.
static string GetAuraNameById (uint spellId)
 Gets a auras english name by id.
static AuraResult GetAuraResultById (uint spellId)
 Retrieves an AuraResult object associated with the specified spell ID.
static Item GetItem (uint itemId, bool highQuality=false)
 Get item object based on id.
static Item GetItem (string itemName)
 Get item object based on name.
static void FindChanged< T > (IntPtr obj1, IntPtr obj2, int length, T value1, T value2)
static void FindChangedByte< T > (IntPtr obj1, int length, T value1, T value2)
static void FindSame< T > (IntPtr[] pointers, int length=0x1000, bool ignoreZero=true)
static string GetStringByIndex (IntPtr Pointer, uint Index)
 Retrieves a string from memory at the given pointer and index, reading UTF-8 encoded text.

Static Public Attributes

static readonly LocalizedDictionary< uint, SpellDataSpellCache = new LocalizedDictionary<uint, SpellData>()
 Dictionary containing spellobjects stored by id and english name and the current localized name.
static readonly Dictionary< uint, SpellDataBlueMageSpells = new Dictionary<uint, SpellData>()
 Represents a collection of spells exclusive to the Blue Mage class in the game. This dictionary maps the unique identifier of each spell to its associated data.
static readonly LocalizedDictionary< uint, SpellDataSpellsWithJobsCache = new LocalizedDictionary<uint, SpellData>()
 Dictionary containing spellobjects that have a job type associated with them.
static readonly LocalizedDictionary< uint, PetSpellDataPetSpellCache = new LocalizedDictionary<uint, PetSpellData>()
 All the spelldata for pets.
static readonly Dictionary< uint, BattleNPCResultBattleNPCCache = new Dictionary<uint, BattleNPCResult>()
 Dictionary containing BattleNPCs stored by id.
static readonly Dictionary< uint, EventNPCResultEventNPCCache = new Dictionary<uint, EventNPCResult>()
 Dictionary containing EventNPCs stored by id.
static readonly LocalizedDictionary< GatheringType, GatheringResultGatheringCache = new LocalizedDictionary<GatheringType, GatheringResult>()
 Dictionary containing GatheringResult stored by GatheringType.
static readonly LocalizedDictionary< uint, ItemItemCache = new LocalizedDictionary<uint, Item>()
 Dictionary containing itemobjects stored by id and english name and current language.
static readonly Dictionary< uint, CompletionResultCompletionCache = new Dictionary<uint, CompletionResult>()
 Represents a cache that stores completion data for various entries, indexed by their unique identifier.
static readonly LocalizedDictionary< uint, AuraResultAuraCache = new LocalizedDictionary<uint, AuraResult>()
 Dictionary containing auras in their english name sorted by id.
static readonly LocalizedDictionary< uint, AetheryteResultAetheryteCache = new LocalizedDictionary<uint, AetheryteResult>()
 A localized dictionary that provides mappings between Aetheryte IDs and their associated locale-based data, such as names and additional Aetheryte-specific results. This cache is used extensively throughout the game for handling Aetheryte teleportation data, zone-specific mappings, and localization support.
static readonly Dictionary< uint, MountResultMountCache = new Dictionary<uint, MountResult>()
 Contains a cache of mount data, indexed by mount ID.
static MultiKeyDictionary< uint, ushort, QuestResultQuestCache = new MultiKeyDictionary<uint, ushort, QuestResult>()
 Provides a cache for managing quest data, allowing quick lookup of quest information based on a combination of unique identifiers.
static Dictionary< uint, ExitResultExitResults = new Dictionary<uint, ExitResult>()
 Contains a collection of exit results mapped by their unique identifiers.
static Dictionary< uint, List< ExitResult > > ExitResultsSorted = new Dictionary<uint, List<ExitResult>>()
 A dictionary that organizes exit results by their associated zone IDs. Each key represents a zone ID, and the associated value is a list of ExitResult objects that correspond to exits within that zone. Utilized for navigation and accessing location-specific exit data.
static Dictionary< uint, LandingResultLandingResults = new Dictionary<uint, LandingResult>()
 Contains a collection of landing result data indexed by unique identifiers. This is used to store and retrieve information about landing locations within the navigation system.
static Dictionary< uint, ZoneTransitionResultZoneTransitionResults = new Dictionary<uint, ZoneTransitionResult>()
 Stores a collection of zone transition results indexed by unique zone identifiers.
static Dictionary< uint, PurifyDBResultPurifyyDBResults = new Dictionary<uint, PurifyDBResult>()
 Contains a collection of PurifyDBResult objects mapped by their unique identifier. Utilized for managing and accessing purification data results in the application.
static Dictionary< uint, InstanceContentResultInstanceContentResults = new Dictionary<uint, InstanceContentResult>()
 Retrieves a dictionary containing information about instance content within the game. The keys represent the unique identifier for each instance content, and the values provide localized result details. This data can be used to determine available instance content and their properties.
static Dictionary< uint, ZoneNameResultZoneNameResults = new Dictionary<uint, ZoneNameResult>()
 Stores a collection of zone name results mapped by their unique identifiers. Used for retrieving localized zone names and related metadata throughout the application.
static byte[] oldBytes

Properties

static Language CurrentLanguage [get]
 Get the games current locale.

Detailed Description

Class handles getting spell,item, and aura data based on id or name.

Member Function Documentation

◆ FindChanged< T >()

void ff14bot.Managers.DataManager.FindChanged< T > ( IntPtr obj1,
IntPtr obj2,
int length,
T value1,
T value2 )
static
Type Constraints
T :struct 

◆ FindChangedByte< T >()

void ff14bot.Managers.DataManager.FindChangedByte< T > ( IntPtr obj1,
int length,
T value1,
T value2 )
static
Type Constraints
T :struct 

◆ FindSame< T >()

void ff14bot.Managers.DataManager.FindSame< T > ( IntPtr[] pointers,
int length = 0x1000,
bool ignoreZero = true )
static
Type Constraints
T :struct 

◆ GetAuraNameById()

string ff14bot.Managers.DataManager.GetAuraNameById ( uint spellId)
static

Gets a auras english name by id.

Parameters
spellId
Returns
null if could not be found

◆ GetAuraResultById()

AuraResult ff14bot.Managers.DataManager.GetAuraResultById ( uint spellId)
static

Retrieves an AuraResult object associated with the specified spell ID.

Parameters
spellIdThe unique identifier of the spell.
Returns
The corresponding AuraResult if the spell ID exists in the cache; otherwise, null.

◆ GetBattleNPCData()

BattleNPCResult ff14bot.Managers.DataManager.GetBattleNPCData ( uint NPCId)
static

Gets BattleNPCResult information based on id.

Parameters
NPCId
Returns
null if BattleNPCResult could not be found

◆ GetEventNPCData()

EventNPCResult ff14bot.Managers.DataManager.GetEventNPCData ( uint NPCId)
static

Gets EventNPCResult information based on id.

Parameters
NPCId
Returns
null if EventNPCResult could not be found

◆ GetGatheringPointData()

GatheringResult ff14bot.Managers.DataManager.GetGatheringPointData ( string name)
static

Retrieves gathering point data based on the specified name.

Parameters
nameThe name of the gathering point.
Returns
A GatheringResult object containing information about the gathering point, or null if not found.

◆ GetItem() [1/2]

Item ff14bot.Managers.DataManager.GetItem ( string itemName)
static

Get item object based on name.

Parameters
itemName
Returns
null if could not be found

◆ GetItem() [2/2]

Item ff14bot.Managers.DataManager.GetItem ( uint itemId,
bool highQuality = false )
static

Get item object based on id.

Parameters
itemId
highQualityTrue if the item is high quality
Returns
null if could not be found

◆ GetLocalizedNPCName()

string ff14bot.Managers.DataManager.GetLocalizedNPCName ( int id)
static

Retrieves the localized name of an NPC based on its ID.

Parameters
idThe ID of the NPC.
Returns
The localized name of the NPC if found; otherwise, null.

◆ GetLocalizedQuestName() [1/2]

string ff14bot.Managers.DataManager.GetLocalizedQuestName ( int id)
static

Retrieves the localized name of a quest based on its ID.

Parameters
idThe ID of the quest.
Returns
The localized name of the quest if found; otherwise, null.

◆ GetLocalizedQuestName() [2/2]

string ff14bot.Managers.DataManager.GetLocalizedQuestName ( ushort id)
static

Retrieves the localized name of a quest based on its unique identifier.

Parameters
idThe unique identifier of the quest.
Returns
The localized name of the quest if found, otherwise null.

◆ GetMountData()

MountResult ff14bot.Managers.DataManager.GetMountData ( uint mountId)
static

Retrieves mount data based on the specified mount ID.

Parameters
mountIdThe unique identifier of the mount.
Returns
A MountResult object containing data about the mount if found; otherwise, null.

◆ GetPetSpellData()

PetSpellData ff14bot.Managers.DataManager.GetPetSpellData ( string spellname)
static

Get pet spell object based on name.

Parameters
spellname
Returns
null if spell could not be found

◆ GetSpellData() [1/2]

SpellData ff14bot.Managers.DataManager.GetSpellData ( string spellname)
static

Get spell object based on name.

Parameters
spellname
Returns
null if spell could not be found

◆ GetSpellData() [2/2]

SpellData ff14bot.Managers.DataManager.GetSpellData ( uint spellId)
static

Get spell object based on id.

Parameters
spellId
Returns
null if spell could not be found

◆ GetStringByIndex()

string ff14bot.Managers.DataManager.GetStringByIndex ( IntPtr Pointer,
uint Index )
static

Retrieves a string from memory at the given pointer and index, reading UTF-8 encoded text.

Parameters
PointerThe memory address from which the string is to be read.
IndexThe zero-based index used to locate the desired string at the specified memory address.
Returns
The string located at the provided pointer and index.

Member Data Documentation

◆ AetheryteCache

readonly LocalizedDictionary<uint, AetheryteResult> ff14bot.Managers.DataManager.AetheryteCache = new LocalizedDictionary<uint, AetheryteResult>()
static

A localized dictionary that provides mappings between Aetheryte IDs and their associated locale-based data, such as names and additional Aetheryte-specific results. This cache is used extensively throughout the game for handling Aetheryte teleportation data, zone-specific mappings, and localization support.

◆ AuraCache

readonly LocalizedDictionary<uint, AuraResult> ff14bot.Managers.DataManager.AuraCache = new LocalizedDictionary<uint, AuraResult>()
static

Dictionary containing auras in their english name sorted by id.

◆ BattleNPCCache

readonly Dictionary<uint, BattleNPCResult> ff14bot.Managers.DataManager.BattleNPCCache = new Dictionary<uint, BattleNPCResult>()
static

Dictionary containing BattleNPCs stored by id.

◆ BlueMageSpells

readonly Dictionary<uint,SpellData> ff14bot.Managers.DataManager.BlueMageSpells = new Dictionary<uint, SpellData>()
static

Represents a collection of spells exclusive to the Blue Mage class in the game. This dictionary maps the unique identifier of each spell to its associated data.

◆ CompletionCache

readonly Dictionary<uint, CompletionResult> ff14bot.Managers.DataManager.CompletionCache = new Dictionary<uint, CompletionResult>()
static

Represents a cache that stores completion data for various entries, indexed by their unique identifier.

◆ EventNPCCache

readonly Dictionary<uint, EventNPCResult> ff14bot.Managers.DataManager.EventNPCCache = new Dictionary<uint, EventNPCResult>()
static

Dictionary containing EventNPCs stored by id.

◆ ExitResults

Dictionary<uint, ExitResult> ff14bot.Managers.DataManager.ExitResults = new Dictionary<uint, ExitResult>()
static

Contains a collection of exit results mapped by their unique identifiers.

◆ ExitResultsSorted

Dictionary<uint, List<ExitResult> > ff14bot.Managers.DataManager.ExitResultsSorted = new Dictionary<uint, List<ExitResult>>()
static

A dictionary that organizes exit results by their associated zone IDs. Each key represents a zone ID, and the associated value is a list of ExitResult objects that correspond to exits within that zone. Utilized for navigation and accessing location-specific exit data.

◆ GatheringCache

readonly LocalizedDictionary<GatheringType, GatheringResult> ff14bot.Managers.DataManager.GatheringCache = new LocalizedDictionary<GatheringType, GatheringResult>()
static

Dictionary containing GatheringResult stored by GatheringType.

◆ InstanceContentResults

Dictionary<uint, InstanceContentResult> ff14bot.Managers.DataManager.InstanceContentResults = new Dictionary<uint, InstanceContentResult>()
static

Retrieves a dictionary containing information about instance content within the game. The keys represent the unique identifier for each instance content, and the values provide localized result details. This data can be used to determine available instance content and their properties.

◆ ItemCache

readonly LocalizedDictionary<uint, Item> ff14bot.Managers.DataManager.ItemCache = new LocalizedDictionary<uint, Item>()
static

Dictionary containing itemobjects stored by id and english name and current language.

◆ LandingResults

Dictionary<uint, LandingResult> ff14bot.Managers.DataManager.LandingResults = new Dictionary<uint, LandingResult>()
static

Contains a collection of landing result data indexed by unique identifiers. This is used to store and retrieve information about landing locations within the navigation system.

◆ MountCache

readonly Dictionary<uint, MountResult> ff14bot.Managers.DataManager.MountCache = new Dictionary<uint, MountResult>()
static

Contains a cache of mount data, indexed by mount ID.

◆ oldBytes

byte [] ff14bot.Managers.DataManager.oldBytes
static

◆ PetSpellCache

readonly LocalizedDictionary<uint, PetSpellData> ff14bot.Managers.DataManager.PetSpellCache = new LocalizedDictionary<uint, PetSpellData>()
static

All the spelldata for pets.

◆ PurifyyDBResults

Dictionary<uint, PurifyDBResult> ff14bot.Managers.DataManager.PurifyyDBResults = new Dictionary<uint, PurifyDBResult>()
static

Contains a collection of PurifyDBResult objects mapped by their unique identifier. Utilized for managing and accessing purification data results in the application.

◆ QuestCache

MultiKeyDictionary<uint, ushort, QuestResult> ff14bot.Managers.DataManager.QuestCache = new MultiKeyDictionary<uint, ushort, QuestResult>()
static

Provides a cache for managing quest data, allowing quick lookup of quest information based on a combination of unique identifiers.

◆ SpellCache

readonly LocalizedDictionary<uint, SpellData> ff14bot.Managers.DataManager.SpellCache = new LocalizedDictionary<uint, SpellData>()
static

Dictionary containing spellobjects stored by id and english name and the current localized name.

◆ SpellsWithJobsCache

readonly LocalizedDictionary<uint, SpellData> ff14bot.Managers.DataManager.SpellsWithJobsCache = new LocalizedDictionary<uint, SpellData>()
static

Dictionary containing spellobjects that have a job type associated with them.

◆ ZoneNameResults

Dictionary<uint, ZoneNameResult> ff14bot.Managers.DataManager.ZoneNameResults = new Dictionary<uint, ZoneNameResult>()
static

Stores a collection of zone name results mapped by their unique identifiers. Used for retrieving localized zone names and related metadata throughout the application.

◆ ZoneTransitionResults

Dictionary<uint, ZoneTransitionResult> ff14bot.Managers.DataManager.ZoneTransitionResults = new Dictionary<uint, ZoneTransitionResult>()
static

Stores a collection of zone transition results indexed by unique zone identifiers.

Property Documentation

◆ CurrentLanguage

Language ff14bot.Managers.DataManager.CurrentLanguage
staticget

Get the games current locale.