C# 클래스 ProcessMemory, SAMP_AC_Extension

파일 보기 프로젝트 열기: Whitetigerswt/SAMP_AC_Extension 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
BaseAddress int
MyProcess Process[]
ProcessName string
myProcessModule ProcessModule
processHandle int

공개 메소드들

메소드 설명
CheckProcess ( ) : bool
CutString ( string mystring ) : string
DllImageAddress ( string dllname ) : int
ImageAddress ( ) : int
ImageAddress ( int pOffset ) : int
MyProcessName ( ) : string
Pointer ( bool AddToImageAddress, int pOffset ) : int
Pointer ( bool AddToImageAddress, int pOffset, int pOffset2 ) : int
Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3 ) : int
Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3, int pOffset4 ) : int
Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5 ) : int
Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5, int pOffset6 ) : int
Pointer ( string Module, int pOffset ) : int
Pointer ( string Module, int pOffset, int pOffset2 ) : int
Pointer ( string Module, int pOffset, int pOffset2, int pOffset3 ) : int
Pointer ( string Module, int pOffset, int pOffset2, int pOffset3, int pOffset4 ) : int
Pointer ( string Module, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5 ) : int
Pointer ( string Module, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5, int pOffset6 ) : int
ProcessMemory ( string pProcessName ) : System
ReadByte ( bool AddToImageAddress, int pOffset ) : byte
ReadByte ( int pOffset ) : byte
ReadByte ( string Module, int pOffset ) : byte
ReadFloat ( bool AddToImageAddress, int pOffset ) : float
ReadFloat ( int pOffset ) : float
ReadFloat ( string Module, int pOffset ) : float
ReadInt ( bool AddToImageAddress, int pOffset ) : int
ReadInt ( int pOffset ) : int
ReadInt ( string Module, int pOffset ) : int
ReadMem ( int pOffset, int pSize ) : byte[]
ReadMem ( int pOffset, int pSize, bool AddToImageAddress ) : byte[]
ReadShort ( bool AddToImageAddress, int pOffset ) : short
ReadShort ( int pOffset ) : short
ReadShort ( string Module, int pOffset ) : short
ReadStringAscii ( bool AddToImageAddress, int pOffset, int pSize ) : string
ReadStringAscii ( int pOffset, int pSize ) : string
ReadStringAscii ( string Module, int pOffset, int pSize ) : string
ReadStringUnicode ( bool AddToImageAddress, int pOffset, int pSize ) : string
ReadStringUnicode ( int pOffset, int pSize ) : string
ReadStringUnicode ( string Module, int pOffset, int pSize ) : string
ReadUInt ( bool AddToImageAddress, int pOffset ) : uint
ReadUInt ( int pOffset ) : uint
ReadUInt ( string Module, int pOffset ) : uint
StartProcess ( ) : bool
WriteByte ( bool AddToImageAddress, int pOffset, byte pBytes ) : void
WriteByte ( int pOffset, byte pBytes ) : void
WriteByte ( string Module, int pOffset, byte pBytes ) : void
WriteDouble ( bool AddToImageAddress, int pOffset, double pBytes ) : void
WriteDouble ( int pOffset, double pBytes ) : void
WriteDouble ( string Module, int pOffset, double pBytes ) : void
WriteFloat ( bool AddToImageAddress, int pOffset, float pBytes ) : void
WriteFloat ( int pOffset, float pBytes ) : void
WriteFloat ( string Module, int pOffset, float pBytes ) : void
WriteInt ( bool AddToImageAddress, int pOffset, int pBytes ) : void
WriteInt ( int pOffset, int pBytes ) : void
WriteInt ( string Module, int pOffset, int pBytes ) : void
WriteMem ( int pOffset, byte pBytes ) : void
WriteMem ( int pOffset, byte pBytes, bool AddToImageAddress ) : void
WriteShort ( bool AddToImageAddress, int pOffset, short pBytes ) : void
WriteShort ( int pOffset, short pBytes ) : void
WriteShort ( string Module, int pOffset, short pBytes ) : void
WriteStringAscii ( bool AddToImageAddress, int pOffset, string pBytes ) : void
WriteStringAscii ( int pOffset, string pBytes ) : void
WriteStringAscii ( string Module, int pOffset, string pBytes ) : void
WriteStringUnicode ( bool AddToImageAddress, int pOffset, string pBytes ) : void
WriteStringUnicode ( int pOffset, string pBytes ) : void
WriteStringUnicode ( string Module, int pOffset, string pBytes ) : void
WriteUInt ( bool AddToImageAddress, int pOffset, uint pBytes ) : void
WriteUInt ( int pOffset, uint pBytes ) : void
WriteUInt ( string Module, int pOffset, uint pBytes ) : void

