C# 클래스 Tibialyzer.MemoryReader

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

공개 프로퍼티들

프로퍼티 타입 설명
END_X int
END_Y int
MemorySettings string>.Dictionary
ModuleAddresses long>.Dictionary
START_X int
START_Y int
TabsBaseAddress System.UInt32
experience long
health int
level int
mana int
maxHealth int
maxMana int
playerName string

Private Properties

프로퍼티 타입 설명
CloseHandle void
GetAddress System.UInt32
InitializeBattleList void
OpenProcess System.IntPtr
ParseAddresses Tuple,Dictionary>
ReadBytes byte[]
ReadExperience bool
ReadHealth bool
ReadLevel bool
ReadMagicLevel bool
ReadMana bool
ReadMaxHealth bool
ReadMaxMana bool
ReadProcessMemory System.Int32
ResetScreenshotTaken void
UpdateExp void
UpdateHealth void
UpdateMana void

공개 메소드들

메소드 설명
GetHealthPercentage ( int id, int &battlelistentry ) : int
GetLevelFromExperience ( long experience, int level = 150, int adjustment = 75, int iterations = 100 ) : int
GetPlayerEntry ( int id ) : BattleListEntry
GetPlayerID ( string name ) : int
GetPlayerName ( int id, int battlelistentry = -1 ) : string
GetPlayerPosition ( int id ) : int
Initialize ( ) : void
InitializeMemoryAddresses ( ) : void
OpenProcess ( Process process ) : IntPtr
PlayerInVision ( BattleListEntry a, BattleListEntry b ) : bool
ReadChatMessage ( Int32 address ) : string
ReadInt16 ( System.Int64 address, int handle = -1 ) : Int16
ReadInt32 ( System.Int64 address, int handle = -1 ) : Int32
ReadInt64 ( System.Int64 address, int handle = -1 ) : System.Int64
ReadInt8 ( System.Int64 address, int handle = -1 ) : byte
ReadProperty ( uint address ) : int
ReadQString ( Int32 address ) : string
ReadString ( System.Int64 address, uint length = 32, int handle = -1 ) : string
ReadUInt32 ( System.Int64 address, int handle = -1 ) : UInt32
ReadUnicodeString ( System.Int64 address, uint length = 32, int handle = -1 ) : string
RegisterExperienceChanged ( System control, EventHandler method ) : void
RegisterHealthChanged ( System control, EventHandler method ) : void
RegisterManaChanged ( System control, EventHandler method ) : void
UnixTimeStampToDateTime ( long unixTimeStamp, System.DateTime &dtDateTime ) : bool
UpdateBattleList ( ) : void

비공개 메소드들

메소드 설명
CloseHandle ( IntPtr handle ) : void
GetAddress ( UInt32 offset ) : UInt32
InitializeBattleList ( ) : void
OpenProcess ( int dwDesiredAccess, bool bInheritHandle, int dwProcessId ) : IntPtr
ParseAddresses ( ) : Tuple,Dictionary>
ReadBytes ( System.Int64 address, uint n, int processHandle = -1 ) : byte[]
ReadExperience ( ) : bool
ReadHealth ( ) : bool
ReadLevel ( ) : bool
ReadMagicLevel ( ) : bool
ReadMana ( ) : bool
ReadMaxHealth ( ) : bool
ReadMaxMana ( ) : bool
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, [ buffer, UInt32 size, IntPtr &lpNumberOfBytesRead ) : Int32
ResetScreenshotTaken ( object sender, System e ) : void
UpdateExp ( ) : void
UpdateHealth ( ) : void
UpdateMana ( ) : void

메소드 상세

GetHealthPercentage() 공개 정적인 메소드

public static GetHealthPercentage ( int id, int &battlelistentry ) : int
id int
battlelistentry int
리턴 int

GetLevelFromExperience() 공개 정적인 메소드

public static GetLevelFromExperience ( long experience, int level = 150, int adjustment = 75, int iterations = 100 ) : int
experience long
level int
adjustment int
iterations int
리턴 int

GetPlayerEntry() 공개 정적인 메소드

public static GetPlayerEntry ( int id ) : BattleListEntry
id int
리턴 BattleListEntry

GetPlayerID() 공개 정적인 메소드

public static GetPlayerID ( string name ) : int
name string
리턴 int

GetPlayerName() 공개 정적인 메소드

public static GetPlayerName ( int id, int battlelistentry = -1 ) : string
id int
battlelistentry int
리턴 string

GetPlayerPosition() 공개 정적인 메소드

