Difference between revisions of "Lua:registerCustomTypeAutoAssembler"
Jump to navigation
Jump to search
(Created page with ''''function''' registerCustomTypeAutoAssembler(''typename'', ''bytecount'', ''autoassemblerscript'') Registers a custom variable type based on one auto assembler script ===Fun…') |
(No difference)
|
Revision as of 22:02, 18 May 2012
function registerCustomTypeAutoAssembler(typename, bytecount, autoassemblerscript)
Registers a custom variable type based on one auto assembler script
Function Parameters
Parameter | Type | Description |
---|---|---|
typename | string | Name of the custom type |
bytecount | integer | The number of bytes this variable contains |
bytestovaluefunction | function | Declared as function (b1,b2,b3,b4,...). Must return an integer representing what those bytes mean |
autoassemblerscript | string | Auto assembler custom type script |