Méthode | Description | |
---|---|---|
Check ( Stream stream, string luaFileName ) : void |
Check the specified luaCode in stream to see, if there are any errors.
|
|
Check ( string luaCode, string luaFileName ) : void |
Check the specified luaCode to see, if there are any errors.
|
|
Compile ( string luaCode, string fileName = "Cartridge" ) : byte[] | ||
Extract ( Stream stream ) : |
Extract cartridge data from specified luaCode in given stream.
|
|
Extract ( string luaCode ) : |
Extract cartridge data from the given specified luaCode in given string.
|
Méthode | Description | |
---|---|---|
ConvertToPlain ( string luaCode ) : string |
Converts the original Lua code to a plain version. Replace all - |
|
ExtractDirectives ( LuaTable directives ) : List |
Extracts the directives for a given media resource.
|
|
ExtractMedia ( LuaTable obj ) : |
Extracts the media from the Lua code.
|
|
ExtractMediaResources ( LuaTable resources ) : List |
Extracts the media resources from Lua.
|
public static Check ( Stream stream, string luaFileName ) : void | ||
stream | Stream | |
luaFileName | string | |
Résultat | void |
public static Check ( string luaCode, string luaFileName ) : void | ||
luaCode | string | String with Lua code to check. |
luaFileName | string | |
Résultat | void |
public static Compile ( string luaCode, string fileName = "Cartridge" ) : byte[] | ||
luaCode | string | |
fileName | string | |
Résultat | byte[] |
public static Extract ( Stream stream ) : |
||
stream | Stream | |
Résultat |
public static Extract ( string luaCode ) : |
||
luaCode | string | String with Lua code. |
Résultat |