비공개 메소드들

메소드 설명
CloseHandle ( int hObject ) : bool
FindWindowByCaption ( int ZeroOnly, string lpWindowName ) : int
OpenProcess ( uint dwDesiredAccess, bool bInheritHandle, int dwProcessId ) : int
ReadProcessMemory ( int hProcess, int lpBaseAddress, byte buffer, int size, int lpNumberOfBytesRead ) : bool
VirtualProtectEx ( int hProcess, int lpAddress, int dwSize, uint flNewProtect, uint &lpflOldProtect ) : bool
WriteProcessMemory ( int hProcess, int lpBaseAddress, byte buffer, int size, int lpNumberOfBytesWritten ) : bool

메소드 상세

CheckProcess() 공개 메소드

public CheckProcess ( ) : bool
리턴 bool

CutString() 공개 메소드

public CutString ( string mystring ) : string
mystring string
리턴 string

DllImageAddress() 공개 메소드

public DllImageAddress ( string dllname ) : int
dllname string
리턴 int

ImageAddress() 공개 메소드

public ImageAddress ( ) : int
리턴 int

ImageAddress() 공개 메소드

public ImageAddress ( int pOffset ) : int
pOffset int
리턴 int

MyProcessName() 공개 메소드

public MyProcessName ( ) : string
리턴 string

Pointer() 공개 메소드

public Pointer ( bool AddToImageAddress, int pOffset ) : int
AddToImageAddress bool
pOffset int
리턴 int

Pointer() 공개 메소드

public Pointer ( bool AddToImageAddress, int pOffset, int pOffset2 ) : int
AddToImageAddress bool
pOffset int
pOffset2 int
리턴 int

Pointer() 공개 메소드

public Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3 ) : int
AddToImageAddress bool
pOffset int
pOffset2 int
pOffset3 int
리턴 int

Pointer() 공개 메소드

public Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3, int pOffset4 ) : int
AddToImageAddress bool
pOffset int
pOffset2 int
pOffset3 int
pOffset4 int
리턴 int

Pointer() 공개 메소드

public Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5 ) : int
AddToImageAddress bool
pOffset int
pOffset2 int
pOffset3 int
pOffset4 int
pOffset5 int
리턴 int

Pointer() 공개 메소드

public Pointer ( bool AddToImageAddress, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5, int pOffset6 ) : int
AddToImageAddress bool
pOffset int
pOffset2 int
pOffset3 int
pOffset4 int
pOffset5 int
pOffset6 int
리턴 int

Pointer() 공개 메소드

public Pointer ( string Module, int pOffset ) : int
Module string
pOffset int
리턴 int

Pointer() 공개 메소드

public Pointer ( string Module, int pOffset, int pOffset2 ) : int
Module string
pOffset int
pOffset2 int
리턴 int

Pointer() 공개 메소드

public Pointer ( string Module, int pOffset, int pOffset2, int pOffset3 ) : int
Module string
pOffset int
pOffset2 int
pOffset3 int
리턴 int

Pointer() 공개 메소드

public Pointer ( string Module, int pOffset, int pOffset2, int pOffset3, int pOffset4 ) : int
Module string
pOffset int
pOffset2 int
pOffset3 int
pOffset4 int
리턴 int

Pointer() 공개 메소드

public Pointer ( string Module, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5 ) : int
Module string
pOffset int
pOffset2 int
pOffset3 int
pOffset4 int
pOffset5 int
리턴 int

Pointer() 공개 메소드

public Pointer ( string Module, int pOffset, int pOffset2, int pOffset3, int pOffset4, int pOffset5, int pOffset6 ) : int
Module string
pOffset int
pOffset2 int
pOffset3 int
pOffset4 int
pOffset5 int
pOffset6 int
리턴 int

