Difference between revisions of "Lua:registerCustomTypeAutoAssembler"

From Cheat Engine
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…')
 
(Related Functions)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 +
'''function''' registerCustomTypeAutoAssembler(''autoassemblerscript'')
 +
 
'''function''' registerCustomTypeAutoAssembler(''typename'', ''bytecount'', ''autoassemblerscript'')
 
'''function''' registerCustomTypeAutoAssembler(''typename'', ''bytecount'', ''autoassemblerscript'')
  
Line 17: Line 20:
 
|integer
 
|integer
 
|The number of bytes this variable contains
 
|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
 
|autoassemblerscript
Line 28: Line 27:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[registerCustomTypeLua]]
+
 
* [[Lua]]
+
=== Related Functions ===
 +
* [[Lua:registerCustomTypeLua|registerCustomTypeLua]]

Latest revision as of 01:16, 25 January 2018

function registerCustomTypeAutoAssembler(autoassemblerscript)

function registerCustomTypeAutoAssembler(typename, bytecount, autoassemblerscript)

Registers a custom variable type based on one auto assembler script


Function Parameters[edit]

Parameter Type Description
typename string Name of the custom type
bytecount integer The number of bytes this variable contains
autoassemblerscript string Auto assembler custom type script


See also[edit]

Related Functions[edit]