public static GetPlayerPosition ( int id ) : int
id int
리턴 int

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

InitializeMemoryAddresses() 공개 정적인 메소드

public static InitializeMemoryAddresses ( ) : void
리턴 void

OpenProcess() 공개 정적인 메소드

public static OpenProcess ( Process process ) : IntPtr
process System.Diagnostics.Process
리턴 System.IntPtr

PlayerInVision() 공개 정적인 메소드

public static PlayerInVision ( BattleListEntry a, BattleListEntry b ) : bool
a BattleListEntry
b BattleListEntry
리턴 bool

ReadChatMessage() 공개 정적인 메소드

public static ReadChatMessage ( Int32 address ) : string
address System.Int32
리턴 string

ReadInt16() 공개 정적인 메소드

public static ReadInt16 ( System.Int64 address, int handle = -1 ) : Int16
address System.Int64
handle int
리턴 System.Int16

ReadInt32() 공개 정적인 메소드

public static ReadInt32 ( System.Int64 address, int handle = -1 ) : Int32
address System.Int64
handle int
리턴 System.Int32

ReadInt64() 공개 정적인 메소드

public static ReadInt64 ( System.Int64 address, int handle = -1 ) : System.Int64
address System.Int64
handle int
리턴 System.Int64

ReadInt8() 공개 정적인 메소드

public static ReadInt8 ( System.Int64 address, int handle = -1 ) : byte
address System.Int64
handle int
리턴 byte

ReadProperty() 공개 정적인 메소드

public static ReadProperty ( uint address ) : int
address uint
리턴 int

ReadQString() 공개 정적인 메소드

public static ReadQString ( Int32 address ) : string
address System.Int32
리턴 string

ReadString() 공개 정적인 메소드

public static ReadString ( System.Int64 address, uint length = 32, int handle = -1 ) : string
address System.Int64
length uint
handle int
리턴 string

ReadUInt32() 공개 정적인 메소드

public static ReadUInt32 ( System.Int64 address, int handle = -1 ) : UInt32
address System.Int64
handle int
리턴 System.UInt32

ReadUnicodeString() 공개 정적인 메소드

public static ReadUnicodeString ( System.Int64 address, uint length = 32, int handle = -1 ) : string
address System.Int64
length uint
handle int
리턴 string

RegisterExperienceChanged() 공개 정적인 메소드

public static RegisterExperienceChanged ( System control, EventHandler method ) : void
control System
method EventHandler
리턴 void

RegisterHealthChanged() 공개 정적인 메소드

public static RegisterHealthChanged ( System control, EventHandler method ) : void
control System
method EventHandler
리턴 void

RegisterManaChanged() 공개 정적인 메소드

public static RegisterManaChanged ( System control, EventHandler method ) : void
control System
method EventHandler
리턴 void

UnixTimeStampToDateTime() 공개 정적인 메소드

public static UnixTimeStampToDateTime ( long unixTimeStamp, System.DateTime &dtDateTime ) : bool
unixTimeStamp long
dtDateTime System.DateTime
리턴 bool

UpdateBattleList() 공개 정적인 메소드

public static UpdateBattleList ( ) : void
리턴 void

프로퍼티 상세

END_X 공개적으로 정적으로 프로퍼티

public static int END_X
리턴 int

END_Y 공개적으로 정적으로 프로퍼티

public static int END_Y
리턴 int

MemorySettings 공개적으로 정적으로 프로퍼티

public static Dictionary MemorySettings
리턴 string>.Dictionary

ModuleAddresses 공개적으로 정적으로 프로퍼티

public static Dictionary ModuleAddresses
리턴 long>.Dictionary

START_X 공개적으로 정적으로 프로퍼티

public static int START_X
리턴 int

START_Y 공개적으로 정적으로 프로퍼티

public static int START_Y
리턴 int

TabsBaseAddress 공개적으로 정적으로 프로퍼티

public static UInt32,System TabsBaseAddress
리턴 System.UInt32

experience 공개적으로 정적으로 프로퍼티

public static long experience
리턴 long

health 공개적으로 정적으로 프로퍼티

public static int health
리턴 int

level 공개적으로 정적으로 프로퍼티

public static int level
리턴 int

mana 공개적으로 정적으로 프로퍼티

public static int mana
리턴 int

maxHealth 공개적으로 정적으로 프로퍼티

public static int maxHealth
리턴 int

maxMana 공개적으로 정적으로 프로퍼티

public static int maxMana
리턴 int

playerName 공개적으로 정적으로 프로퍼티

public static string playerName
리턴 string