ProcessMemory() 공개 메소드

public ProcessMemory ( string pProcessName ) : System
pProcessName string
리턴 System

ReadByte() 공개 메소드

public ReadByte ( bool AddToImageAddress, int pOffset ) : byte
AddToImageAddress bool
pOffset int
리턴 byte

ReadByte() 공개 메소드

public ReadByte ( int pOffset ) : byte
pOffset int
리턴 byte

ReadByte() 공개 메소드

public ReadByte ( string Module, int pOffset ) : byte
Module string
pOffset int
리턴 byte

ReadFloat() 공개 메소드

public ReadFloat ( bool AddToImageAddress, int pOffset ) : float
AddToImageAddress bool
pOffset int
리턴 float

ReadFloat() 공개 메소드

public ReadFloat ( int pOffset ) : float
pOffset int
리턴 float

ReadFloat() 공개 메소드

public ReadFloat ( string Module, int pOffset ) : float
Module string
pOffset int
리턴 float

ReadInt() 공개 메소드

public ReadInt ( bool AddToImageAddress, int pOffset ) : int
AddToImageAddress bool
pOffset int
리턴 int

ReadInt() 공개 메소드

public ReadInt ( int pOffset ) : int
pOffset int
리턴 int

ReadInt() 공개 메소드

public ReadInt ( string Module, int pOffset ) : int
Module string
pOffset int
리턴 int

ReadMem() 공개 메소드

public ReadMem ( int pOffset, int pSize ) : byte[]
pOffset int
pSize int
리턴 byte[]

ReadMem() 공개 메소드

public ReadMem ( int pOffset, int pSize, bool AddToImageAddress ) : byte[]
pOffset int
pSize int
AddToImageAddress bool
리턴 byte[]

ReadShort() 공개 메소드

public ReadShort ( bool AddToImageAddress, int pOffset ) : short
AddToImageAddress bool
pOffset int
리턴 short

ReadShort() 공개 메소드

public ReadShort ( int pOffset ) : short
pOffset int
리턴 short

ReadShort() 공개 메소드

public ReadShort ( string Module, int pOffset ) : short
Module string
pOffset int
리턴 short

ReadStringAscii() 공개 메소드

public ReadStringAscii ( bool AddToImageAddress, int pOffset, int pSize ) : string
AddToImageAddress bool
pOffset int
pSize int
리턴 string

ReadStringAscii() 공개 메소드

public ReadStringAscii ( int pOffset, int pSize ) : string
pOffset int
pSize int
리턴 string

ReadStringAscii() 공개 메소드

public ReadStringAscii ( string Module, int pOffset, int pSize ) : string
Module string
pOffset int
pSize int
리턴 string

ReadStringUnicode() 공개 메소드

public ReadStringUnicode ( bool AddToImageAddress, int pOffset, int pSize ) : string
AddToImageAddress bool
pOffset int
pSize int
리턴 string

ReadStringUnicode() 공개 메소드

public ReadStringUnicode ( int pOffset, int pSize ) : string
pOffset int
pSize int
리턴 string

ReadStringUnicode() 공개 메소드

public ReadStringUnicode ( string Module, int pOffset, int pSize ) : string
Module string
pOffset int
pSize int
리턴 string

ReadUInt() 공개 메소드

public ReadUInt ( bool AddToImageAddress, int pOffset ) : uint
AddToImageAddress bool
pOffset int
리턴 uint

ReadUInt() 공개 메소드

public ReadUInt ( int pOffset ) : uint
pOffset int
리턴 uint

ReadUInt() 공개 메소드

public ReadUInt ( string Module, int pOffset ) : uint
Module string
pOffset int
리턴 uint

StartProcess() 공개 메소드

public StartProcess ( ) : bool
리턴 bool

WriteByte() 공개 메소드

