C# Class Tibialyzer.MemoryReader

Afficher le fichier Open project: Mytherin/Tibialyzer Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetHealthPercentage() public static méthode

public static GetHealthPercentage ( int id, int &battlelistentry ) : int
id int
battlelistentry int
Résultat int

GetLevelFromExperience() public static méthode

public static GetLevelFromExperience ( long experience, int level = 150, int adjustment = 75, int iterations = 100 ) : int
experience long
level int
adjustment int
iterations int
Résultat int

GetPlayerEntry() public static méthode

public static GetPlayerEntry ( int id ) : BattleListEntry
id int
Résultat BattleListEntry

GetPlayerID() public static méthode

public static GetPlayerID ( string name ) : int
name string
Résultat int

GetPlayerName() public static méthode

public static GetPlayerName ( int id, int battlelistentry = -1 ) : string
id int
battlelistentry int
Résultat string

GetPlayerPosition() public static méthode

public static GetPlayerPosition ( int id ) : int
id int
Résultat int

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

InitializeMemoryAddresses() public static méthode

public static InitializeMemoryAddresses ( ) : void
Résultat void

OpenProcess() public static méthode

public static OpenProcess ( Process process ) : IntPtr
process System.Diagnostics.Process
Résultat System.IntPtr

PlayerInVision() public static méthode

public static PlayerInVision ( BattleListEntry a, BattleListEntry b ) : bool
a BattleListEntry
b BattleListEntry
Résultat bool

ReadChatMessage() public static méthode

public static ReadChatMessage ( Int32 address ) : string
address System.Int32
Résultat string

ReadInt16() public static méthode

public static ReadInt16 ( System.Int64 address, int handle = -1 ) : Int16
address System.Int64
handle int
Résultat System.Int16

ReadInt32() public static méthode

public static ReadInt32 ( System.Int64 address, int handle = -1 ) : Int32
address System.Int64
handle int
Résultat System.Int32

ReadInt64() public static méthode

public static ReadInt64 ( System.Int64 address, int handle = -1 ) : System.Int64
address System.Int64
handle int
Résultat System.Int64

ReadInt8() public static méthode

public static ReadInt8 ( System.Int64 address, int handle = -1 ) : byte
address System.Int64
handle int
Résultat byte

ReadProperty() public static méthode

public static ReadProperty ( uint address ) : int
address uint
Résultat int

ReadQString() public static méthode

public static ReadQString ( Int32 address ) : string
address System.Int32
Résultat string

ReadString() public static méthode

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

ReadUInt32() public static méthode

public static ReadUInt32 ( System.Int64 address, int handle = -1 ) : UInt32
address System.Int64
handle int
Résultat System.UInt32

ReadUnicodeString() public static méthode

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

RegisterExperienceChanged() public static méthode

public static RegisterExperienceChanged ( System control, EventHandler method ) : void
control System
method EventHandler
Résultat void

RegisterHealthChanged() public static méthode

public static RegisterHealthChanged ( System control, EventHandler method ) : void
control System
method EventHandler
Résultat void

RegisterManaChanged() public static méthode

public static RegisterManaChanged ( System control, EventHandler method ) : void
control System
method EventHandler
Résultat void

UnixTimeStampToDateTime() public static méthode

public static UnixTimeStampToDateTime ( long unixTimeStamp, System.DateTime &dtDateTime ) : bool
unixTimeStamp long
dtDateTime System.DateTime
Résultat bool

UpdateBattleList() public static méthode

public static UpdateBattleList ( ) : void
Résultat void

Property Details

END_X public_oe static_oe property

public static int END_X
Résultat int

END_Y public_oe static_oe property

public static int END_Y
Résultat int

MemorySettings public_oe static_oe property

public static Dictionary MemorySettings
Résultat string>.Dictionary

ModuleAddresses public_oe static_oe property

public static Dictionary ModuleAddresses
Résultat long>.Dictionary

START_X public_oe static_oe property

public static int START_X
Résultat int

START_Y public_oe static_oe property

public static int START_Y
Résultat int

TabsBaseAddress public_oe static_oe property

public static UInt32,System TabsBaseAddress
Résultat System.UInt32

experience public_oe static_oe property

public static long experience
Résultat long

health public_oe static_oe property

public static int health
Résultat int

level public_oe static_oe property

public static int level
Résultat int

mana public_oe static_oe property

public static int mana
Résultat int

maxHealth public_oe static_oe property

public static int maxHealth
Résultat int

maxMana public_oe static_oe property

public static int maxMana
Résultat int

playerName public_oe static_oe property

public static string playerName
Résultat string