User Tools

Site Tools



mashlib

This is an old revision of the document!


A collection of useful commands that are going to be necessary to run my future addons.

Structure

  MashLib = {
      Helpers, -- Helpful stuff
      System, -- FFXIV related stuff (servers, regions, etc)
      Character, -- Character related stuff
      API, -- API Requests
      Crafting, -- Crafting related stuff
      Gathering, -- Gathering related stuff
      Misc, -- Temporary values
      Battle, -- Battle related stuff
      Hacks -- Useful hacks
  }

API

  1. - Helpers –
  1. - Prints to the console (or file if enabled)
  2. - log → Text to log
  3. - type → string or block

MashLib.Helpers.Log(log, type)

  1. - Returns the time
  2. - type → epoch or formatted

MashLib.Helpers.GetTime(type)

  1. - Returns the time since

MashLib.Helpers.TimeSince(time)

  1. - Plays a soung – NOT YET IMPLEMENTED

MashLib.Helpers.PlaySound()

  1. - Returns this keyboard key's info

MashLib.Helpers.GetKeyInfo(key)

  1. - System –
  1. - Get an Encounter by ID

MashLib.Battle.GetEncounter(id)

  1. - Get a Job by ID

MashLib.System.GetJob(id)

  1. - Get the Job's ID by Name

MashLib.System.GetJobId(name)

  1. - Get a Server by ID

MashLib.System.GetServer(id)

  1. - Get a Region by Datacenter ID

MashLib.System.GetRegion(id)

  1. - Returns the usable (most common) keys from keyboard

MashLib.System.GetUsableKeys()

  1. - Character –
  1. - Returns this character's buff list

MashLib.Character.GetBuffList()

  1. - API
  1. - Get the API's info by Name

MashLib.API.GetEndpoint(name)

  1. - Crafting –
  1. - Gets a specific Condition's info by name, like it's name in chinese, per example.

MashLib.Crafting.GetCondition(name)

  1. - Gathering –
  2. - Battle –
  1. - Gets the encounter's info by ID

MashLib.Battle.GetEncounter(id)

  1. - Hacks –
  1. - Sets speed hacks
  2. - Default values → 20, 6, 9

MashLib.Hacks.SpeedHacks.Set(fly, walk, mount)

  1. - Resets speed hacks to default values

MashLib.Hacks.SpeedHacks.Reset()

mashlib.1610108370.txt.gz · Last modified: 2021/01/08 12:19 by masshirodev