Decompiler for field maps.
More...
#include <FieldDecompiler.h>
Decompiler for field maps.
◆ Decompile()
Decompiles a field script.
- Parameters
-
[in] | script_name | Name of the script to be converted, should match file name. |
[in] | script_bytes | Vector of raw byte data that makes up the script. |
[in] | formatter | Formatter used to rename variables, drop functions... |
[in] | text_after | Raw text that is added at to the end of the decompiled output. |
[in] | text_before | Raw text that is added at to the start of the decompiled output. |
- Returns
- A string with the decompiled script.
- Exceptions
-
◆ ScaleFactor()
float FieldDecompiler::ScaleFactor |
( |
const std::vector< unsigned char > & |
script_bytes | ) |
|
|
static |
Retrieves the scale factor of a field.
- Parameters
-
[in] | script_bytes | Vector of raw byte data that makes up the script. |
- Returns
- The scale fctor.
The documentation for this class was generated from the following files: