Ai
1 Star 0 Fork 0

phy0292/cheat-engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pointerscanstructures.pas 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
cheat-engine 提交于 2019-12-20 00:49 +08:00 . Fix registry issues
unit PointerscanStructures;
{$mode delphi}
interface
uses
{$ifdef darwin}
macport, Classes, SysUtils, Sockets, CELazySocket, commonTypeDefs;
{$endif}
{$ifdef windows}
windows, Classes, SysUtils, winsock, CELazySocket, commonTypeDefs;
{$endif}
const
MAXQUEUESIZE=64;
pointerscanfileversion=2;
type
TPathQueueElement=record
tempresults: array of dword;
valuelist: array of qword;
valuetofind: qword;
startlevel: integer;
end;
PPathQueueElement=^TPathQueueElement;
TMainPathQueue=array [0..MAXQUEUESIZE-1] of TPathQueueElement;
PMainPathQueue=^TMainPathQueue;
TDynPathQueue=array of TPathQueueElement;
TPointerscanControllerParent=record
socket: TSocketstream;
scanid: dword;
name: string;
iConnectedTo: boolean;
connectdata: record
ip: string;
port: word;
password: string;
end;
ip: string;
port: word;
trustsme: boolean;
knowsIAmTerminating: boolean;
connecttime: qword;
end;
PPointerscanControllerParent=^TPointerscanControllerParent;
TPointerscancontrollerchild=record
socket: TSocketstream;
MissingSince: qword; //holds the time when the connection was lost. If this is set to 0 the child info will be deleted
Error: string;
iConnectedTo: boolean;
connectdata: record
ip: string;
port: word;
password: string;
end;
ip: string;
port: word;
childid: integer;
trusted: boolean;
takePathsAndDisconnect: boolean;
terminating: boolean;
idle: boolean;
//pathspersecond: qword;
totalPathsEvaluated: qword;
pathqueuesize: integer;
totalpathqueuesize: integer;
potentialthreadcount: integer;
actualthreadcount: integer;
resultsfound: qword;
queued: boolean;
queuepos: dword;
queuesize: dword;
trustlevel: integer;
nontrustedlastpaths: TDynPathQueue;
nontrustedlastpathstime: qword;
scandatauploader: TThread;
ScanDataSent: qword;
ScanDataTotalSize: qword;
ScanDataStartTime: qword;
hasReceivedScandata: boolean;
LastUpdateReceived: qword;
scanresultDownloader: TThread; //not nil if the results it has sent me are still being processed
resultstream: TFilestream; //if initializer this holds an open filestream to the .ptr associated with this child
end;
PPointerscancontrollerchild=^TPointerscancontrollerchild;
TQueueWriterMethod=procedure(sender: TObject; PathQueueElement: TPathQueueElement) of object;
implementation
end.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phy0292/cheat-engine.git
git@gitee.com:phy0292/cheat-engine.git
phy0292
cheat-engine
cheat-engine
master

搜索帮助