Class l2df.class.parser.lffs2

Last updated 2021-05-28 15:24:22

Parser for LittleFighterForever syntax v2.

Inherited from l2df.class.parser.BaseParser class.

Info:

Functions

LffsParser:parse(str[, obj]) Method for parsing lffs formatted string.
LffsParser:dump(data[, offset=0]) Method for dumping table to lffs format.


Functions

Methods
LffsParser:parse(str[, obj])
Method for parsing lffs formatted string. You can extend existing object by passing it as second parameter.

Parameters:

  • str string String for parsing.
  • obj table Object to extend. (optional)

Returns:

    table
LffsParser:dump(data[, offset=0])
Method for dumping table to lffs format.

Parameters:

  • data table Table for dumping.
  • offset number Index to start from. (default 0)

Returns:

  1. string
  2. boolean