public WriteByte ( bool AddToImageAddress, int pOffset, byte pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes byte
리턴 void

WriteByte() 공개 메소드

public WriteByte ( int pOffset, byte pBytes ) : void
pOffset int
pBytes byte
리턴 void

WriteByte() 공개 메소드

public WriteByte ( string Module, int pOffset, byte pBytes ) : void
Module string
pOffset int
pBytes byte
리턴 void

WriteDouble() 공개 메소드

public WriteDouble ( bool AddToImageAddress, int pOffset, double pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes double
리턴 void

WriteDouble() 공개 메소드

public WriteDouble ( int pOffset, double pBytes ) : void
pOffset int
pBytes double
리턴 void

WriteDouble() 공개 메소드

public WriteDouble ( string Module, int pOffset, double pBytes ) : void
Module string
pOffset int
pBytes double
리턴 void

WriteFloat() 공개 메소드

public WriteFloat ( bool AddToImageAddress, int pOffset, float pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes float
리턴 void

WriteFloat() 공개 메소드

public WriteFloat ( int pOffset, float pBytes ) : void
pOffset int
pBytes float
리턴 void

WriteFloat() 공개 메소드

public WriteFloat ( string Module, int pOffset, float pBytes ) : void
Module string
pOffset int
pBytes float
리턴 void

WriteInt() 공개 메소드

public WriteInt ( bool AddToImageAddress, int pOffset, int pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes int
리턴 void

WriteInt() 공개 메소드

public WriteInt ( int pOffset, int pBytes ) : void
pOffset int
pBytes int
리턴 void

WriteInt() 공개 메소드

public WriteInt ( string Module, int pOffset, int pBytes ) : void
Module string
pOffset int
pBytes int
리턴 void

WriteMem() 공개 메소드

public WriteMem ( int pOffset, byte pBytes ) : void
pOffset int
pBytes byte
리턴 void

WriteMem() 공개 메소드

public WriteMem ( int pOffset, byte pBytes, bool AddToImageAddress ) : void
pOffset int
pBytes byte
AddToImageAddress bool
리턴 void

WriteShort() 공개 메소드

public WriteShort ( bool AddToImageAddress, int pOffset, short pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes short
리턴 void

WriteShort() 공개 메소드

public WriteShort ( int pOffset, short pBytes ) : void
pOffset int
pBytes short
리턴 void

WriteShort() 공개 메소드

public WriteShort ( string Module, int pOffset, short pBytes ) : void
Module string
pOffset int
pBytes short
리턴 void

WriteStringAscii() 공개 메소드

public WriteStringAscii ( bool AddToImageAddress, int pOffset, string pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes string
리턴 void

WriteStringAscii() 공개 메소드

public WriteStringAscii ( int pOffset, string pBytes ) : void
pOffset int
pBytes string
리턴 void

WriteStringAscii() 공개 메소드

public WriteStringAscii ( string Module, int pOffset, string pBytes ) : void
Module string
pOffset int
pBytes string
리턴 void

WriteStringUnicode() 공개 메소드

public WriteStringUnicode ( bool AddToImageAddress, int pOffset, string pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes string
리턴 void

WriteStringUnicode() 공개 메소드

public WriteStringUnicode ( int pOffset, string pBytes ) : void
pOffset int
pBytes string
리턴 void

WriteStringUnicode() 공개 메소드

public WriteStringUnicode ( string Module, int pOffset, string pBytes ) : void
Module string
pOffset int
pBytes string
리턴 void

WriteUInt() 공개 메소드

public WriteUInt ( bool AddToImageAddress, int pOffset, uint pBytes ) : void
AddToImageAddress bool
pOffset int
pBytes uint
리턴 void

WriteUInt() 공개 메소드

public WriteUInt ( int pOffset, uint pBytes ) : void
pOffset int
pBytes uint
리턴 void

WriteUInt() 공개 메소드

public WriteUInt ( string Module, int pOffset, uint pBytes ) : void
Module string
pOffset int
pBytes uint
리턴 void

프로퍼티 상세

BaseAddress 보호되어 있는 프로퍼티

protected int BaseAddress
리턴 int

MyProcess 보호되어 있는 프로퍼티

protected Process[] MyProcess
리턴 Process[]

ProcessName 보호되어 있는 프로퍼티

protected string ProcessName
리턴 string

myProcessModule 보호되어 있는 프로퍼티

protected ProcessModule myProcessModule
리턴 ProcessModule

processHandle 보호되어 있는 프로퍼티

protected int processHandle
리턴 int