Difference between revisions of "Template:ReadWriteMemory"

From Cheat Engine
Jump to navigation Jump to search
m (Removed duplicate.)
(Major overhaul of the template.)
Line 1: Line 1:
{| class="wikitable" style="border:1px solid #4A90E2; background:#E8F2FF; font-family:monospace;"
+
<div style="border:1px solid #4A90E2; background:#F7FBFF; margin:0.8em 0; font-family:monospace; max-width:980px;">
! colspan="1" style="background:#D0E4FF; font-weight:bold;" | Read Functions
+
<div style="background:#E8F2FF; color:#1F4E79; font-weight:bold; padding:0.55em 0.75em; border-bottom:1px solid #4A90E2; font-size:1.05em;">
|-
+
Memory Access Related Lua Functions
| [[Lua:readBytes|readBytes]]
+
</div>
|-
+
 
| [[Lua:readSmallInteger|readSmallInteger]]
+
<div style="display:flex; flex-wrap:wrap; gap:0.75em; padding:0.75em;">
|-
+
 
| [[Lua:readInteger|readInteger]]
+
<div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;">
|-
+
<div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;">
| [[Lua:readQword|readQword]]
+
Read Functions
|-
+
</div>
| [[Lua:readPointer|readPointer]]
+
<ul style="margin:0.5em 0 0.6em 1.6em; padding:0;">
|-
+
<li>[[Lua:readBytes|readBytes]]</li>
| [[Lua:readFloat|readFloat]]
+
<li>[[Lua:readSmallInteger|readSmallInteger]]</li>
|-
+
<li>[[Lua:readInteger|readInteger]]</li>
| [[Lua:readDouble|readDouble]]
+
<li>[[Lua:readQword|readQword]]</li>
|-
+
<li>[[Lua:readPointer|readPointer]]</li>
| [[Lua:readString|readString]]
+
<li>[[Lua:readFloat|readFloat]]</li>
|-
+
<li>[[Lua:readDouble|readDouble]]</li>
! colspan="1" style="background:#D0E4FF; font-weight:bold;" | Read Functions (Local Process)
+
<li>[[Lua:readString|readString]]</li>
|-
+
</ul>
| [[Lua:readBytesLocal|readBytesLocal]]
+
</div>
|-
+
 
| [[Lua:readIntegerLocal|readIntegerLocal]]
+
<div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;">
|-
+
<div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;">
| [[Lua:readQwordLocal|readQwordLocal]]
+
Read Functions <span style="font-weight:normal;">(Local Process)</span>
|-
+
</div>
| [[Lua:readPointerLocal|readPointerLocal]]
+
<ul style="margin:0.5em 0 0.6em 1.6em; padding:0;">
|-
+
<li>[[Lua:readBytesLocal|readBytesLocal]]</li>
| [[Lua:readFloatLocal|readFloatLocal]]
+
<li>[[Lua:readIntegerLocal|readIntegerLocal]]</li>
|-
+
<li>[[Lua:readQwordLocal|readQwordLocal]]</li>
| [[Lua:readDoubleLocal|readDoubleLocal]]
+
<li>[[Lua:readPointerLocal|readPointerLocal]]</li>
|-
+
<li>[[Lua:readFloatLocal|readFloatLocal]]</li>
| [[Lua:readStringLocal|readStringLocal]]
+
<li>[[Lua:readDoubleLocal|readDoubleLocal]]</li>
|-
+
<li>[[Lua:readStringLocal|readStringLocal]]</li>
! colspan="1" style="background:#D0E4FF; font-weight:bold;" | Write Functions
+
</ul>
|-
+
</div>
| [[Lua:writeBytes|writeBytes]]
+
 
|-
+
<div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;">
| [[Lua:writeSmallInteger|writeSmallInteger]]
+
<div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;">
|-
+
Write Functions
| [[Lua:writeInteger|writeInteger]]
+
</div>
|-
+
<ul style="margin:0.5em 0 0.6em 1.6em; padding:0;">
| [[Lua:writeQword|writeQword]]
+
<li>[[Lua:writeBytes|writeBytes]]</li>
|-
+
<li>[[Lua:writeSmallInteger|writeSmallInteger]]</li>
| [[Lua:writeFloat|writeFloat]]
+
<li>[[Lua:writeInteger|writeInteger]]</li>
|-
+
<li>[[Lua:writeQword|writeQword]]</li>
| [[Lua:writeDouble|writeDouble]]
+
<li>[[Lua:writeFloat|writeFloat]]</li>
|-
+
<li>[[Lua:writeDouble|writeDouble]]</li>
| [[Lua:writeString|writeString]]
+
<li>[[Lua:writeString|writeString]]</li>
|-
+
</ul>
! colspan="1" style="background:#D0E4FF; font-weight:bold;" | Write Functions (Local Process)
+
</div>
|-
+
 
| [[Lua:writeBytesLocal|writeBytesLocal]]
+
<div style="flex:1 1 260px; min-width:240px; border:1px solid #C7DDF7; background:#FFFFFF;">
|-
+
<div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;">
| [[Lua:writeIntegerLocal|writeIntegerLocal]]
+
Write Functions <span style="font-weight:normal;">(Local Process)</span>
|-
+
</div>
| [[Lua:writeQwordLocal|writeQwordLocal]]
+
<ul style="margin:0.5em 0 0.6em 1.6em; padding:0;">
|-
+
<li>[[Lua:writeBytesLocal|writeBytesLocal]]</li>
| [[Lua:writeFloatLocal|writeFloatLocal]]
+
<li>[[Lua:writeIntegerLocal|writeIntegerLocal]]</li>
|-
+
<li>[[Lua:writeQwordLocal|writeQwordLocal]]</li>
| [[Lua:writeDoubleLocal|writeDoubleLocal]]
+
<li>[[Lua:writeFloatLocal|writeFloatLocal]]</li>
|-
+
<li>[[Lua:writeDoubleLocal|writeDoubleLocal]]</li>
| [[Lua:writeStringLocal|writeStringLocal]]
+
<li>[[Lua:writeStringLocal|writeStringLocal]]</li>
|-
+
</ul>
! colspan="1" style="background:#D0E4FF; font-weight:bold;" | Byte Table Conversions (Value → Byte Table)
+
</div>
|-
+
 
| [[Lua:wordToByteTable|wordToByteTable]]
+
<div style="flex:1 1 360px; min-width:300px; border:1px solid #C7DDF7; background:#FFFFFF;">
|-
+
<div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;">
| [[Lua:dwordToByteTable|dwordToByteTable]]
+
Byte Table Conversions <span style="font-weight:normal;">(Value → Byte Table)</span>
|-
+
</div>
| [[Lua:qwordToByteTable|qwordToByteTable]]
+
<ul style="margin:0.5em 0 0.6em 1.6em; padding:0;">
|-
+
<li>[[Lua:wordToByteTable|wordToByteTable]]</li>
| [[Lua:floatToByteTable|floatToByteTable]]
+
<li>[[Lua:dwordToByteTable|dwordToByteTable]]</li>
|-
+
<li>[[Lua:qwordToByteTable|qwordToByteTable]]</li>
| [[Lua:doubleToByteTable|doubleToByteTable]]
+
<li>[[Lua:floatToByteTable|floatToByteTable]]</li>
|-
+
<li>[[Lua:doubleToByteTable|doubleToByteTable]]</li>
| [[Lua:stringToByteTable|stringToByteTable]]
+
<li>[[Lua:stringToByteTable|stringToByteTable]]</li>
|-
+
<li>[[Lua:wideStringToByteTable|wideStringToByteTable]]</li>
| [[Lua:wideStringToByteTable|wideStringToByteTable]]
+
</ul>
|-
+
</div>
! colspan="1" style="background:#D0E4FF; font-weight:bold;" | Byte Table Conversions (Byte Table → Value)
+
 
|-
+
<div style="flex:1 1 360px; min-width:300px; border:1px solid #C7DDF7; background:#FFFFFF;">
| [[Lua:byteTableToWord|byteTableToWord]]
+
<div style="background:#D0E4FF; color:#1F4E79; font-weight:bold; padding:0.4em 0.6em; border-bottom:1px solid #C7DDF7;">
|-
+
Byte Table Conversions <span style="font-weight:normal;">(Byte Table → Value)</span>
| [[Lua:byteTableToDword|byteTableToDword]]
+
</div>
|-
+
<ul style="margin:0.5em 0 0.6em 1.6em; padding:0;">
| [[Lua:byteTableToQword|byteTableToQword]]
+
<li>[[Lua:byteTableToWord|byteTableToWord]]</li>
|-
+
<li>[[Lua:byteTableToDword|byteTableToDword]]</li>
| [[Lua:byteTableToFloat|byteTableToFloat]]
+
<li>[[Lua:byteTableToQword|byteTableToQword]]</li>
|-
+
<li>[[Lua:byteTableToFloat|byteTableToFloat]]</li>
| [[Lua:byteTableToDouble|byteTableToDouble]]
+
<li>[[Lua:byteTableToDouble|byteTableToDouble]]</li>
|-
+
<li>[[Lua:byteTableToString|byteTableToString]]</li>
| [[Lua:byteTableToString|byteTableToString]]
+
<li>[[Lua:byteTableToWideString|byteTableToWideString]]</li>
|-
+
</ul>
| [[Lua:byteTableToWideString|byteTableToWideString]]
+
</div>
|}
+
 
 +
</div>
 +
</div>

Revision as of 20:30, 24 June 2026