GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Use Transmission Serialisation to create compressed import format

TimothyLuke opened this issue ยท 1 comments

commented

The current macro format is a pure LUA table that is imported and executed. This is good but is troublesome to cut and paste. Browsers have different interpretations of spaces and tabs. There are also language difficulties. Each spell has an ID that is currently tied to language tables. This format could be used instead of the Spell Names making the macro Internation without the need for the overhead of the translator.

WeakAuras uses a compressed version of this for transmission and import. Look at this as a way of importing a macro as an alternative to the current sequence definition. Mod authors could then also potentially distribute their macros in serialised form if they wanted to make it read only.

  • Move the serialisation functions to new API from Transmission.lua
  • Update import and export processes to use serialisation
  • Update samples to be Serialised versions
commented

Originally planned for Spell id to replace the spell in the name. will leave that for a future change.