C# Class MemoryEditor.Memory

Mostrar archivo Open project: Necrophagos/SF4ComboTrainer

Public Methods

Method Description
BaseAddress ( ) : int
BaseAddress ( string sModuleName ) : int
BytesEqual ( byte bBytes_1, byte bBytes_2 ) : bool
CalculateStaticAddress ( int iStaticOffset ) : int
CalculateStaticAddress ( int iStaticOffset, string sModuleName ) : int
CalculateStaticAddress ( string sStaticOffset ) : int
CalculateStaticAddress ( string sStaticOffset, string sModuleName ) : int
Dec ( int iHex ) : int
Dec ( string sHex ) : int
EntryPoint ( ) : int
EntryPoint ( string sModuleName ) : int
FileVersion ( ) : string
GetModules ( ) : ProcessModuleCollection
Hex ( int iDec ) : string
Hex ( string sDec ) : string
IsNumeric ( string sNumber ) : bool
MemorySize ( ) : int
MemorySize ( string sModuleName ) : int
NOP ( int iMemoryAddress, int iLength ) : bool
NOP ( int iMemoryAddress, int iOffsets, int iLength ) : bool
Name ( ) : string
OpenProcess ( ) : bool
OpenProcess ( int iProcessID ) : bool
OpenProcess ( string sProcessName ) : bool
PID ( ) : int
ReadAOB ( int iMemoryAddress, int iOffsets, uint iBytesToRead ) : byte[]
ReadAOB ( int iMemoryAddress, uint iBytesToRead ) : byte[]
ReadByte ( int iMemoryAddress ) : byte
ReadByte ( int iMemoryAddress, int iOffsets ) : byte
ReadDouble ( int iMemoryAddress ) : double
ReadDouble ( int iMemoryAddress, int iOffsets ) : double
ReadFloat ( int iMemoryAddress ) : float
ReadFloat ( int iMemoryAddress, int iOffsets ) : float
ReadInt ( int iMemoryAddress ) : uint
ReadInt ( int iMemoryAddress, int iOffsets ) : uint
ReadLong ( int iMemoryAddress ) : long
ReadLong ( int iMemoryAddress, int iOffsets ) : long
ReadShort ( int iMemoryAddress ) : ushort
ReadShort ( int iMemoryAddress, int iOffsets ) : ushort
ReadString ( int iMemoryAddress, uint iTextLength, int iMode ) : string
ReadText ( int iMemoryAddress, int iOffsets, uint iStringLength, int iMode ) : string
ReverseBytes ( byte bOriginalBytes ) : byte[]
SID ( ) : int
StartTime ( ) : string
Write ( int iMemoryAddress, byte bByteToWrite ) : bool
Write ( int iMemoryAddress, double iDoubleToWrite ) : bool
Write ( int iMemoryAddress, float iFloatToWrite ) : bool
Write ( int iMemoryAddress, int iIntToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, byte bByteToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, double iDoubleToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, float iFloatToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, int iIntToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, long iLongToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, short iShortToWrite ) : bool
Write ( int iMemoryAddress, int iOffsets, string sStringToWrite, int iMode ) : bool
Write ( int iMemoryAddress, long iLongToWrite ) : bool
Write ( int iMemoryAddress, short iShortToWrite ) : bool
Write ( int iMemoryAddress, string sStringToWrite, int iMode ) : bool

Private Methods

Method Description
CalculatePointer ( int iMemoryAddress, int iOffsets ) : int
CreateAOBString ( string sBytes ) : byte[]
CreateAOBText ( string sBytes ) : byte[]
CreateAddress ( byte bBytes ) : string
FindModule ( string sModuleName ) : ProcessModule

Method Details

BaseAddress() public method

public BaseAddress ( ) : int
return int

BaseAddress() public method

public BaseAddress ( string sModuleName ) : int
sModuleName string
return int

BytesEqual() public method

public BytesEqual ( byte bBytes_1, byte bBytes_2 ) : bool
bBytes_1 byte
bBytes_2 byte
return bool

CalculateStaticAddress() public method

public CalculateStaticAddress ( int iStaticOffset ) : int
iStaticOffset int
return int

CalculateStaticAddress() public method

public CalculateStaticAddress ( int iStaticOffset, string sModuleName ) : int
iStaticOffset int
sModuleName string
return int

CalculateStaticAddress() public method

public CalculateStaticAddress ( string sStaticOffset ) : int
sStaticOffset string
return int

CalculateStaticAddress() public method

public CalculateStaticAddress ( string sStaticOffset, string sModuleName ) : int
sStaticOffset string
sModuleName string
return int

Dec() public method

public Dec ( int iHex ) : int
iHex int
return int

Dec() public method

public Dec ( string sHex ) : int
sHex string
return int

EntryPoint() public method

public EntryPoint ( ) : int
return int

EntryPoint() public method

public EntryPoint ( string sModuleName ) : int
sModuleName string
return int

FileVersion() public method

public FileVersion ( ) : string
return string

GetModules() public method

public GetModules ( ) : ProcessModuleCollection
return System.Diagnostics.ProcessModuleCollection

Hex() public method

public Hex ( int iDec ) : string
iDec int
return string

Hex() public method

public Hex ( string sDec ) : string
sDec string
return string

IsNumeric() public method

public IsNumeric ( string sNumber ) : bool
sNumber string
return bool

