FFXIVLIB
0.4.1
FFXIVLIB is a library designed to help creating 3rd party tools for FFXIV
|
Public Member Functions | |
Chatlog | GetChatlog () |
This function instantiates a Chatlog object More... | |
Player | GetCompanionInfo () |
Entity | GetEntityById (int id) |
This function build an Entity object according to the position in the Entity array You may effectively loop by yourself on this function. More... | |
Entity | GetEntityInfo (int id) |
Deprecated, use getEntityById More... | |
IEnumerable< Entity > | GetEntityByName (string name) |
This function attempts to retrieve a list of Entity by its name in the Entity array This is potentially a costly call as we build a complete list to look for the Entity. This doesn't include Gathering nodes at the moment. To be fixed. More... | |
IEnumerable< Entity > | GetEntityByType (TYPE type) |
Retrieves a list of Entity corresponding to the given TYPE Needs to be refactored. More... | |
FFXIVLIB (int pid=0) | |
Instantiates a FFXIVLIB instance. PID is optionnal but required if multiple FFXIV process are running. More... | |
List< Inventory.ITEM > | GetSelfInventory () |
This returns your inventory, extra inventory (gil, crystals, tomes, seals), key items, calamity salvager and currently equipped items More... | |
List< Inventory.ITEM > | GetCurrentEquipment () |
This returns your currently equipped items. See EQUIP_POS enum. More... | |
List< Inventory.ITEM > | GetRetainerInventory () |
This returns your retainer inventory, extra inventory (gil, crystals) and what is up for sale. This only works while checking a retainer. More... | |
List< Inventory.ITEM > | GetArmoryChest () |
This returns your whole Armory Chest. More... | |
List< Inventory.ITEM > | GetCompanyInventory () |
This returns your Free Company inventory, extra inventory (currency, crystals) This only works while checking the Free Company chest. More... | |
byte[] | ReadMemory (IntPtr pointer, uint count) |
MovementHelper | GetMovementHelper (SendKeyInput.VKKeys leftKey=SendKeyInput.VKKeys.KEY_A, SendKeyInput.VKKeys rightKey=SendKeyInput.VKKeys.KEY_D, SendKeyInput.VKKeys forwardKey=SendKeyInput.VKKeys.KEY_W) |
Returns a MovementHelper instance ready for work. More... | |
PartyMember | GetPartyMemberInfo (int id) |
Deprecated, use getPartyMemberById More... | |
PartyMember | GetPartyMemberById (int id) |
This function retrieves a PartyMember by its id in the PartyMember array The result might be empty, there is no sanity check at the time More... | |
string | GetServerName () |
TL;DR : Returns current server, testing, might not work reliably. Longer version : This is set by the Lobby widgets, which no longer exist while in-game, as such the memory space they used can be under some condition garbage collected/wiped. More... | |
Player | GetPlayerInfo () |
This function retrieves the current Player info More... | |
void | SendKey (IntPtr key, bool keyup=true, int delay=100) |
This function sends a keystroke to the Final Fantasy XIV window More... | |
IntPtr | GetSigScan (byte[] signature) |
Finds address of specified signature This hasnt been tested in a long time More... | |
Target | GetTargets () |
This function retrieves the target array More... | |
Entity | GetPreviousTarget () |
This function retrieves the previous target More... | |
Entity | GetMouseoverTarget () |
This function retrieves the current Mouseover target More... | |
Entity | GetCurrentTarget () |
This function retrieves the current target More... | |
Entity | GetFocusTarget () |
This function retrieves the focus target More... | |
ffxivlib.FFXIVLIB.FFXIVLIB | ( | int | pid = 0 | ) |
Instantiates a FFXIVLIB instance. PID is optionnal but required if multiple FFXIV process are running.
pid | FFXIV PID (optionnal) |
List<Inventory.ITEM> ffxivlib.FFXIVLIB.GetArmoryChest | ( | ) |
This returns your whole Armory Chest.
Chatlog ffxivlib.FFXIVLIB.GetChatlog | ( | ) |
List<Inventory.ITEM> ffxivlib.FFXIVLIB.GetCompanyInventory | ( | ) |
This returns your Free Company inventory, extra inventory (currency, crystals) This only works while checking the Free Company chest.
List<Inventory.ITEM> ffxivlib.FFXIVLIB.GetCurrentEquipment | ( | ) |
This returns your currently equipped items. See EQUIP_POS enum.
Entity ffxivlib.FFXIVLIB.GetCurrentTarget | ( | ) |
This function retrieves the current target
Entity ffxivlib.FFXIVLIB.GetEntityById | ( | int | id | ) |
This function build an Entity object according to the position in the Entity array You may effectively loop by yourself on this function.
id | Position in the Entity Array, use Constants.ENTITY_ARRAY_SIZE as your max (exclusive) |
System.IndexOutOfRangeException | Out of range |
IEnumerable<Entity> ffxivlib.FFXIVLIB.GetEntityByName | ( | string | name | ) |
This function attempts to retrieve a list of Entity by its name in the Entity array This is potentially a costly call as we build a complete list to look for the Entity. This doesn't include Gathering nodes at the moment. To be fixed.
name | Name of the Entity to be retrieved |
Entity ffxivlib.FFXIVLIB.GetEntityInfo | ( | int | id | ) |
Deprecated, use getEntityById
id |
Entity ffxivlib.FFXIVLIB.GetFocusTarget | ( | ) |
This function retrieves the focus target
Entity ffxivlib.FFXIVLIB.GetMouseoverTarget | ( | ) |
This function retrieves the current Mouseover target
MovementHelper ffxivlib.FFXIVLIB.GetMovementHelper | ( | SendKeyInput.VKKeys | leftKey = SendKeyInput.VKKeys.KEY_A , |
SendKeyInput.VKKeys | rightKey = SendKeyInput.VKKeys.KEY_D , |
||
SendKeyInput.VKKeys | forwardKey = SendKeyInput.VKKeys.KEY_W |
||
) |
Returns a MovementHelper instance ready for work.
leftKey | Left key (default: A) |
rightKey | Right key (default: D) |
forwardKey | Forward key (default: W) |
PartyMember ffxivlib.FFXIVLIB.GetPartyMemberById | ( | int | id | ) |
This function retrieves a PartyMember by its id in the PartyMember array The result might be empty, there is no sanity check at the time
id | Position in the PartyMember Array, use Constants.PARTY_MEMBER_ARRAY_SIZE as your max (exclusive) |
System.IndexOutOfRangeException | Out of range |
PartyMember ffxivlib.FFXIVLIB.GetPartyMemberInfo | ( | int | id | ) |
Deprecated, use getPartyMemberById
id |
Player ffxivlib.FFXIVLIB.GetPlayerInfo | ( | ) |
Entity ffxivlib.FFXIVLIB.GetPreviousTarget | ( | ) |
This function retrieves the previous target
List<Inventory.ITEM> ffxivlib.FFXIVLIB.GetRetainerInventory | ( | ) |
This returns your retainer inventory, extra inventory (gil, crystals) and what is up for sale. This only works while checking a retainer.
List<Inventory.ITEM> ffxivlib.FFXIVLIB.GetSelfInventory | ( | ) |
This returns your inventory, extra inventory (gil, crystals, tomes, seals), key items, calamity salvager and currently equipped items
string ffxivlib.FFXIVLIB.GetServerName | ( | ) |
TL;DR : Returns current server, testing, might not work reliably. Longer version : This is set by the Lobby widgets, which no longer exist while in-game, as such the memory space they used can be under some condition garbage collected/wiped.
IntPtr ffxivlib.FFXIVLIB.GetSigScan | ( | byte[] | signature | ) |
Finds address of specified signature This hasnt been tested in a long time
signature | Signature to look for |
Target ffxivlib.FFXIVLIB.GetTargets | ( | ) |
This function retrieves the target array
void ffxivlib.FFXIVLIB.SendKey | ( | IntPtr | key, |
bool | keyup = true , |
||
int | delay = 100 |
||
) |
This function sends a keystroke to the Final Fantasy XIV window
key | Key to press (see Virtual Key Codes for information) |
keyup | Should we keyup after keydown (default: true) |
delay | (Optional) Delay between keypress down and keypress up |