Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
memory.h File Reference

Memory related functions for scripts. More...

#include "../Common/Common.h"
#include "PhasorAPI.h"
#include <list>

Go to the source code of this file.

Functions

void l_readbit (PHASOR_API_ARGS)
 Reads a bit from the specified memory address.
 
void l_readbyte (PHASOR_API_ARGS)
 Reads a byte from the specified memory address.
 
void l_readchar (PHASOR_API_ARGS)
 Reads a char from the specified memory address.
 
void l_readword (PHASOR_API_ARGS)
 Reads a word from the specified memory address.
 
void l_readshort (PHASOR_API_ARGS)
 Reads a short from the specified memory address.
 
void l_readdword (PHASOR_API_ARGS)
 Reads a dword from the specified memory address.
 
void l_readint (PHASOR_API_ARGS)
 Reads an int from the specified memory address.
 
void l_readfloat (PHASOR_API_ARGS)
 Reads a float from the specified memory address.
 
void l_readdouble (PHASOR_API_ARGS)
 Reads a double from the specified memory address.
 
void l_readstring (PHASOR_API_ARGS)
 Reads a string from the specified memory address.
 
void l_readwidestring (PHASOR_API_ARGS)
 Reads a wide string from the specified memory address.
 
void l_writebit (PHASOR_API_ARGS)
 Writes a bit to the specified memory address.
 
void l_writebyte (PHASOR_API_ARGS)
 Writes a byte to the specified memory address.
 
void l_writechar (PHASOR_API_ARGS)
 Writes a char to the specified memory address.
 
void l_writeword (PHASOR_API_ARGS)
 Writes a word to the specified memory address.
 
void l_writeshort (PHASOR_API_ARGS)
 Writes a short to the specified memory address.
 
void l_writedword (PHASOR_API_ARGS)
 Writes a dword to the specified memory address.
 
void l_writeint (PHASOR_API_ARGS)
 Writes an int to the specified memory address.
 
void l_writefloat (PHASOR_API_ARGS)
 Writes a float to the specified memory address.
 
void l_writedouble (PHASOR_API_ARGS)
 Writes a double to the specified memory address.
 
void l_writestring (PHASOR_API_ARGS)
 Writes a string to the specified memory address.
 
void l_writewidestring (PHASOR_API_ARGS)
 Writes a wide string to the specified memory address.
 

Detailed Description

Memory related functions for scripts.

As of 01.00.10.059 all read/write functions have been overloaded to optionally remove the need for the address offset. For such cases you shouldn't include address_offset and the address used will be exactly what's specified and not (base_address + address_offset) as in previous versions.

For example, the below are equivalent

readbyte(12345, 5)
readbyte(12350)

DEFINITIONS

Remarks
All string operations are limited to 80 characters at max.