Lua:registerCustomTypeAutoAssembler
Jump to navigation
Jump to search
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 |