MemorySize() public method

public MemorySize ( ) : int
return int

MemorySize() public method

public MemorySize ( string sModuleName ) : int
sModuleName string
return int

NOP() public method

public NOP ( int iMemoryAddress, int iLength ) : bool
iMemoryAddress int
iLength int
return bool

NOP() public method

public NOP ( int iMemoryAddress, int iOffsets, int iLength ) : bool
iMemoryAddress int
iOffsets int
iLength int
return bool

Name() public method

public Name ( ) : string
return string

OpenProcess() public method

public OpenProcess ( ) : bool
return bool

OpenProcess() public method

public OpenProcess ( int iProcessID ) : bool
iProcessID int
return bool

OpenProcess() public method

public OpenProcess ( string sProcessName ) : bool
sProcessName string
return bool

PID() public method

public PID ( ) : int
return int

ReadAOB() public method

public ReadAOB ( int iMemoryAddress, int iOffsets, uint iBytesToRead ) : byte[]
iMemoryAddress int
iOffsets int
iBytesToRead uint
return byte[]

ReadAOB() public method

public ReadAOB ( int iMemoryAddress, uint iBytesToRead ) : byte[]
iMemoryAddress int
iBytesToRead uint
return byte[]

ReadByte() public method

public ReadByte ( int iMemoryAddress ) : byte
iMemoryAddress int
return byte

ReadByte() public method

public ReadByte ( int iMemoryAddress, int iOffsets ) : byte
iMemoryAddress int
iOffsets int
return byte

ReadDouble() public method

public ReadDouble ( int iMemoryAddress ) : double
iMemoryAddress int
return double

ReadDouble() public method

public ReadDouble ( int iMemoryAddress, int iOffsets ) : double
iMemoryAddress int
iOffsets int
return double

ReadFloat() public method

public ReadFloat ( int iMemoryAddress ) : float
iMemoryAddress int
return float

ReadFloat() public method

public ReadFloat ( int iMemoryAddress, int iOffsets ) : float
iMemoryAddress int
iOffsets int
return float

ReadInt() public method

public ReadInt ( int iMemoryAddress ) : uint
iMemoryAddress int
return uint

ReadInt() public method

public ReadInt ( int iMemoryAddress, int iOffsets ) : uint
iMemoryAddress int
iOffsets int
return uint

ReadLong() public method

public ReadLong ( int iMemoryAddress ) : long
iMemoryAddress int
return long

ReadLong() public method

public ReadLong ( int iMemoryAddress, int iOffsets ) : long
iMemoryAddress int
iOffsets int
return long

ReadShort() public method

public ReadShort ( int iMemoryAddress ) : ushort
iMemoryAddress int
return ushort

ReadShort() public method

public ReadShort ( int iMemoryAddress, int iOffsets ) : ushort
iMemoryAddress int
iOffsets int
return ushort

ReadString() public method

public ReadString ( int iMemoryAddress, uint iTextLength, int iMode ) : string
iMemoryAddress int
iTextLength uint
iMode int
return string

ReadText() public method

public ReadText ( int iMemoryAddress, int iOffsets, uint iStringLength, int iMode ) : string
iMemoryAddress int
iOffsets int
iStringLength uint
iMode int
return string

ReverseBytes() public method

public ReverseBytes ( byte bOriginalBytes ) : byte[]
bOriginalBytes byte
return byte[]

SID() public method

public SID ( ) : int
return int

StartTime() public method

public StartTime ( ) : string
return string

Write() public method

public Write ( int iMemoryAddress, byte bByteToWrite ) : bool
iMemoryAddress int
bByteToWrite byte
return bool

Write() public method

public Write ( int iMemoryAddress, double iDoubleToWrite ) : bool
iMemoryAddress int
iDoubleToWrite double
return bool

Write() public method

public Write ( int iMemoryAddress, float iFloatToWrite ) : bool
iMemoryAddress int
iFloatToWrite float
return bool

Write() public method

public Write ( int iMemoryAddress, int iIntToWrite ) : bool
iMemoryAddress int
iIntToWrite int
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, byte bByteToWrite ) : bool
iMemoryAddress int
iOffsets int
bByteToWrite byte
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, double iDoubleToWrite ) : bool
iMemoryAddress int
iOffsets int
iDoubleToWrite double
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, float iFloatToWrite ) : bool
iMemoryAddress int
iOffsets int
iFloatToWrite float
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, int iIntToWrite ) : bool
iMemoryAddress int
iOffsets int
iIntToWrite int
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, long iLongToWrite ) : bool
iMemoryAddress int
iOffsets int
iLongToWrite long
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, short iShortToWrite ) : bool
iMemoryAddress int
iOffsets int
iShortToWrite short
return bool

Write() public method

public Write ( int iMemoryAddress, int iOffsets, string sStringToWrite, int iMode ) : bool
iMemoryAddress int
iOffsets int
sStringToWrite string
iMode int
return bool

Write() public method

public Write ( int iMemoryAddress, long iLongToWrite ) : bool
iMemoryAddress int
iLongToWrite long
return bool

Write() public method

public Write ( int iMemoryAddress, short iShortToWrite ) : bool
iMemoryAddress int
iShortToWrite short
return bool

Write() public method

public Write ( int iMemoryAddress, string sStringToWrite, int iMode ) : bool
iMemoryAddress int
sStringToWrite string
iMode int
return bool