├── .vs └── yyxlm │ └── v15 │ ├── .suo │ └── Server │ └── sqlite3 │ ├── db.lock │ ├── storage.ide │ ├── storage.ide-shm │ └── storage.ide-wal ├── LICENSE ├── LOL挂机刷金币 ├── .vs │ ├── testdm │ │ └── v15 │ │ │ ├── .suo │ │ │ └── Server │ │ │ └── sqlite3 │ │ │ ├── db.lock │ │ │ ├── storage.ide │ │ │ ├── storage.ide-shm │ │ │ └── storage.ide-wal │ └── yyxlm │ │ └── v15 │ │ ├── .suo │ │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ ├── storage.ide │ │ ├── storage.ide-shm │ │ └── storage.ide-wal ├── App.config ├── CDmSoft.cs ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── My.cs ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── bin │ └── Debug │ │ ├── dm.dll │ │ ├── dmc.dll │ │ ├── testdm.exe │ │ ├── testdm.exe.config │ │ ├── testdm.pdb │ │ ├── testdm.vshost.exe.config │ │ ├── testdm.vshost.exe.manifest │ │ ├── yyxlm.exe │ │ ├── yyxlm.exe.config │ │ ├── yyxlm.pdb │ │ ├── 截图图片 │ │ ├── 20190125180628_58.bmp │ │ └── 20190125183643_87.bmp │ │ ├── 文本.txt │ │ └── 用于查找图片 │ │ ├── 111.bmp │ │ ├── Play按钮.bmp │ │ ├── 人机对战.bmp │ │ ├── 再玩一次.bmp │ │ ├── 冰鸟.bmp │ │ ├── 升级确认.bmp │ │ ├── 商店关闭.bmp │ │ ├── 回城技能.bmp │ │ ├── 寒冰.bmp │ │ ├── 寻找对局.bmp │ │ ├── 捕获.PNG │ │ ├── 排位锁定英雄.bmp │ │ ├── 接受.bmp │ │ ├── 断网重试.bmp │ │ ├── 模式确认.bmp │ │ ├── 游戏数据关闭.bmp │ │ ├── 炸弹人.bmp │ │ ├── 猪妹.bmp │ │ ├── 瑞兹.bmp │ │ ├── 禁用英雄.bmp │ │ ├── 聊天框.bmp │ │ ├── 跳过点赞.bmp │ │ ├── 选择英雄错误确认.bmp │ │ ├── 钥匙碎片确认.bmp │ │ ├── 锁定英雄.bmp │ │ └── 锁定视角.bmp ├── obj │ └── Debug │ │ ├── DesignTimeResolveAssemblyReferences.cache │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── LOL.csproj.CoreCompileInputs.cache │ │ ├── LOL.csproj.FileListAbsolute.txt │ │ ├── LOL.csproj.GenerateResource.cache │ │ ├── LOL.csprojAssemblyReference.cache │ │ ├── LOL全自动.csproj.CoreCompileInputs.cache │ │ ├── LOL全自动.csproj.FileListAbsolute.txt │ │ ├── LOL全自动.csproj.GenerateResource.cache │ │ ├── LOL全自动.csprojAssemblyReference.cache │ │ ├── LOL挂机刷金币.Form1.resources │ │ ├── LOL挂机刷金币.csproj.CoreCompileInputs.cache │ │ ├── LOL挂机刷金币.csproj.FileListAbsolute.txt │ │ ├── LOL挂机刷金币.csproj.GenerateResource.cache │ │ ├── LOL挂机刷金币.csprojAssemblyReference.cache │ │ ├── TempPE │ │ └── Properties.Resources.Designer.cs.dll │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs │ │ ├── testdm.Form1.resources │ │ ├── testdm.Properties.Resources.resources │ │ ├── testdm.csproj.CoreCompileInputs.cache │ │ ├── testdm.csproj.FileListAbsolute.txt │ │ ├── testdm.csproj.GenerateResource.cache │ │ ├── testdm.csprojAssemblyReference.cache │ │ ├── testdm.exe │ │ ├── testdm.pdb │ │ ├── yyxlm.csproj.CoreCompileInputs.cache │ │ ├── yyxlm.csproj.FileListAbsolute.txt │ │ ├── yyxlm.csproj.GenerateResource.cache │ │ ├── yyxlm.csprojAssemblyReference.cache │ │ ├── yyxlm.exe │ │ ├── yyxlm.pdb │ │ └── yyxlmname.Properties.Resources.resources ├── yyxlm.csproj ├── yyxlm.csproj.user └── 截图.cs ├── README.md ├── README_EN.md └── yyxlm.sln /.vs/yyxlm/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/.vs/yyxlm/v15/.suo -------------------------------------------------------------------------------- /.vs/yyxlm/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/.vs/yyxlm/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /.vs/yyxlm/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/.vs/yyxlm/v15/Server/sqlite3/storage.ide -------------------------------------------------------------------------------- /.vs/yyxlm/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/.vs/yyxlm/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /.vs/yyxlm/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/.vs/yyxlm/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 LOL-FUZHU 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/testdm/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/testdm/v15/.suo -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- 1 | SQLite format 3@ .A  -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/testdm/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/yyxlm/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/yyxlm/v15/.suo -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/storage.ide: -------------------------------------------------------------------------------- 1 | SQLite format 3@ .A  -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/.vs/yyxlm/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /LOL挂机刷金币/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LOL挂机刷金币/CDmSoft.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Runtime.InteropServices; 6 | 7 | namespace testdm 8 | { 9 | /// 10 | /// 大漠插件C#免注册调用类 11 | /// 作者:清风抚断云 12 | /// QQ:274838061 13 | /// 本模块必须包含dmc.dll 实现不用注册dm.dll 到系统可以动态调用 14 | /// 最新修改:2013-8-23 15 | /// 修复vs2012 调试自动退出问题 16 | /// 17 | class CDmSoft : IDisposable 18 | { 19 | const string DMCNAME = "dmc.dll"; 20 | #region import DLL 函数 21 | [DllImport(DMCNAME,CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 22 | public static extern IntPtr CreateDM(string dmpath); 23 | 24 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 25 | public static extern int FreeDM(); 26 | 27 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 28 | public static extern IntPtr Ver(IntPtr dm); 29 | 30 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 31 | public static extern int SetPath(IntPtr dm,string path); 32 | 33 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 34 | public static extern IntPtr Ocr(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim); 35 | 36 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 37 | public static extern int FindStr(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,out object x,out object y); 38 | 39 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 40 | public static extern int GetResultCount(IntPtr dm,string str); 41 | 42 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 43 | public static extern int GetResultPos(IntPtr dm,string str,int index,out object x,out object y); 44 | 45 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 46 | public static extern int StrStr(IntPtr dm,string s,string str); 47 | 48 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 49 | public static extern int SendCommand(IntPtr dm,string cmd); 50 | 51 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 52 | public static extern int UseDict(IntPtr dm,int index); 53 | 54 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 55 | public static extern IntPtr GetBasePath(IntPtr dm); 56 | 57 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 58 | public static extern int SetDictPwd(IntPtr dm,string pwd); 59 | 60 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 61 | public static extern IntPtr OcrInFile(IntPtr dm,int x1,int y1,int x2,int y2,string pic_name,string color,double sim); 62 | 63 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 64 | public static extern int Capture(IntPtr dm,int x1,int y1,int x2,int y2,string file_); 65 | 66 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 67 | public static extern int KeyPress(IntPtr dm,int vk); 68 | 69 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 70 | public static extern int KeyDown(IntPtr dm,int vk); 71 | 72 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 73 | public static extern int KeyUp(IntPtr dm,int vk); 74 | 75 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 76 | public static extern int LeftClick(IntPtr dm); 77 | 78 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 79 | public static extern int RightClick(IntPtr dm); 80 | 81 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 82 | public static extern int MiddleClick(IntPtr dm); 83 | 84 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 85 | public static extern int LeftDoubleClick(IntPtr dm); 86 | 87 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 88 | public static extern int LeftDown(IntPtr dm); 89 | 90 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 91 | public static extern int LeftUp(IntPtr dm); 92 | 93 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 94 | public static extern int RightDown(IntPtr dm); 95 | 96 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 97 | public static extern int RightUp(IntPtr dm); 98 | 99 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 100 | public static extern int MoveTo(IntPtr dm,int x,int y); 101 | 102 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 103 | public static extern int MoveR(IntPtr dm,int rx,int ry); 104 | 105 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 106 | public static extern IntPtr GetColor(IntPtr dm,int x,int y); 107 | 108 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 109 | public static extern IntPtr GetColorBGR(IntPtr dm,int x,int y); 110 | 111 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 112 | public static extern IntPtr RGB2BGR(IntPtr dm,string rgb_color); 113 | 114 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 115 | public static extern IntPtr BGR2RGB(IntPtr dm,string bgr_color); 116 | 117 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 118 | public static extern int UnBindWindow(IntPtr dm); 119 | 120 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 121 | public static extern int CmpColor(IntPtr dm,int x,int y,string color,double sim); 122 | 123 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 124 | public static extern int ClientToScreen(IntPtr dm,int hwnd,ref object x,ref object y); 125 | 126 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 127 | public static extern int ScreenToClient(IntPtr dm,int hwnd,ref object x,ref object y); 128 | 129 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 130 | public static extern int ShowScrMsg(IntPtr dm,int x1,int y1,int x2,int y2,string msg,string color); 131 | 132 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 133 | public static extern int SetMinRowGap(IntPtr dm,int row_gap); 134 | 135 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 136 | public static extern int SetMinColGap(IntPtr dm,int col_gap); 137 | 138 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 139 | public static extern int FindColor(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim,int dir,out object x,out object y); 140 | 141 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 142 | public static extern IntPtr FindColorEx(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim,int dir); 143 | 144 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 145 | public static extern int SetWordLineHeight(IntPtr dm,int line_height); 146 | 147 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 148 | public static extern int SetWordGap(IntPtr dm,int word_gap); 149 | 150 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 151 | public static extern int SetRowGapNoDict(IntPtr dm,int row_gap); 152 | 153 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 154 | public static extern int SetColGapNoDict(IntPtr dm,int col_gap); 155 | 156 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 157 | public static extern int SetWordLineHeightNoDict(IntPtr dm,int line_height); 158 | 159 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 160 | public static extern int SetWordGapNoDict(IntPtr dm,int word_gap); 161 | 162 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 163 | public static extern int GetWordResultCount(IntPtr dm,string str); 164 | 165 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 166 | public static extern int GetWordResultPos(IntPtr dm,string str,int index,out object x,out object y); 167 | 168 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 169 | public static extern IntPtr GetWordResultStr(IntPtr dm,string str,int index); 170 | 171 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 172 | public static extern IntPtr GetWords(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim); 173 | 174 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 175 | public static extern IntPtr GetWordsNoDict(IntPtr dm,int x1,int y1,int x2,int y2,string color); 176 | 177 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 178 | public static extern int SetShowErrorMsg(IntPtr dm,int show); 179 | 180 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 181 | public static extern int GetClientSize(IntPtr dm,int hwnd,out object width,out object height); 182 | 183 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 184 | public static extern int MoveWindow(IntPtr dm,int hwnd,int x,int y); 185 | 186 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 187 | public static extern IntPtr GetColorHSV(IntPtr dm,int x,int y); 188 | 189 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 190 | public static extern IntPtr GetAveRGB(IntPtr dm,int x1,int y1,int x2,int y2); 191 | 192 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 193 | public static extern IntPtr GetAveHSV(IntPtr dm,int x1,int y1,int x2,int y2); 194 | 195 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 196 | public static extern int GetForegroundWindow(IntPtr dm); 197 | 198 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 199 | public static extern int GetForegroundFocus(IntPtr dm); 200 | 201 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 202 | public static extern int GetMousePointWindow(IntPtr dm); 203 | 204 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 205 | public static extern int GetPointWindow(IntPtr dm,int x,int y); 206 | 207 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 208 | public static extern IntPtr EnumWindow(IntPtr dm,int parent,string title,string class_name,int filter); 209 | 210 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 211 | public static extern int GetWindowState(IntPtr dm,int hwnd,int flag); 212 | 213 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 214 | public static extern int GetWindow(IntPtr dm,int hwnd,int flag); 215 | 216 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 217 | public static extern int GetSpecialWindow(IntPtr dm,int flag); 218 | 219 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 220 | public static extern int SetWindowText(IntPtr dm,int hwnd,string text); 221 | 222 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 223 | public static extern int SetWindowSize(IntPtr dm,int hwnd,int width,int height); 224 | 225 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 226 | public static extern int GetWindowRect(IntPtr dm,int hwnd,out object x1,out object y1,out object x2,out object y2); 227 | 228 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 229 | public static extern IntPtr GetWindowTitle(IntPtr dm,int hwnd); 230 | 231 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 232 | public static extern IntPtr GetWindowClass(IntPtr dm,int hwnd); 233 | 234 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 235 | public static extern int SetWindowState(IntPtr dm,int hwnd,int flag); 236 | 237 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 238 | public static extern int CreateFoobarRect(IntPtr dm,int hwnd,int x,int y,int w,int h); 239 | 240 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 241 | public static extern int CreateFoobarRoundRect(IntPtr dm,int hwnd,int x,int y,int w,int h,int rw,int rh); 242 | 243 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 244 | public static extern int CreateFoobarEllipse(IntPtr dm,int hwnd,int x,int y,int w,int h); 245 | 246 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 247 | public static extern int CreateFoobarCustom(IntPtr dm,int hwnd,int x,int y,string pic,string trans_color,double sim); 248 | 249 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 250 | public static extern int FoobarFillRect(IntPtr dm,int hwnd,int x1,int y1,int x2,int y2,string color); 251 | 252 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 253 | public static extern int FoobarDrawText(IntPtr dm,int hwnd,int x,int y,int w,int h,string text,string color,int align); 254 | 255 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 256 | public static extern int FoobarDrawPic(IntPtr dm,int hwnd,int x,int y,string pic,string trans_color); 257 | 258 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 259 | public static extern int FoobarUpdate(IntPtr dm,int hwnd); 260 | 261 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 262 | public static extern int FoobarLock(IntPtr dm,int hwnd); 263 | 264 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 265 | public static extern int FoobarUnlock(IntPtr dm,int hwnd); 266 | 267 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 268 | public static extern int FoobarSetFont(IntPtr dm,int hwnd,string font_name,int size,int flag); 269 | 270 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 271 | public static extern int FoobarTextRect(IntPtr dm,int hwnd,int x,int y,int w,int h); 272 | 273 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 274 | public static extern int FoobarPrintText(IntPtr dm,int hwnd,string text,string color); 275 | 276 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 277 | public static extern int FoobarClearText(IntPtr dm,int hwnd); 278 | 279 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 280 | public static extern int FoobarTextLineGap(IntPtr dm,int hwnd,int gap); 281 | 282 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 283 | public static extern int Play(IntPtr dm,string file_); 284 | 285 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 286 | public static extern int FaqCapture(IntPtr dm,int x1,int y1,int x2,int y2,int quality,int delay,int time); 287 | 288 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 289 | public static extern int FaqRelease(IntPtr dm,int handle); 290 | 291 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 292 | public static extern IntPtr FaqSend(IntPtr dm,string server,int handle,int request_type,int time_out); 293 | 294 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 295 | public static extern int Beep(IntPtr dm,int fre,int delay); 296 | 297 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 298 | public static extern int FoobarClose(IntPtr dm,int hwnd); 299 | 300 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 301 | public static extern int MoveDD(IntPtr dm,int dx,int dy); 302 | 303 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 304 | public static extern int FaqGetSize(IntPtr dm,int handle); 305 | 306 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 307 | public static extern int LoadPic(IntPtr dm,string pic_name); 308 | 309 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 310 | public static extern int FreePic(IntPtr dm,string pic_name); 311 | 312 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 313 | public static extern int GetScreenData(IntPtr dm,int x1,int y1,int x2,int y2); 314 | 315 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 316 | public static extern int FreeScreenData(IntPtr dm,int handle); 317 | 318 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 319 | public static extern int WheelUp(IntPtr dm); 320 | 321 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 322 | public static extern int WheelDown(IntPtr dm); 323 | 324 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 325 | public static extern int SetMouseDelay(IntPtr dm,string type_,int delay); 326 | 327 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 328 | public static extern int SetKeypadDelay(IntPtr dm,string type_,int delay); 329 | 330 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 331 | public static extern IntPtr GetEnv(IntPtr dm,int index,string name); 332 | 333 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 334 | public static extern int SetEnv(IntPtr dm,int index,string name,string value); 335 | 336 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 337 | public static extern int SendString(IntPtr dm,int hwnd,string str); 338 | 339 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 340 | public static extern int DelEnv(IntPtr dm,int index,string name); 341 | 342 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 343 | public static extern IntPtr GetPath(IntPtr dm); 344 | 345 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 346 | public static extern int SetDict(IntPtr dm,int index,string dict_name); 347 | 348 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 349 | public static extern int FindPic(IntPtr dm,int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir,out object x,out object y); 350 | 351 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 352 | public static extern IntPtr FindPicEx(IntPtr dm,int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir); 353 | 354 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 355 | public static extern int SetClientSize(IntPtr dm,int hwnd,int width,int height); 356 | 357 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 358 | public static extern int ReadInt(IntPtr dm,int hwnd,string addr,int type_); 359 | 360 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 361 | public static extern int ReadFloat(IntPtr dm,int hwnd,string addr); 362 | 363 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 364 | public static extern int ReadDouble(IntPtr dm,int hwnd,string addr); 365 | 366 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 367 | public static extern IntPtr FindInt(IntPtr dm,int hwnd,string addr_range,int int_value_min,int int_value_max,int type_); 368 | 369 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 370 | public static extern IntPtr FindFloat(IntPtr dm,int hwnd,string addr_range,Single float_value_min,Single float_value_max); 371 | 372 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 373 | public static extern IntPtr FindDouble(IntPtr dm,int hwnd,string addr_range,double double_value_min,double double_value_max); 374 | 375 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 376 | public static extern IntPtr FindString(IntPtr dm,int hwnd,string addr_range,string string_value,int type_); 377 | 378 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 379 | public static extern int GetModuleBaseAddr(IntPtr dm,int hwnd,string module_name); 380 | 381 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 382 | public static extern IntPtr MoveToEx(IntPtr dm,int x,int y,int w,int h); 383 | 384 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 385 | public static extern IntPtr MatchPicName(IntPtr dm,string pic_name); 386 | 387 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 388 | public static extern int AddDict(IntPtr dm,int index,string dict_info); 389 | 390 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 391 | public static extern int EnterCri(IntPtr dm); 392 | 393 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 394 | public static extern int LeaveCri(IntPtr dm); 395 | 396 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 397 | public static extern int WriteInt(IntPtr dm,int hwnd,string addr,int type_,int v); 398 | 399 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 400 | public static extern int WriteFloat(IntPtr dm,int hwnd,string addr,Single v); 401 | 402 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 403 | public static extern int WriteDouble(IntPtr dm,int hwnd,string addr,double v); 404 | 405 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 406 | public static extern int WriteString(IntPtr dm,int hwnd,string addr,int type_,string v); 407 | 408 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 409 | public static extern int AsmAdd(IntPtr dm,string asm_ins); 410 | 411 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 412 | public static extern int AsmClear(IntPtr dm); 413 | 414 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 415 | public static extern int AsmCall(IntPtr dm,int hwnd,int mode); 416 | 417 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 418 | public static extern int FindMultiColor(IntPtr dm,int x1,int y1,int x2,int y2,string first_color,string offset_color,double sim,int dir,out object x,out object y); 419 | 420 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 421 | public static extern IntPtr FindMultiColorEx(IntPtr dm,int x1,int y1,int x2,int y2,string first_color,string offset_color,double sim,int dir); 422 | 423 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 424 | public static extern IntPtr AsmCode(IntPtr dm,int base_addr); 425 | 426 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 427 | public static extern IntPtr Assemble(IntPtr dm,string asm_code,int base_addr,int is_upper); 428 | 429 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 430 | public static extern int SetWindowTransparent(IntPtr dm,int hwnd,int v); 431 | 432 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 433 | public static extern IntPtr ReadData(IntPtr dm,int hwnd,string addr,int len); 434 | 435 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 436 | public static extern int WriteData(IntPtr dm,int hwnd,string addr,string data); 437 | 438 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 439 | public static extern IntPtr FindData(IntPtr dm,int hwnd,string addr_range,string data); 440 | 441 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 442 | public static extern int SetPicPwd(IntPtr dm,string pwd); 443 | 444 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 445 | public static extern int Log(IntPtr dm,string info); 446 | 447 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 448 | public static extern IntPtr FindStrE(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim); 449 | 450 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 451 | public static extern IntPtr FindColorE(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim,int dir); 452 | 453 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 454 | public static extern IntPtr FindPicE(IntPtr dm,int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir); 455 | 456 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 457 | public static extern IntPtr FindMultiColorE(IntPtr dm,int x1,int y1,int x2,int y2,string first_color,string offset_color,double sim,int dir); 458 | 459 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 460 | public static extern int SetExactOcr(IntPtr dm,int exact_ocr); 461 | 462 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 463 | public static extern IntPtr ReadString(IntPtr dm,int hwnd,string addr,int type_,int len); 464 | 465 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 466 | public static extern int FoobarTextPrintDir(IntPtr dm,int hwnd,int dir); 467 | 468 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 469 | public static extern IntPtr OcrEx(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim); 470 | 471 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 472 | public static extern int SetDisplayInput(IntPtr dm,string mode); 473 | 474 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 475 | public static extern int GetTime(IntPtr dm); 476 | 477 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 478 | public static extern int GetScreenWidth(IntPtr dm); 479 | 480 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 481 | public static extern int GetScreenHeight(IntPtr dm); 482 | 483 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 484 | public static extern int BindWindowEx(IntPtr dm,int hwnd,string display,string mouse,string keypad,string public_desc,int mode); 485 | 486 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 487 | public static extern IntPtr GetDiskSerial(IntPtr dm); 488 | 489 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 490 | public static extern IntPtr Md5(IntPtr dm,string str); 491 | 492 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 493 | public static extern IntPtr GetMac(IntPtr dm); 494 | 495 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 496 | public static extern int ActiveInputMethod(IntPtr dm,int hwnd,string id); 497 | 498 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 499 | public static extern int CheckInputMethod(IntPtr dm,int hwnd,string id); 500 | 501 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 502 | public static extern int FindInputMethod(IntPtr dm,string id); 503 | 504 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 505 | public static extern int GetCursorPos(IntPtr dm,out object x,out object y); 506 | 507 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 508 | public static extern int BindWindow(IntPtr dm,int hwnd,string display,string mouse,string keypad,int mode); 509 | 510 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 511 | public static extern int FindWindow(IntPtr dm,string class_name,string title_name); 512 | 513 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 514 | public static extern int GetScreenDepth(IntPtr dm); 515 | 516 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 517 | public static extern int SetScreen(IntPtr dm,int width,int height,int depth); 518 | 519 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 520 | public static extern int ExitOs(IntPtr dm,int type_); 521 | 522 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 523 | public static extern IntPtr GetDir(IntPtr dm,int type_); 524 | 525 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 526 | public static extern int GetOsType(IntPtr dm); 527 | 528 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 529 | public static extern int FindWindowEx(IntPtr dm,int parent,string class_name,string title_name); 530 | 531 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 532 | public static extern int SetExportDict(IntPtr dm,int index,string dict_name); 533 | 534 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 535 | public static extern IntPtr GetCursorShape(IntPtr dm); 536 | 537 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 538 | public static extern int DownCpu(IntPtr dm,int rate); 539 | 540 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 541 | public static extern IntPtr GetCursorSpot(IntPtr dm); 542 | 543 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 544 | public static extern int SendString2(IntPtr dm,int hwnd,string str); 545 | 546 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 547 | public static extern int FaqPost(IntPtr dm,string server,int handle,int request_type,int time_out); 548 | 549 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 550 | public static extern IntPtr FaqFetch(IntPtr dm); 551 | 552 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 553 | public static extern IntPtr FetchWord(IntPtr dm,int x1,int y1,int x2,int y2,string color,string word); 554 | 555 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 556 | public static extern int CaptureJpg(IntPtr dm,int x1,int y1,int x2,int y2,string file_,int quality); 557 | 558 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 559 | public static extern int FindStrWithFont(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,string font_name,int font_size,int flag,out object x,out object y); 560 | 561 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 562 | public static extern IntPtr FindStrWithFontE(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,string font_name,int font_size,int flag); 563 | 564 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 565 | public static extern IntPtr FindStrWithFontEx(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,string font_name,int font_size,int flag); 566 | 567 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 568 | public static extern IntPtr GetDictInfo(IntPtr dm,string str,string font_name,int font_size,int flag); 569 | 570 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 571 | public static extern int SaveDict(IntPtr dm,int index,string file_); 572 | 573 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 574 | public static extern int GetWindowProcessId(IntPtr dm,int hwnd); 575 | 576 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 577 | public static extern IntPtr GetWindowProcessPath(IntPtr dm,int hwnd); 578 | 579 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 580 | public static extern int LockInput(IntPtr dm,int lock1); 581 | 582 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 583 | public static extern IntPtr GetPicSize(IntPtr dm,string pic_name); 584 | 585 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 586 | public static extern int GetID(IntPtr dm); 587 | 588 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 589 | public static extern int CapturePng(IntPtr dm,int x1,int y1,int x2,int y2,string file_); 590 | 591 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 592 | public static extern int CaptureGif(IntPtr dm,int x1,int y1,int x2,int y2,string file_,int delay,int time); 593 | 594 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 595 | public static extern int ImageToBmp(IntPtr dm,string pic_name,string bmp_name); 596 | 597 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 598 | public static extern int FindStrFast(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,out object x,out object y); 599 | 600 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 601 | public static extern IntPtr FindStrFastEx(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim); 602 | 603 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 604 | public static extern IntPtr FindStrFastE(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim); 605 | 606 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 607 | public static extern int EnableDisplayDebug(IntPtr dm,int enable_debug); 608 | 609 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 610 | public static extern int CapturePre(IntPtr dm,string file_); 611 | 612 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 613 | public static extern int RegEx(IntPtr dm,string code,string Ver,string ip); 614 | 615 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 616 | public static extern IntPtr GetMachineCode(IntPtr dm); 617 | 618 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 619 | public static extern int SetClipboard(IntPtr dm,string data); 620 | 621 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 622 | public static extern IntPtr GetClipboard(IntPtr dm); 623 | 624 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 625 | public static extern int GetNowDict(IntPtr dm); 626 | 627 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 628 | public static extern int Is64Bit(IntPtr dm); 629 | 630 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 631 | public static extern int GetColorNum(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim); 632 | 633 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 634 | public static extern IntPtr EnumWindowByProcess(IntPtr dm,string process_name,string title,string class_name,int filter); 635 | 636 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 637 | public static extern int GetDictCount(IntPtr dm,int index); 638 | 639 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 640 | public static extern int GetLastError(IntPtr dm); 641 | 642 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 643 | public static extern IntPtr GetNetTime(IntPtr dm); 644 | 645 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 646 | public static extern int EnableGetColorByCapture(IntPtr dm,int en); 647 | 648 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 649 | public static extern int CheckUAC(IntPtr dm); 650 | 651 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 652 | public static extern int SetUAC(IntPtr dm,int uac); 653 | 654 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 655 | public static extern int DisableFontSmooth(IntPtr dm); 656 | 657 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 658 | public static extern int CheckFontSmooth(IntPtr dm); 659 | 660 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 661 | public static extern int SetDisplayAcceler(IntPtr dm,int level); 662 | 663 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 664 | public static extern int FindWindowByProcess(IntPtr dm,string process_name,string class_name,string title_name); 665 | 666 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 667 | public static extern int FindWindowByProcessId(IntPtr dm,int process_id,string class_name,string title_name); 668 | 669 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 670 | public static extern IntPtr ReadIni(IntPtr dm,string section,string key,string file_); 671 | 672 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 673 | public static extern int WriteIni(IntPtr dm,string section,string key,string v,string file_); 674 | 675 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 676 | public static extern int RunApp(IntPtr dm,string path,int mode); 677 | 678 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 679 | public static extern int delay(IntPtr dm,int mis); 680 | 681 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 682 | public static extern int FindWindowSuper(IntPtr dm,string spec1,int flag1,int type1,string spec2,int flag2,int type2); 683 | 684 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 685 | public static extern IntPtr ExcludePos(IntPtr dm,string all_pos,int type_,int x1,int y1,int x2,int y2); 686 | 687 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 688 | public static extern IntPtr FindNearestPos(IntPtr dm,string all_pos,int type_,int x,int y); 689 | 690 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 691 | public static extern IntPtr SortPosDistance(IntPtr dm,string all_pos,int type_,int x,int y); 692 | 693 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 694 | public static extern int FindPicMem(IntPtr dm,int x1,int y1,int x2,int y2,string pic_info,string delta_color,double sim,int dir,out object x,out object y); 695 | 696 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 697 | public static extern IntPtr FindPicMemEx(IntPtr dm,int x1,int y1,int x2,int y2,string pic_info,string delta_color,double sim,int dir); 698 | 699 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 700 | public static extern IntPtr FindPicMemE(IntPtr dm,int x1,int y1,int x2,int y2,string pic_info,string delta_color,double sim,int dir); 701 | 702 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 703 | public static extern IntPtr AppendPicAddr(IntPtr dm,string pic_info,int addr,int size); 704 | 705 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 706 | public static extern int WriteFile(IntPtr dm,string file_,string content); 707 | 708 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 709 | public static extern int Stop(IntPtr dm,int id); 710 | 711 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 712 | public static extern int SetDictMem(IntPtr dm,int index,int addr,int size); 713 | 714 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 715 | public static extern IntPtr GetNetTimeSafe(IntPtr dm); 716 | 717 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 718 | public static extern int ForceUnBindWindow(IntPtr dm,int hwnd); 719 | 720 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 721 | public static extern IntPtr ReadIniPwd(IntPtr dm,string section,string key,string file_,string pwd); 722 | 723 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 724 | public static extern int WriteIniPwd(IntPtr dm,string section,string key,string v,string file_,string pwd); 725 | 726 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 727 | public static extern int DecodeFile(IntPtr dm,string file_,string pwd); 728 | 729 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 730 | public static extern int KeyDownChar(IntPtr dm,string key_str); 731 | 732 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 733 | public static extern int KeyUpChar(IntPtr dm,string key_str); 734 | 735 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 736 | public static extern int KeyPressChar(IntPtr dm,string key_str); 737 | 738 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 739 | public static extern int KeyPressStr(IntPtr dm,string key_str,int delay); 740 | 741 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 742 | public static extern int EnableKeypadPatch(IntPtr dm,int en); 743 | 744 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 745 | public static extern int EnableKeypadSync(IntPtr dm,int en,int time_out); 746 | 747 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 748 | public static extern int EnableMouseSync(IntPtr dm,int en,int time_out); 749 | 750 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 751 | public static extern int DmGuard(IntPtr dm,int en,string type_); 752 | 753 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 754 | public static extern int FaqCaptureFromFile(IntPtr dm,int x1,int y1,int x2,int y2,string file_,int quality); 755 | 756 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 757 | public static extern IntPtr FindIntEx(IntPtr dm,int hwnd,string addr_range,int int_value_min,int int_value_max,int type_,int step,int multi_thread,int mode); 758 | 759 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 760 | public static extern IntPtr FindFloatEx(IntPtr dm,int hwnd,string addr_range,Single float_value_min,Single float_value_max,int step,int multi_thread,int mode); 761 | 762 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 763 | public static extern IntPtr FindDoubleEx(IntPtr dm,int hwnd,string addr_range,double double_value_min,double double_value_max,int step,int multi_thread,int mode); 764 | 765 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 766 | public static extern IntPtr FindStringEx(IntPtr dm,int hwnd,string addr_range,string string_value,int type_,int step,int multi_thread,int mode); 767 | 768 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 769 | public static extern IntPtr FindDataEx(IntPtr dm,int hwnd,string addr_range,string data,int step,int multi_thread,int mode); 770 | 771 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 772 | public static extern int EnableRealMouse(IntPtr dm,int en,int mousedelay,int mousestep); 773 | 774 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 775 | public static extern int EnableRealKeypad(IntPtr dm,int en); 776 | 777 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 778 | public static extern int SendStringIme(IntPtr dm,string str); 779 | 780 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 781 | public static extern int FoobarDrawLine(IntPtr dm,int hwnd,int x1,int y1,int x2,int y2,string color,int style,int width); 782 | 783 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 784 | public static extern IntPtr FindStrEx(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim); 785 | 786 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 787 | public static extern int IsBind(IntPtr dm,int hwnd); 788 | 789 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 790 | public static extern int SetDisplayDelay(IntPtr dm,int t); 791 | 792 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 793 | public static extern int GetDmCount(IntPtr dm); 794 | 795 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 796 | public static extern int DisableScreenSave(IntPtr dm); 797 | 798 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 799 | public static extern int DisablePowerSave(IntPtr dm); 800 | 801 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 802 | public static extern int SetMemoryHwndAsProcessId(IntPtr dm,int en); 803 | 804 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 805 | public static extern int FindShape(IntPtr dm,int x1,int y1,int x2,int y2,string offset_color,double sim,int dir,out object x,out object y); 806 | 807 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 808 | public static extern IntPtr FindShapeE(IntPtr dm,int x1,int y1,int x2,int y2,string offset_color,double sim,int dir); 809 | 810 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 811 | public static extern IntPtr FindShapeEx(IntPtr dm,int x1,int y1,int x2,int y2,string offset_color,double sim,int dir); 812 | 813 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 814 | public static extern IntPtr FindStrS(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,out object x,out object y); 815 | 816 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 817 | public static extern IntPtr FindStrExS(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim); 818 | 819 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 820 | public static extern IntPtr FindStrFastS(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim,out object x,out object y); 821 | 822 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 823 | public static extern IntPtr FindStrFastExS(IntPtr dm,int x1,int y1,int x2,int y2,string str,string color,double sim); 824 | 825 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 826 | public static extern IntPtr FindPicS(IntPtr dm,int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir,out object x,out object y); 827 | 828 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 829 | public static extern IntPtr FindPicExS(IntPtr dm,int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir); 830 | 831 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 832 | public static extern int ClearDict(IntPtr dm,int index); 833 | 834 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 835 | public static extern IntPtr GetMachineCodeNoMac(IntPtr dm); 836 | 837 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 838 | public static extern int GetClientRect(IntPtr dm,int hwnd,out object x1,out object y1,out object x2,out object y2); 839 | 840 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 841 | public static extern int EnableFakeActive(IntPtr dm,int en); 842 | 843 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 844 | public static extern int GetScreenDataBmp(IntPtr dm,int x1,int y1,int x2,int y2,out object data,out object size); 845 | 846 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 847 | public static extern int EncodeFile(IntPtr dm,string file_,string pwd); 848 | 849 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 850 | public static extern IntPtr GetCursorShapeEx(IntPtr dm,int type_); 851 | 852 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 853 | public static extern int FaqCancel(IntPtr dm); 854 | 855 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 856 | public static extern IntPtr IntToData(IntPtr dm,int int_value,int type_); 857 | 858 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 859 | public static extern IntPtr FloatToData(IntPtr dm,Single float_value); 860 | 861 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 862 | public static extern IntPtr DoubleToData(IntPtr dm,double double_value); 863 | 864 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 865 | public static extern IntPtr StringToData(IntPtr dm,string string_value,int type_); 866 | 867 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 868 | public static extern int SetMemoryFindResultToFile(IntPtr dm,string file_); 869 | 870 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 871 | public static extern int EnableBind(IntPtr dm,int en); 872 | 873 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 874 | public static extern int SetSimMode(IntPtr dm,int mode); 875 | 876 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 877 | public static extern int LockMouseRect(IntPtr dm,int x1,int y1,int x2,int y2); 878 | 879 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 880 | public static extern int SendPaste(IntPtr dm,int hwnd); 881 | 882 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 883 | public static extern int IsDisplayDead(IntPtr dm,int x1,int y1,int x2,int y2,int t); 884 | 885 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 886 | public static extern int GetKeyState(IntPtr dm,int vk); 887 | 888 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 889 | public static extern int CopyFile(IntPtr dm,string src_file,string dst_file,int over); 890 | 891 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 892 | public static extern int IsFileExist(IntPtr dm,string file_); 893 | 894 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 895 | public static extern int DeleteFile(IntPtr dm,string file_); 896 | 897 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 898 | public static extern int MoveFile(IntPtr dm,string src_file,string dst_file); 899 | 900 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 901 | public static extern int CreateFolder(IntPtr dm,string folder_name); 902 | 903 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 904 | public static extern int DeleteFolder(IntPtr dm,string folder_name); 905 | 906 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 907 | public static extern int GetFileLength(IntPtr dm,string file_); 908 | 909 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 910 | public static extern IntPtr ReadFile(IntPtr dm,string file_); 911 | 912 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 913 | public static extern int WaitKey(IntPtr dm,int key_code,int time_out); 914 | 915 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 916 | public static extern int DeleteIni(IntPtr dm,string section,string key,string file_); 917 | 918 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 919 | public static extern int DeleteIniPwd(IntPtr dm,string section,string key,string file_,string pwd); 920 | 921 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 922 | public static extern int EnableSpeedDx(IntPtr dm,int en); 923 | 924 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 925 | public static extern int EnableIme(IntPtr dm,int en); 926 | 927 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 928 | public static extern int Reg(IntPtr dm,string code,string Ver); 929 | 930 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 931 | public static extern IntPtr SelectFile(IntPtr dm); 932 | 933 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 934 | public static extern IntPtr SelectDirectory(IntPtr dm); 935 | 936 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 937 | public static extern int LockDisplay(IntPtr dm,int lock1); 938 | 939 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 940 | public static extern int FoobarSetSave(IntPtr dm,int hwnd,string file_,int en,string header); 941 | 942 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 943 | public static extern IntPtr EnumWindowSuper(IntPtr dm,string spec1,int flag1,int type1,string spec2,int flag2,int type2,int sort); 944 | 945 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 946 | public static extern int DownloadFile(IntPtr dm,string url,string save_file,int timeout); 947 | 948 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 949 | public static extern int EnableKeypadMsg(IntPtr dm,int en); 950 | 951 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 952 | public static extern int EnableMouseMsg(IntPtr dm,int en); 953 | 954 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 955 | public static extern int RegNoMac(IntPtr dm,string code,string Ver); 956 | 957 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 958 | public static extern int RegExNoMac(IntPtr dm,string code,string Ver,string ip); 959 | 960 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 961 | public static extern int SetEnumWindowDelay(IntPtr dm,int delay); 962 | 963 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 964 | public static extern int FindMulColor(IntPtr dm,int x1,int y1,int x2,int y2,string color,double sim); 965 | 966 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 967 | public static extern IntPtr GetDict(IntPtr dm,int index,int font_index); 968 | 969 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 970 | public static extern int GetBindWindow(IntPtr dm); 971 | 972 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 973 | public static extern int FoobarStartGif(IntPtr dm, int hwnd, int x, int y, string pic_name, int repeat_limit, int delay); 974 | 975 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 976 | public static extern int FoobarStopGif(IntPtr dm, int hwnd, int x, int y, string pic_name); 977 | 978 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 979 | public static extern int FreeProcessMemory(IntPtr dm, int hwnd); 980 | 981 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 982 | public static extern IntPtr ReadFileData(IntPtr dm, string file_, int start_pos, int end_pos); 983 | 984 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 985 | public static extern int VirtualAllocEx(IntPtr dm, int hwnd, int addr, int size, int type_); 986 | 987 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 988 | public static extern int VirtualFreeEx(IntPtr dm, int hwnd, int addr); 989 | 990 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 991 | public static extern IntPtr GetCommandLine(IntPtr dm, int hwnd); 992 | 993 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 994 | public static extern int TerminateProcess(IntPtr dm, int pid); 995 | 996 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 997 | public static extern IntPtr GetNetTimeByIp(IntPtr dm, string ip); 998 | 999 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1000 | public static extern IntPtr EnumProcess(IntPtr dm, string name); 1001 | 1002 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1003 | public static extern IntPtr GetProcessInfo(IntPtr dm, int pid); 1004 | 1005 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1006 | public static extern int ReadIntAddr(IntPtr dm, int hwnd, int addr, int type_); 1007 | 1008 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1009 | public static extern IntPtr ReadDataAddr(IntPtr dm, int hwnd, int addr, int len); 1010 | 1011 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1012 | public static extern int ReadDoubleAddr(IntPtr dm, int hwnd, int addr); 1013 | 1014 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1015 | public static extern int ReadFloatAddr(IntPtr dm, int hwnd, int addr); 1016 | 1017 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1018 | public static extern IntPtr ReadStringAddr(IntPtr dm, int hwnd, int addr, int type_, int len); 1019 | 1020 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1021 | public static extern int WriteDataAddr(IntPtr dm, int hwnd, int addr, string data); 1022 | 1023 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1024 | public static extern int WriteDoubleAddr(IntPtr dm, int hwnd, int addr, double v); 1025 | 1026 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1027 | public static extern int WriteFloatAddr(IntPtr dm, int hwnd, int addr, Single v); 1028 | 1029 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1030 | public static extern int WriteIntAddr(IntPtr dm, int hwnd, int addr, int type_, int v); 1031 | 1032 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1033 | public static extern int WriteStringAddr(IntPtr dm, int hwnd, int addr, int type_, string v); 1034 | 1035 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1036 | public static extern int Delays(IntPtr dm, int min_s, int max_s); 1037 | 1038 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1039 | public static extern int FindColorBlock(IntPtr dm, int x1, int y1, int x2, int y2, string color, double sim, int count, int width, int height, out object x, out object y); 1040 | 1041 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1042 | public static extern IntPtr FindColorBlockEx(IntPtr dm, int x1, int y1, int x2, int y2, string color, double sim, int count, int width, int height); 1043 | 1044 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1045 | public static extern int OpenProcess(IntPtr dm, int pid); 1046 | 1047 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1048 | public static extern IntPtr EnumIniSection(IntPtr dm, string file_); 1049 | 1050 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1051 | public static extern IntPtr EnumIniSectionPwd(IntPtr dm, string file_, string pwd); 1052 | 1053 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1054 | public static extern IntPtr EnumIniKey(IntPtr dm, string section, string file_); 1055 | 1056 | [DllImport(DMCNAME, CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] 1057 | public static extern IntPtr EnumIniKeyPwd(IntPtr dm, string section, string file_, string pwd); 1058 | 1059 | 1060 | #endregion 1061 | 1062 | private IntPtr _dm = IntPtr.Zero; 1063 | private bool disposed = false; 1064 | 1065 | public IntPtr DM 1066 | { 1067 | get { return _dm; } 1068 | set { _dm = value; } 1069 | } 1070 | 1071 | 1072 | public CDmSoft() 1073 | { 1074 | _dm = CreateDM("dm.dll"); 1075 | } 1076 | 1077 | public CDmSoft(string path) 1078 | { 1079 | _dm = CreateDM(path); 1080 | } 1081 | 1082 | public string Ver(){ 1083 | return Marshal.PtrToStringUni(Ver(_dm)); 1084 | } 1085 | 1086 | public int GetBindWindow() 1087 | { 1088 | return GetBindWindow(_dm); 1089 | } 1090 | 1091 | public int FoobarStartGif(int hwnd, int x, int y, string pic_name, int repeat_limit, int delay) 1092 | { 1093 | return FoobarStartGif(_dm, hwnd, x, y, pic_name, repeat_limit, delay); 1094 | } 1095 | 1096 | public int FoobarStopGif(int hwnd, int x, int y, string pic_name) 1097 | { 1098 | return FoobarStopGif(_dm, hwnd, x, y, pic_name); 1099 | } 1100 | 1101 | public int FreeProcessMemory(int hwnd) 1102 | { 1103 | return FreeProcessMemory(_dm, hwnd); 1104 | } 1105 | 1106 | public string ReadFileData(string file_, int start_pos, int end_pos) 1107 | { 1108 | return Marshal.PtrToStringUni(ReadFileData(_dm, file_, start_pos, end_pos)); 1109 | } 1110 | 1111 | public int VirtualAllocEx(int hwnd, int addr, int size, int type_) 1112 | { 1113 | return VirtualAllocEx(_dm, hwnd, addr, size, type_); 1114 | } 1115 | 1116 | public int VirtualFreeEx(int hwnd, int addr) 1117 | { 1118 | return VirtualFreeEx(_dm, hwnd, addr); 1119 | } 1120 | 1121 | public string GetCommandLine(int hwnd) 1122 | { 1123 | return Marshal.PtrToStringUni(GetCommandLine(_dm, hwnd)); 1124 | } 1125 | 1126 | public int TerminateProcess(int pid) 1127 | { 1128 | return TerminateProcess(_dm, pid); 1129 | } 1130 | 1131 | public string GetNetTimeByIp(string ip) 1132 | { 1133 | return Marshal.PtrToStringUni(GetNetTimeByIp(_dm, ip)); 1134 | } 1135 | 1136 | public string EnumProcess(string name) 1137 | { 1138 | return Marshal.PtrToStringUni(EnumProcess(_dm, name)); 1139 | } 1140 | 1141 | public string GetProcessInfo(int pid) 1142 | { 1143 | return Marshal.PtrToStringUni(GetProcessInfo(_dm, pid)); 1144 | } 1145 | 1146 | public int ReadIntAddr(int hwnd, int addr, int type_) 1147 | { 1148 | return ReadIntAddr(_dm, hwnd, addr, type_); 1149 | } 1150 | 1151 | public string ReadDataAddr(int hwnd, int addr, int len) 1152 | { 1153 | return Marshal.PtrToStringUni(ReadDataAddr(_dm, hwnd, addr, len)); 1154 | } 1155 | 1156 | public int ReadDoubleAddr(int hwnd, int addr) 1157 | { 1158 | return ReadDoubleAddr(_dm, hwnd, addr); 1159 | } 1160 | 1161 | public int ReadFloatAddr(int hwnd, int addr) 1162 | { 1163 | return ReadFloatAddr(_dm, hwnd, addr); 1164 | } 1165 | 1166 | public string ReadStringAddr(int hwnd, int addr, int type_, int len) 1167 | { 1168 | return Marshal.PtrToStringUni(ReadStringAddr(_dm, hwnd, addr, type_, len)); 1169 | } 1170 | 1171 | public int WriteDataAddr(int hwnd, int addr, string data) 1172 | { 1173 | return WriteDataAddr(_dm, hwnd, addr, data); 1174 | } 1175 | 1176 | public int WriteDoubleAddr(int hwnd, int addr, double v) 1177 | { 1178 | return WriteDoubleAddr(_dm, hwnd, addr, v); 1179 | } 1180 | 1181 | public int WriteFloatAddr(int hwnd, int addr, Single v) 1182 | { 1183 | return WriteFloatAddr(_dm, hwnd, addr, v); 1184 | } 1185 | 1186 | public int WriteIntAddr(int hwnd, int addr, int type_, int v) 1187 | { 1188 | return WriteIntAddr(_dm, hwnd, addr, type_, v); 1189 | } 1190 | 1191 | public int WriteStringAddr(int hwnd, int addr, int type_, string v) 1192 | { 1193 | return WriteStringAddr(_dm, hwnd, addr, type_, v); 1194 | } 1195 | 1196 | public int Delays(int min_s, int max_s) 1197 | { 1198 | return Delays(_dm, min_s, max_s); 1199 | } 1200 | 1201 | public int FindColorBlock(int x1, int y1, int x2, int y2, string color, double sim, int count, int width, int height, out object x, out object y) 1202 | { 1203 | return FindColorBlock(_dm, x1, y1, x2, y2, color, sim, count, width, height, out x, out y); 1204 | } 1205 | 1206 | public string FindColorBlockEx(int x1, int y1, int x2, int y2, string color, double sim, int count, int width, int height) 1207 | { 1208 | return Marshal.PtrToStringUni(FindColorBlockEx(_dm, x1, y1, x2, y2, color, sim, count, width, height)); 1209 | } 1210 | 1211 | public int OpenProcess(int pid) 1212 | { 1213 | return OpenProcess(_dm, pid); 1214 | } 1215 | 1216 | public string EnumIniSection(string file_) 1217 | { 1218 | return Marshal.PtrToStringUni(EnumIniSection(_dm, file_)); 1219 | } 1220 | 1221 | public string EnumIniSectionPwd(string file_, string pwd) 1222 | { 1223 | return Marshal.PtrToStringUni(EnumIniSectionPwd(_dm, file_, pwd)); 1224 | } 1225 | 1226 | public string EnumIniKey(string section, string file_) 1227 | { 1228 | return Marshal.PtrToStringUni(EnumIniKey(_dm, section, file_)); 1229 | } 1230 | 1231 | public string EnumIniKeyPwd(string section, string file_, string pwd) 1232 | { 1233 | return Marshal.PtrToStringUni(EnumIniKeyPwd(_dm, section, file_, pwd)); 1234 | } 1235 | 1236 | 1237 | 1238 | 1239 | 1240 | 1241 | public int SetPath(string path) 1242 | { 1243 | return SetPath(_dm,path); 1244 | } 1245 | 1246 | public string Ocr(int x1,int y1,int x2,int y2,string color,double sim) 1247 | { 1248 | return Marshal.PtrToStringUni(Ocr(_dm,x1, y1, x2, y2, color,sim)); 1249 | } 1250 | 1251 | public int FindStr(int x1,int y1,int x2,int y2,string str,string color,double sim, out object x, out object y) 1252 | { 1253 | return FindStr(_dm,x1, y1, x2, y2, str,color, sim, out x, out y); 1254 | } 1255 | 1256 | public int GetResultCount(string str) 1257 | { 1258 | return GetResultCount(_dm,str); 1259 | } 1260 | 1261 | public int GetResultPos(string str,int index, out object x,out object y) 1262 | { 1263 | return GetResultPos(_dm,str, index, out x,out y); 1264 | } 1265 | 1266 | public int StrStr(string s,string str) 1267 | { 1268 | return StrStr(_dm,s, str); 1269 | } 1270 | 1271 | public int SendCommand(string cmd) 1272 | { 1273 | return SendCommand(_dm,cmd); 1274 | } 1275 | 1276 | public int UseDict(int index) 1277 | { 1278 | return UseDict(_dm,index); 1279 | } 1280 | 1281 | public string GetBasePath(){ 1282 | return Marshal.PtrToStringUni(GetBasePath(_dm)); 1283 | } 1284 | 1285 | public int SetDictPwd(string pwd) 1286 | { 1287 | return SetDictPwd(_dm,pwd); 1288 | } 1289 | 1290 | public string OcrInFile(int x1,int y1,int x2,int y2,string pic_name,string color,double sim) 1291 | { 1292 | return Marshal.PtrToStringUni(OcrInFile(_dm,x1, y1, x2, y2, pic_name, color, sim)); 1293 | } 1294 | 1295 | public int Capture(int x1,int y1,int x2,int y2,string file_) 1296 | { 1297 | return Capture(_dm,x1, y1, x2, y2, file_); 1298 | } 1299 | 1300 | public int KeyPress(int vk) 1301 | { 1302 | return KeyPress(_dm,vk); 1303 | } 1304 | 1305 | public int KeyDown(int vk) 1306 | { 1307 | return KeyDown(_dm,vk); 1308 | } 1309 | 1310 | public int KeyUp(int vk) 1311 | { 1312 | return KeyUp(_dm,vk); 1313 | } 1314 | 1315 | public int LeftClick(){ 1316 | return LeftClick(_dm); 1317 | } 1318 | 1319 | public int RightClick(){ 1320 | return RightClick(_dm); 1321 | } 1322 | 1323 | public int MiddleClick(){ 1324 | return MiddleClick(_dm); 1325 | } 1326 | 1327 | public int LeftDoubleClick(){ 1328 | return LeftDoubleClick(_dm); 1329 | } 1330 | 1331 | public int LeftDown(){ 1332 | return LeftDown(_dm); 1333 | } 1334 | 1335 | public int LeftUp(){ 1336 | return LeftUp(_dm); 1337 | } 1338 | 1339 | public int RightDown(){ 1340 | return RightDown(_dm); 1341 | } 1342 | 1343 | public int RightUp(){ 1344 | return RightUp(_dm); 1345 | } 1346 | 1347 | public int MoveTo(int x,int y) 1348 | { 1349 | return MoveTo(_dm,x, y); 1350 | } 1351 | 1352 | public int MoveR(int rx,int ry) 1353 | { 1354 | return MoveR(_dm,rx, ry); 1355 | } 1356 | 1357 | public string GetColor(int x,int y) 1358 | { 1359 | return Marshal.PtrToStringUni(GetColor(_dm,x, y)); 1360 | } 1361 | 1362 | public string GetColorBGR(int x,int y) 1363 | { 1364 | return Marshal.PtrToStringUni(GetColorBGR(_dm,x, y)); 1365 | } 1366 | 1367 | public string RGB2BGR(string rgb_color) 1368 | { 1369 | return Marshal.PtrToStringUni(RGB2BGR(_dm,rgb_color)); 1370 | } 1371 | 1372 | public string BGR2RGB(string bgr_color) 1373 | { 1374 | return Marshal.PtrToStringUni(BGR2RGB(_dm,bgr_color)); 1375 | } 1376 | 1377 | public int UnBindWindow(){ 1378 | return UnBindWindow(_dm); 1379 | } 1380 | 1381 | public int CmpColor(int x,int y,string color,double sim) 1382 | { 1383 | return CmpColor(_dm,x, y, color, sim); 1384 | } 1385 | 1386 | public int ClientToScreen(int hwnd, ref object x, ref object y) 1387 | { 1388 | return ClientToScreen(_dm,hwnd, ref x, ref y); 1389 | } 1390 | 1391 | public int ScreenToClient(int hwnd, ref object x, ref object y) 1392 | { 1393 | return ScreenToClient(_dm,hwnd, ref x, ref y); 1394 | } 1395 | 1396 | public int ShowScrMsg(int x1,int y1,int x2,int y2,string msg,string color) 1397 | { 1398 | return ShowScrMsg(_dm,x1, y1, x2, y2, msg,color); 1399 | } 1400 | 1401 | public int SetMinRowGap(int row_gap) 1402 | { 1403 | return SetMinRowGap(_dm,row_gap); 1404 | } 1405 | 1406 | public int SetMinColGap(int col_gap) 1407 | { 1408 | return SetMinColGap(_dm,col_gap); 1409 | } 1410 | 1411 | public int FindColor(int x1,int y1,int x2,int y2,string color,double sim,int dir, out object x, out object y) 1412 | { 1413 | return FindColor(_dm,x1, y1, x2, y2, color,sim, dir, out x, out y); 1414 | } 1415 | 1416 | public string FindColorEx(int x1,int y1,int x2,int y2,string color,double sim,int dir) 1417 | { 1418 | return Marshal.PtrToStringUni(FindColorEx(_dm,x1, y1, x2, y2,color, sim, dir)); 1419 | } 1420 | 1421 | public int SetWordLineHeight(int line_height) 1422 | { 1423 | return SetWordLineHeight(_dm,line_height); 1424 | } 1425 | 1426 | public int SetWordGap(int word_gap) 1427 | { 1428 | return SetWordGap(_dm,word_gap); 1429 | } 1430 | 1431 | public int SetRowGapNoDict(int row_gap) 1432 | { 1433 | return SetRowGapNoDict(_dm,row_gap); 1434 | } 1435 | 1436 | public int SetColGapNoDict(int col_gap) 1437 | { 1438 | return SetColGapNoDict(_dm,col_gap); 1439 | } 1440 | 1441 | public int SetWordLineHeightNoDict(int line_height) 1442 | { 1443 | return SetWordLineHeightNoDict(_dm,line_height); 1444 | } 1445 | 1446 | public int SetWordGapNoDict(int word_gap) 1447 | { 1448 | return SetWordGapNoDict(_dm,word_gap); 1449 | } 1450 | 1451 | public int GetWordResultCount(string str) 1452 | { 1453 | return GetWordResultCount(_dm,str); 1454 | } 1455 | 1456 | public int GetWordResultPos(string str,int index, out object x,out object y) 1457 | { 1458 | return GetWordResultPos(_dm,str, index, out x,out y); 1459 | } 1460 | 1461 | public string GetWordResultStr(string str,int index) 1462 | { 1463 | return Marshal.PtrToStringUni(GetWordResultStr(_dm,str, index)); 1464 | } 1465 | 1466 | public string GetWords(int x1,int y1,int x2,int y2,string color,double sim) 1467 | { 1468 | return Marshal.PtrToStringUni(GetWords(_dm,x1, y1, x2, y2, color,sim)); 1469 | } 1470 | 1471 | public string GetWordsNoDict(int x1,int y1,int x2,int y2,string color) 1472 | { 1473 | return Marshal.PtrToStringUni(GetWordsNoDict(_dm,x1, y1, x2, y2,color)); 1474 | } 1475 | 1476 | public int SetShowErrorMsg(int show) 1477 | { 1478 | return SetShowErrorMsg(_dm,show); 1479 | } 1480 | 1481 | public int GetClientSize(int hwnd, out object width, out object height) 1482 | { 1483 | return GetClientSize(_dm,hwnd, out width, out height); 1484 | } 1485 | 1486 | public int MoveWindow(int hwnd,int x,int y) 1487 | { 1488 | return MoveWindow(_dm,hwnd, x, y); 1489 | } 1490 | 1491 | public string GetColorHSV(int x,int y) 1492 | { 1493 | return Marshal.PtrToStringUni(GetColorHSV(_dm,x, y)); 1494 | } 1495 | 1496 | public string GetAveRGB(int x1,int y1,int x2,int y2) 1497 | { 1498 | return Marshal.PtrToStringUni(GetAveRGB(_dm,x1, y1, x2, y2)); 1499 | } 1500 | 1501 | public string GetAveHSV(int x1,int y1,int x2,int y2) 1502 | { 1503 | return Marshal.PtrToStringUni(GetAveHSV(_dm,x1, y1, x2, y2)); 1504 | } 1505 | 1506 | public int GetForegroundWindow(){ 1507 | return GetForegroundWindow(_dm); 1508 | } 1509 | 1510 | public int GetForegroundFocus(){ 1511 | return GetForegroundFocus(_dm); 1512 | } 1513 | 1514 | public int GetMousePointWindow(){ 1515 | return GetMousePointWindow(_dm); 1516 | } 1517 | 1518 | public int GetPointWindow(int x,int y) 1519 | { 1520 | return GetPointWindow(_dm,x, y); 1521 | } 1522 | 1523 | public string EnumWindow(int parent,string title,string class_name,int filter) 1524 | { 1525 | return Marshal.PtrToStringUni(EnumWindow(_dm,parent, title, class_name,filter)); 1526 | } 1527 | 1528 | public int GetWindowState(int hwnd,int flag) 1529 | { 1530 | return GetWindowState(_dm,hwnd, flag); 1531 | } 1532 | 1533 | public int GetWindow(int hwnd,int flag) 1534 | { 1535 | return GetWindow(_dm,hwnd, flag); 1536 | } 1537 | 1538 | public int GetSpecialWindow(int flag) 1539 | { 1540 | return GetSpecialWindow(_dm,flag); 1541 | } 1542 | 1543 | public int SetWindowText(int hwnd,string text) 1544 | { 1545 | return SetWindowText(_dm,hwnd, text); 1546 | } 1547 | 1548 | public int SetWindowSize(int hwnd,int width,int height) 1549 | { 1550 | return SetWindowSize(_dm,hwnd, width, height); 1551 | } 1552 | 1553 | public int GetWindowRect(int hwnd, out object x1, out object y1, out object x2, out object y2) 1554 | { 1555 | return GetWindowRect(_dm,hwnd, out x1, out y1, out x2, out y2); 1556 | } 1557 | 1558 | public string GetWindowTitle(int hwnd) 1559 | { 1560 | return Marshal.PtrToStringUni(GetWindowTitle(_dm,hwnd)); 1561 | } 1562 | 1563 | public string GetWindowClass(int hwnd) 1564 | { 1565 | return Marshal.PtrToStringUni(GetWindowClass(_dm,hwnd)); 1566 | } 1567 | 1568 | public int SetWindowState(int hwnd,int flag) 1569 | { 1570 | return SetWindowState(_dm,hwnd, flag); 1571 | } 1572 | 1573 | public int CreateFoobarRect(int hwnd,int x,int y,int w,int h) 1574 | { 1575 | return CreateFoobarRect(_dm,hwnd, x, y, w, h); 1576 | } 1577 | 1578 | public int CreateFoobarRoundRect(int hwnd,int x,int y,int w,int h,int rw,int rh) 1579 | { 1580 | return CreateFoobarRoundRect(_dm,hwnd, x, y, w, h, rw, rh); 1581 | } 1582 | 1583 | public int CreateFoobarEllipse(int hwnd,int x,int y,int w,int h) 1584 | { 1585 | return CreateFoobarEllipse(_dm,hwnd, x, y, w, h); 1586 | } 1587 | 1588 | public int CreateFoobarCustom(int hwnd,int x,int y,string pic,string trans_color,double sim) 1589 | { 1590 | return CreateFoobarCustom(_dm,hwnd, x, y, pic, trans_color, sim); 1591 | } 1592 | 1593 | public int FoobarFillRect(int hwnd,int x1,int y1,int x2,int y2,string color) 1594 | { 1595 | return FoobarFillRect(_dm,hwnd, x1, y1, x2, y2, color); 1596 | } 1597 | 1598 | public int FoobarDrawText(int hwnd,int x,int y,int w,int h,string text,string color,int align) 1599 | { 1600 | return FoobarDrawText(_dm,hwnd, x, y, w, h, text, color, align); 1601 | } 1602 | 1603 | public int FoobarDrawPic(int hwnd,int x,int y,string pic,string trans_color) 1604 | { 1605 | return FoobarDrawPic(_dm,hwnd, x, y, pic, trans_color); 1606 | } 1607 | 1608 | public int FoobarUpdate(int hwnd) 1609 | { 1610 | return FoobarUpdate(_dm,hwnd); 1611 | } 1612 | 1613 | public int FoobarLock(int hwnd) 1614 | { 1615 | return FoobarLock(_dm,hwnd); 1616 | } 1617 | 1618 | public int FoobarUnlock(int hwnd) 1619 | { 1620 | return FoobarUnlock(_dm,hwnd); 1621 | } 1622 | 1623 | public int FoobarSetFont(int hwnd,string font_name,int size,int flag) 1624 | { 1625 | return FoobarSetFont(_dm,hwnd, font_name, size, flag); 1626 | } 1627 | 1628 | public int FoobarTextRect(int hwnd,int x,int y,int w,int h) 1629 | { 1630 | return FoobarTextRect(_dm,hwnd, x, y, w, h); 1631 | } 1632 | 1633 | public int FoobarPrintText(int hwnd,string text,string color) 1634 | { 1635 | return FoobarPrintText(_dm,hwnd, text, color); 1636 | } 1637 | 1638 | public int FoobarClearText(int hwnd) 1639 | { 1640 | return FoobarClearText(_dm,hwnd); 1641 | } 1642 | 1643 | public int FoobarTextLineGap(int hwnd,int gap) 1644 | { 1645 | return FoobarTextLineGap(_dm,hwnd, gap); 1646 | } 1647 | 1648 | public int Play(string file_) 1649 | { 1650 | return Play(_dm,file_); 1651 | } 1652 | 1653 | public int FaqCapture(int x1,int y1,int x2,int y2,int quality,int delay,int time) 1654 | { 1655 | return FaqCapture(_dm,x1, y1, x2, y2, quality,delay, time); 1656 | } 1657 | 1658 | public int FaqRelease(int handle) 1659 | { 1660 | return FaqRelease(_dm,handle); 1661 | } 1662 | 1663 | public string FaqSend(string server,int handle,int request_type,int time_out) 1664 | { 1665 | return Marshal.PtrToStringUni(FaqSend(_dm,server, handle, request_type, time_out)); 1666 | } 1667 | 1668 | public int Beep(int fre,int delay) 1669 | { 1670 | return Beep(_dm,fre, delay); 1671 | } 1672 | 1673 | public int FoobarClose(int hwnd) 1674 | { 1675 | return FoobarClose(_dm,hwnd); 1676 | } 1677 | 1678 | public int MoveDD(int dx,int dy) 1679 | { 1680 | return MoveDD(_dm,dx, dy); 1681 | } 1682 | 1683 | public int FaqGetSize(int handle) 1684 | { 1685 | return FaqGetSize(_dm,handle); 1686 | } 1687 | 1688 | public int LoadPic(string pic_name) 1689 | { 1690 | return LoadPic(_dm,pic_name); 1691 | } 1692 | 1693 | public int FreePic(string pic_name) 1694 | { 1695 | return FreePic(_dm,pic_name); 1696 | } 1697 | 1698 | public int GetScreenData(int x1,int y1,int x2,int y2) 1699 | { 1700 | return GetScreenData(_dm,x1, y1, x2, y2); 1701 | } 1702 | 1703 | public int FreeScreenData(int handle) 1704 | { 1705 | return FreeScreenData(_dm,handle); 1706 | } 1707 | 1708 | public int WheelUp(){ 1709 | return WheelUp(_dm); 1710 | } 1711 | 1712 | public int WheelDown(){ 1713 | return WheelDown(_dm); 1714 | } 1715 | 1716 | public int SetMouseDelay(string type_,int delay) 1717 | { 1718 | return SetMouseDelay(_dm,type_, delay); 1719 | } 1720 | 1721 | public int SetKeypadDelay(string type_,int delay) 1722 | { 1723 | return SetKeypadDelay(_dm,type_, delay); 1724 | } 1725 | 1726 | public string GetEnv(int index,string name) 1727 | { 1728 | return Marshal.PtrToStringUni(GetEnv(_dm,index, name)); 1729 | } 1730 | 1731 | public int SetEnv(int index,string name,string value) 1732 | { 1733 | return SetEnv(_dm,index, name, value); 1734 | } 1735 | 1736 | public int SendString(int hwnd,string str) 1737 | { 1738 | return SendString(_dm,hwnd, str); 1739 | } 1740 | 1741 | public int DelEnv(int index,string name) 1742 | { 1743 | return DelEnv(_dm,index, name); 1744 | } 1745 | 1746 | public string GetPath(){ 1747 | return Marshal.PtrToStringUni(GetPath(_dm)); 1748 | } 1749 | 1750 | public int SetDict(int index,string dict_name) 1751 | { 1752 | return SetDict(_dm,index, dict_name); 1753 | } 1754 | 1755 | public int FindPic(int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir, out object x, out object y) 1756 | { 1757 | return FindPic(_dm,x1, y1, x2, y2, pic_name, delta_color, sim, dir, out x, out y); 1758 | } 1759 | 1760 | public string FindPicEx(int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir) 1761 | { 1762 | return Marshal.PtrToStringUni(FindPicEx(_dm,x1, y1, x2, y2, pic_name, delta_color, sim, dir)); 1763 | } 1764 | 1765 | public int SetClientSize(int hwnd,int width,int height) 1766 | { 1767 | return SetClientSize(_dm,hwnd, width, height); 1768 | } 1769 | 1770 | public int ReadInt(int hwnd,string addr,int type_) 1771 | { 1772 | return ReadInt(_dm,hwnd, addr, type_); 1773 | } 1774 | 1775 | public int ReadFloat(int hwnd,string addr) 1776 | { 1777 | return ReadFloat(_dm,hwnd, addr); 1778 | } 1779 | 1780 | public int ReadDouble(int hwnd,string addr) 1781 | { 1782 | return ReadDouble(_dm,hwnd, addr); 1783 | } 1784 | 1785 | public string FindInt(int hwnd,string addr_range,int int_value_min,int int_value_max,int type_) 1786 | { 1787 | return Marshal.PtrToStringUni(FindInt(_dm,hwnd, addr_range, int_value_min,int_value_max, type_)); 1788 | } 1789 | 1790 | public string FindFloat(int hwnd,string addr_range,Single float_value_min,Single float_value_max) 1791 | { 1792 | return Marshal.PtrToStringUni(FindFloat(_dm,hwnd, addr_range, float_value_min, float_value_max)); 1793 | } 1794 | 1795 | public string FindDouble(int hwnd,string addr_range,double double_value_min,double double_value_max) 1796 | { 1797 | return Marshal.PtrToStringUni(FindDouble(_dm,hwnd, addr_range, double_value_min, double_value_max)); 1798 | } 1799 | 1800 | public string FindString(int hwnd,string addr_range,string string_value,int type_) 1801 | { 1802 | return Marshal.PtrToStringUni(FindString(_dm,hwnd, addr_range, string_value, type_)); 1803 | } 1804 | 1805 | public int GetModuleBaseAddr(int hwnd,string module_name) 1806 | { 1807 | return GetModuleBaseAddr(_dm,hwnd, module_name); 1808 | } 1809 | 1810 | public string MoveToEx(int x,int y,int w,int h) 1811 | { 1812 | return Marshal.PtrToStringUni(MoveToEx(_dm,x, y, w, h)); 1813 | } 1814 | 1815 | public string MatchPicName(string pic_name) 1816 | { 1817 | return Marshal.PtrToStringUni(MatchPicName(_dm,pic_name)); 1818 | } 1819 | 1820 | public int AddDict(int index,string dict_info) 1821 | { 1822 | return AddDict(_dm,index, dict_info); 1823 | } 1824 | 1825 | public int EnterCri(){ 1826 | return EnterCri(_dm); 1827 | } 1828 | 1829 | public int LeaveCri(){ 1830 | return LeaveCri(_dm); 1831 | } 1832 | 1833 | public int WriteInt(int hwnd,string addr,int type_,int v) 1834 | { 1835 | return WriteInt(_dm,hwnd, addr, type_, v); 1836 | } 1837 | 1838 | public int WriteFloat(int hwnd,string addr,Single v) 1839 | { 1840 | return WriteFloat(_dm,hwnd, addr, v); 1841 | } 1842 | 1843 | public int WriteDouble(int hwnd,string addr,double v) 1844 | { 1845 | return WriteDouble(_dm,hwnd, addr, v); 1846 | } 1847 | 1848 | public int WriteString(int hwnd,string addr,int type_,string v) 1849 | { 1850 | return WriteString(_dm,hwnd, addr, type_, v); 1851 | } 1852 | 1853 | public int AsmAdd(string asm_ins) 1854 | { 1855 | return AsmAdd(_dm,asm_ins); 1856 | } 1857 | 1858 | public int AsmClear(){ 1859 | return AsmClear(_dm); 1860 | } 1861 | 1862 | public int AsmCall(int hwnd,int mode) 1863 | { 1864 | return AsmCall(_dm,hwnd, mode); 1865 | } 1866 | 1867 | public int FindMultiColor(int x1,int y1,int x2,int y2,string first_color,string offset_color,double sim,int dir, out object x, out object y) 1868 | { 1869 | return FindMultiColor(_dm,x1, y1, x2, y2, first_color, offset_color, sim, dir, out x, out y); 1870 | } 1871 | 1872 | public string FindMultiColorEx(int x1,int y1,int x2,int y2,string first_color,string offset_color,double sim,int dir) 1873 | { 1874 | return Marshal.PtrToStringUni(FindMultiColorEx(_dm,x1, y1, x2, y2, first_color, offset_color, sim, dir)); 1875 | } 1876 | 1877 | public string AsmCode(int base_addr) 1878 | { 1879 | return Marshal.PtrToStringUni(AsmCode(_dm,base_addr)); 1880 | } 1881 | 1882 | public string Assemble(string asm_code,int base_addr,int is_upper) 1883 | { 1884 | return Marshal.PtrToStringUni(Assemble(_dm,asm_code, base_addr, is_upper)); 1885 | } 1886 | 1887 | public int SetWindowTransparent(int hwnd,int v) 1888 | { 1889 | return SetWindowTransparent(_dm,hwnd, v); 1890 | } 1891 | 1892 | public string ReadData(int hwnd,string addr,int len) 1893 | { 1894 | return Marshal.PtrToStringUni(ReadData(_dm,hwnd, addr, len)); 1895 | } 1896 | 1897 | public int WriteData(int hwnd,string addr,string data) 1898 | { 1899 | return WriteData(_dm,hwnd, addr, data); 1900 | } 1901 | 1902 | public string FindData(int hwnd,string addr_range,string data) 1903 | { 1904 | return Marshal.PtrToStringUni(FindData(_dm,hwnd, addr_range, data)); 1905 | } 1906 | 1907 | public int SetPicPwd(string pwd) 1908 | { 1909 | return SetPicPwd(_dm,pwd); 1910 | } 1911 | 1912 | public int Log(string info) 1913 | { 1914 | return Log(_dm,info); 1915 | } 1916 | 1917 | public string FindStrE(int x1,int y1,int x2,int y2,string str,string color,double sim) 1918 | { 1919 | return Marshal.PtrToStringUni(FindStrE(_dm,x1, y1, x2, y2, str, color, sim)); 1920 | } 1921 | 1922 | public string FindColorE(int x1,int y1,int x2,int y2,string color,double sim,int dir) 1923 | { 1924 | return Marshal.PtrToStringUni(FindColorE(_dm,x1, y1, x2, y2, color, sim, dir)); 1925 | } 1926 | 1927 | public string FindPicE(int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir) 1928 | { 1929 | return Marshal.PtrToStringUni(FindPicE(_dm,x1, y1, x2, y2, pic_name, delta_color, sim, dir)); 1930 | } 1931 | 1932 | public string FindMultiColorE(int x1,int y1,int x2,int y2,string first_color,string offset_color,double sim,int dir) 1933 | { 1934 | return Marshal.PtrToStringUni(FindMultiColorE(_dm,x1, y1, x2, y2,first_color, offset_color,sim, dir)); 1935 | } 1936 | 1937 | public int SetExactOcr(int exact_ocr) 1938 | { 1939 | return SetExactOcr(_dm,exact_ocr); 1940 | } 1941 | 1942 | public string ReadString(int hwnd,string addr,int type_,int len) 1943 | { 1944 | return Marshal.PtrToStringUni(ReadString(_dm,hwnd, addr, type_, len)); 1945 | } 1946 | 1947 | public int FoobarTextPrintDir(int hwnd,int dir) 1948 | { 1949 | return FoobarTextPrintDir(_dm,hwnd, dir); 1950 | } 1951 | 1952 | public string OcrEx(int x1,int y1,int x2,int y2,string color,double sim) 1953 | { 1954 | return Marshal.PtrToStringUni(OcrEx(_dm,x1, y1, x2, y2, color, sim)); 1955 | } 1956 | 1957 | public int SetDisplayInput(string mode) 1958 | { 1959 | return SetDisplayInput(_dm,mode); 1960 | } 1961 | 1962 | public int GetTime(){ 1963 | return GetTime(_dm); 1964 | } 1965 | 1966 | public int GetScreenWidth(){ 1967 | return GetScreenWidth(_dm); 1968 | } 1969 | 1970 | public int GetScreenHeight(){ 1971 | return GetScreenHeight(_dm); 1972 | } 1973 | 1974 | public int BindWindowEx(int hwnd,string display,string mouse,string keypad,string public_desc,int mode) 1975 | { 1976 | return BindWindowEx(_dm,hwnd, display, mouse, keypad, public_desc, mode); 1977 | } 1978 | 1979 | public string GetDiskSerial(){ 1980 | return Marshal.PtrToStringUni(GetDiskSerial(_dm)); 1981 | } 1982 | 1983 | public string Md5(string str) 1984 | { 1985 | return Marshal.PtrToStringUni(Md5(_dm,str)); 1986 | } 1987 | 1988 | public string GetMac(){ 1989 | return Marshal.PtrToStringUni(GetMac(_dm)); 1990 | } 1991 | 1992 | public int ActiveInputMethod(int hwnd,string id) 1993 | { 1994 | return ActiveInputMethod(_dm,hwnd, id); 1995 | } 1996 | 1997 | public int CheckInputMethod(int hwnd,string id) 1998 | { 1999 | return CheckInputMethod(_dm,hwnd, id); 2000 | } 2001 | 2002 | public int FindInputMethod(string id) 2003 | { 2004 | return FindInputMethod(_dm,id); 2005 | } 2006 | 2007 | public int GetCursorPos(out object x, out object y) 2008 | { 2009 | return GetCursorPos(_dm,out x, out y); 2010 | } 2011 | 2012 | public int BindWindow(int hwnd,string display,string mouse,string keypad,int mode) 2013 | { 2014 | return BindWindow(_dm,hwnd, display, mouse, keypad, mode); 2015 | } 2016 | 2017 | public int FindWindow(string class_name,string title_name) 2018 | { 2019 | return FindWindow(_dm,class_name, title_name); 2020 | } 2021 | 2022 | public int GetScreenDepth(){ 2023 | return GetScreenDepth(_dm); 2024 | } 2025 | 2026 | public int SetScreen(int width,int height,int depth) 2027 | { 2028 | return SetScreen(_dm,width, height, depth); 2029 | } 2030 | 2031 | public int ExitOs(int type_) 2032 | { 2033 | return ExitOs(_dm,type_); 2034 | } 2035 | 2036 | public string GetDir(int type_) 2037 | { 2038 | return Marshal.PtrToStringUni(GetDir(_dm,type_)); 2039 | } 2040 | 2041 | public int GetOsType(){ 2042 | return GetOsType(_dm); 2043 | } 2044 | 2045 | public int FindWindowEx(int parent,string class_name,string title_name) 2046 | { 2047 | return FindWindowEx(_dm,parent, class_name, title_name); 2048 | } 2049 | 2050 | public int SetExportDict(int index,string dict_name) 2051 | { 2052 | return SetExportDict(_dm,index, dict_name); 2053 | } 2054 | 2055 | public string GetCursorShape(){ 2056 | return Marshal.PtrToStringUni(GetCursorShape(_dm)); 2057 | } 2058 | 2059 | public int DownCpu(int rate) 2060 | { 2061 | return DownCpu(_dm,rate); 2062 | } 2063 | 2064 | public string GetCursorSpot(){ 2065 | return Marshal.PtrToStringUni(GetCursorSpot(_dm)); 2066 | } 2067 | 2068 | public int SendString2(int hwnd,string str) 2069 | { 2070 | return SendString2(_dm,hwnd, str); 2071 | } 2072 | 2073 | public int FaqPost(string server,int handle,int request_type,int time_out) 2074 | { 2075 | return FaqPost(_dm,server, handle, request_type, time_out); 2076 | } 2077 | 2078 | public string FaqFetch(){ 2079 | return Marshal.PtrToStringUni(FaqFetch(_dm)); 2080 | } 2081 | 2082 | public string FetchWord(int x1,int y1,int x2,int y2,string color,string word) 2083 | { 2084 | return Marshal.PtrToStringUni(FetchWord(_dm,x1, y1, x2, y2, color, word)); 2085 | } 2086 | 2087 | public int CaptureJpg(int x1,int y1,int x2,int y2,string file_,int quality) 2088 | { 2089 | return CaptureJpg(_dm,x1, y1, x2, y2, file_, quality); 2090 | } 2091 | 2092 | public int FindStrWithFont(int x1,int y1,int x2,int y2,string str,string color,double sim,string font_name,int font_size,int flag, out object x, out object y) 2093 | { 2094 | return FindStrWithFont(_dm,x1, y1, x2, y2, str, color, sim, font_name, font_size, flag, out x, out y); 2095 | } 2096 | 2097 | public string FindStrWithFontE(int x1,int y1,int x2,int y2,string str,string color,double sim,string font_name,int font_size,int flag) 2098 | { 2099 | return Marshal.PtrToStringUni(FindStrWithFontE(_dm,x1, y1, x2, y2, str, color, sim, font_name, font_size, flag)); 2100 | } 2101 | 2102 | public string FindStrWithFontEx(int x1,int y1,int x2,int y2,string str,string color,double sim,string font_name,int font_size,int flag) 2103 | { 2104 | return Marshal.PtrToStringUni(FindStrWithFontEx(_dm,x1, y1, x2, y2, str, color, sim, font_name, font_size, flag)); 2105 | } 2106 | 2107 | public string GetDictInfo(string str,string font_name,int font_size,int flag) 2108 | { 2109 | return Marshal.PtrToStringUni(GetDictInfo(_dm,str, font_name, font_size, flag)); 2110 | } 2111 | 2112 | public int SaveDict(int index,string file_) 2113 | { 2114 | return SaveDict(_dm,index, file_); 2115 | } 2116 | 2117 | public int GetWindowProcessId(int hwnd) 2118 | { 2119 | return GetWindowProcessId(_dm,hwnd); 2120 | } 2121 | 2122 | public string GetWindowProcessPath(int hwnd) 2123 | { 2124 | return Marshal.PtrToStringUni(GetWindowProcessPath(_dm,hwnd)); 2125 | } 2126 | 2127 | public int LockInput(int lock1) 2128 | { 2129 | return LockInput(_dm,lock1); 2130 | } 2131 | 2132 | public string GetPicSize(string pic_name) 2133 | { 2134 | return Marshal.PtrToStringUni(GetPicSize(_dm,pic_name)); 2135 | } 2136 | 2137 | public int GetID(){ 2138 | return GetID(_dm); 2139 | } 2140 | 2141 | public int CapturePng(int x1,int y1,int x2,int y2,string file_) 2142 | { 2143 | return CapturePng(_dm,x1, y1, x2, y2, file_); 2144 | } 2145 | 2146 | public int CaptureGif(int x1,int y1,int x2,int y2,string file_,int delay,int time) 2147 | { 2148 | return CaptureGif(_dm,x1, y1, x2, y2, file_, delay, time); 2149 | } 2150 | 2151 | public int ImageToBmp(string pic_name,string bmp_name) 2152 | { 2153 | return ImageToBmp(_dm,pic_name, bmp_name); 2154 | } 2155 | 2156 | public int FindStrFast(int x1,int y1,int x2,int y2,string str,string color,double sim, out object x, out object y) 2157 | { 2158 | return FindStrFast(_dm,x1, y1, x2, y2, str, color, sim, out x, out y); 2159 | } 2160 | 2161 | public string FindStrFastEx(int x1,int y1,int x2,int y2,string str,string color,double sim) 2162 | { 2163 | return Marshal.PtrToStringUni(FindStrFastEx(_dm,x1, y1, x2, y2, str, color, sim)); 2164 | } 2165 | 2166 | public string FindStrFastE(int x1,int y1,int x2,int y2,string str,string color,double sim) 2167 | { 2168 | return Marshal.PtrToStringUni(FindStrFastE(_dm,x1, y1, x2, y2,str, color, sim)); 2169 | } 2170 | 2171 | public int EnableDisplayDebug(int enable_debug) 2172 | { 2173 | return EnableDisplayDebug(_dm,enable_debug); 2174 | } 2175 | 2176 | public int CapturePre(string file_) 2177 | { 2178 | return CapturePre(_dm,file_); 2179 | } 2180 | 2181 | public int RegEx(string code,string Ver,string ip) 2182 | { 2183 | return RegEx(_dm,code, Ver, ip); 2184 | } 2185 | 2186 | public string GetMachineCode(){ 2187 | return Marshal.PtrToStringUni(GetMachineCode(_dm)); 2188 | } 2189 | 2190 | public int SetClipboard(string data) 2191 | { 2192 | return SetClipboard(_dm,data); 2193 | } 2194 | 2195 | public string GetClipboard(){ 2196 | return Marshal.PtrToStringUni(GetClipboard(_dm)); 2197 | } 2198 | 2199 | public int GetNowDict(){ 2200 | return GetNowDict(_dm); 2201 | } 2202 | 2203 | public int Is64Bit(){ 2204 | return Is64Bit(_dm); 2205 | } 2206 | 2207 | public int GetColorNum(int x1,int y1,int x2,int y2,string color,double sim) 2208 | { 2209 | return GetColorNum(_dm,x1, y1, x2, y2, color, sim); 2210 | } 2211 | 2212 | public string EnumWindowByProcess(string process_name,string title,string class_name,int filter) 2213 | { 2214 | return Marshal.PtrToStringUni(EnumWindowByProcess(_dm,process_name, title, class_name, filter)); 2215 | } 2216 | 2217 | public int GetDictCount(int index) 2218 | { 2219 | return GetDictCount(_dm,index); 2220 | } 2221 | 2222 | public int GetLastError(){ 2223 | return GetLastError(_dm); 2224 | } 2225 | 2226 | public string GetNetTime(){ 2227 | return Marshal.PtrToStringUni(GetNetTime(_dm)); 2228 | } 2229 | 2230 | public int EnableGetColorByCapture(int en) 2231 | { 2232 | return EnableGetColorByCapture(_dm,en); 2233 | } 2234 | 2235 | public int CheckUAC(){ 2236 | return CheckUAC(_dm); 2237 | } 2238 | 2239 | public int SetUAC(int uac) 2240 | { 2241 | return SetUAC(_dm,uac); 2242 | } 2243 | 2244 | public int DisableFontSmooth(){ 2245 | return DisableFontSmooth(_dm); 2246 | } 2247 | 2248 | public int CheckFontSmooth(){ 2249 | return CheckFontSmooth(_dm); 2250 | } 2251 | 2252 | public int SetDisplayAcceler(int level) 2253 | { 2254 | return SetDisplayAcceler(_dm,level); 2255 | } 2256 | 2257 | public int FindWindowByProcess(string process_name,string class_name,string title_name) 2258 | { 2259 | return FindWindowByProcess(_dm,process_name, class_name, title_name); 2260 | } 2261 | 2262 | public int FindWindowByProcessId(int process_id,string class_name,string title_name) 2263 | { 2264 | return FindWindowByProcessId(_dm,process_id, class_name, title_name); 2265 | } 2266 | 2267 | public string ReadIni(string section,string key,string file_) 2268 | { 2269 | return Marshal.PtrToStringUni(ReadIni(_dm,section, key, file_)); 2270 | } 2271 | 2272 | public int WriteIni(string section,string key,string v,string file_) 2273 | { 2274 | return WriteIni(_dm,section, key, v, file_); 2275 | } 2276 | 2277 | public int RunApp(string path,int mode) 2278 | { 2279 | return RunApp(_dm,path, mode); 2280 | } 2281 | 2282 | public int delay(int mis) 2283 | { 2284 | return delay(_dm,mis); 2285 | } 2286 | 2287 | public int FindWindowSuper(string spec1,int flag1,int type1,string spec2,int flag2,int type2) 2288 | { 2289 | return FindWindowSuper(_dm,spec1, flag1, type1, spec2, flag2, type2); 2290 | } 2291 | 2292 | public string ExcludePos(string all_pos,int type_,int x1,int y1,int x2,int y2) 2293 | { 2294 | return Marshal.PtrToStringUni(ExcludePos(_dm,all_pos, type_, x1, y1, x2, y2)); 2295 | } 2296 | 2297 | public string FindNearestPos(string all_pos,int type_,int x,int y) 2298 | { 2299 | return Marshal.PtrToStringUni(FindNearestPos(_dm,all_pos, type_, x, y)); 2300 | } 2301 | 2302 | public string SortPosDistance(string all_pos,int type_,int x,int y) 2303 | { 2304 | return Marshal.PtrToStringUni(SortPosDistance(_dm,all_pos, type_, x, y)); 2305 | } 2306 | 2307 | public int FindPicMem(int x1,int y1,int x2,int y2,string pic_info,string delta_color,double sim,int dir, out object x, out object y) 2308 | { 2309 | return FindPicMem(_dm,x1, y1, x2, y2, pic_info, delta_color, sim, dir, out x, out y); 2310 | } 2311 | 2312 | public string FindPicMemEx(int x1,int y1,int x2,int y2,string pic_info,string delta_color,double sim,int dir) 2313 | { 2314 | return Marshal.PtrToStringUni(FindPicMemEx(_dm,x1, y1, x2, y2,pic_info, delta_color, sim, dir)); 2315 | } 2316 | 2317 | public string FindPicMemE(int x1,int y1,int x2,int y2,string pic_info,string delta_color,double sim,int dir) 2318 | { 2319 | return Marshal.PtrToStringUni(FindPicMemE(_dm,x1, y1, x2, y2, pic_info, delta_color, sim,dir)); 2320 | } 2321 | 2322 | public string AppendPicAddr(string pic_info,int addr,int size) 2323 | { 2324 | return Marshal.PtrToStringUni(AppendPicAddr(_dm,pic_info, addr, size)); 2325 | } 2326 | 2327 | public int WriteFile(string file_,string content) 2328 | { 2329 | return WriteFile(_dm,file_, content); 2330 | } 2331 | 2332 | public int Stop(int id) 2333 | { 2334 | return Stop(_dm,id); 2335 | } 2336 | 2337 | public int SetDictMem(int index,int addr,int size) 2338 | { 2339 | return SetDictMem(_dm,index, addr, size); 2340 | } 2341 | 2342 | public string GetNetTimeSafe(){ 2343 | return Marshal.PtrToStringUni(GetNetTimeSafe(_dm)); 2344 | } 2345 | 2346 | public int ForceUnBindWindow(int hwnd) 2347 | { 2348 | return ForceUnBindWindow(_dm,hwnd); 2349 | } 2350 | 2351 | public string ReadIniPwd(string section,string key,string file_,string pwd) 2352 | { 2353 | return Marshal.PtrToStringUni(ReadIniPwd(_dm,section, key, file_, pwd)); 2354 | } 2355 | 2356 | public int WriteIniPwd(string section,string key,string v,string file_,string pwd) 2357 | { 2358 | return WriteIniPwd(_dm,section, key, v, file_, pwd); 2359 | } 2360 | 2361 | public int DecodeFile(string file_,string pwd) 2362 | { 2363 | return DecodeFile(_dm,file_, pwd); 2364 | } 2365 | 2366 | public int KeyDownChar(string key_str) 2367 | { 2368 | return KeyDownChar(_dm,key_str); 2369 | } 2370 | 2371 | public int KeyUpChar(string key_str) 2372 | { 2373 | return KeyUpChar(_dm,key_str); 2374 | } 2375 | 2376 | public int KeyPressChar(string key_str) 2377 | { 2378 | return KeyPressChar(_dm,key_str); 2379 | } 2380 | 2381 | public int KeyPressStr(string key_str,int delay) 2382 | { 2383 | return KeyPressStr(_dm,key_str, delay); 2384 | } 2385 | 2386 | public int EnableKeypadPatch(int en) 2387 | { 2388 | return EnableKeypadPatch(_dm,en); 2389 | } 2390 | 2391 | public int EnableKeypadSync(int en,int time_out) 2392 | { 2393 | return EnableKeypadSync(_dm,en, time_out); 2394 | } 2395 | 2396 | public int EnableMouseSync(int en,int time_out) 2397 | { 2398 | return EnableMouseSync(_dm,en, time_out); 2399 | } 2400 | 2401 | public int DmGuard(int en,string type_) 2402 | { 2403 | return DmGuard(_dm,en, type_); 2404 | } 2405 | 2406 | public int FaqCaptureFromFile(int x1,int y1,int x2,int y2,string file_,int quality) 2407 | { 2408 | return FaqCaptureFromFile(_dm,x1, y1, x2, y2, file_, quality); 2409 | } 2410 | 2411 | public string FindIntEx(int hwnd,string addr_range,int int_value_min,int int_value_max,int type_,int step,int multi_thread,int mode) 2412 | { 2413 | return Marshal.PtrToStringUni(FindIntEx(_dm,hwnd, addr_range, int_value_min, int_value_max, type_, step, multi_thread, mode)); 2414 | } 2415 | 2416 | public string FindFloatEx(int hwnd,string addr_range,Single float_value_min,Single float_value_max,int step,int multi_thread,int mode) 2417 | { 2418 | return Marshal.PtrToStringUni(FindFloatEx(_dm,hwnd, addr_range, float_value_min, float_value_max, step, multi_thread, mode)); 2419 | } 2420 | 2421 | public string FindDoubleEx(int hwnd,string addr_range,double double_value_min,double double_value_max,int step,int multi_thread,int mode) 2422 | { 2423 | return Marshal.PtrToStringUni(FindDoubleEx(_dm,hwnd, addr_range, double_value_min, double_value_max, step, multi_thread, mode)); 2424 | } 2425 | 2426 | public string FindStringEx(int hwnd,string addr_range,string string_value,int type_,int step,int multi_thread,int mode) 2427 | { 2428 | return Marshal.PtrToStringUni(FindStringEx(_dm,hwnd, addr_range, string_value, type_, step, multi_thread, mode)); 2429 | } 2430 | 2431 | public string FindDataEx(int hwnd,string addr_range,string data,int step,int multi_thread,int mode) 2432 | { 2433 | return Marshal.PtrToStringUni(FindDataEx(_dm,hwnd, addr_range, data, step, multi_thread, mode)); 2434 | } 2435 | 2436 | public int EnableRealMouse(int en,int mousedelay,int mousestep) 2437 | { 2438 | return EnableRealMouse(_dm,en, mousedelay, mousestep); 2439 | } 2440 | 2441 | public int EnableRealKeypad(int en) 2442 | { 2443 | return EnableRealKeypad(_dm,en); 2444 | } 2445 | 2446 | public int SendStringIme(string str) 2447 | { 2448 | return SendStringIme(_dm,str); 2449 | } 2450 | 2451 | public int FoobarDrawLine(int hwnd,int x1,int y1,int x2,int y2,string color,int style,int width) 2452 | { 2453 | return FoobarDrawLine(_dm,hwnd, x1, y1, x2, y2, color, style, width); 2454 | } 2455 | 2456 | public string FindStrEx(int x1,int y1,int x2,int y2,string str,string color,double sim) 2457 | { 2458 | return Marshal.PtrToStringUni(FindStrEx(_dm,x1, y1, x2, y2, str, color, sim)); 2459 | } 2460 | 2461 | public int IsBind(int hwnd) 2462 | { 2463 | return IsBind(_dm,hwnd); 2464 | } 2465 | 2466 | public int SetDisplayDelay(int t) 2467 | { 2468 | return SetDisplayDelay(_dm,t); 2469 | } 2470 | 2471 | public int GetDmCount(){ 2472 | return GetDmCount(_dm); 2473 | } 2474 | 2475 | public int DisableScreenSave(){ 2476 | return DisableScreenSave(_dm); 2477 | } 2478 | 2479 | public int DisablePowerSave(){ 2480 | return DisablePowerSave(_dm); 2481 | } 2482 | 2483 | public int SetMemoryHwndAsProcessId(int en) 2484 | { 2485 | return SetMemoryHwndAsProcessId(_dm,en); 2486 | } 2487 | 2488 | public int FindShape(int x1,int y1,int x2,int y2,string offset_color,double sim,int dir, out object x, out object y) 2489 | { 2490 | return FindShape(_dm,x1, y1, x2, y2, offset_color, sim, dir, out x, out y); 2491 | } 2492 | 2493 | public string FindShapeE(int x1,int y1,int x2,int y2,string offset_color,double sim,int dir) 2494 | { 2495 | return Marshal.PtrToStringUni(FindShapeE(_dm,x1, y1, x2, y2, offset_color, sim, dir)); 2496 | } 2497 | 2498 | public string FindShapeEx(int x1,int y1,int x2,int y2,string offset_color,double sim,int dir) 2499 | { 2500 | return Marshal.PtrToStringUni(FindShapeEx(_dm,x1, y1, x2, y2, offset_color, sim, dir)); 2501 | } 2502 | 2503 | public string FindStrS(int x1,int y1,int x2,int y2,string str,string color,double sim, out object x, out object y) 2504 | { 2505 | return Marshal.PtrToStringUni(FindStrS(_dm,x1, y1, x2, y2, str, color, sim, out x, out y)); 2506 | } 2507 | 2508 | public string FindStrExS(int x1,int y1,int x2,int y2,string str,string color,double sim) 2509 | { 2510 | return Marshal.PtrToStringUni(FindStrExS(_dm,x1, y1, x2, y2, str, color, sim)); 2511 | } 2512 | 2513 | public string FindStrFastS(int x1,int y1,int x2,int y2,string str,string color,double sim, out object x, out object y) 2514 | { 2515 | return Marshal.PtrToStringUni(FindStrFastS(_dm,x1, y1, x2, y2, str, color, sim, out x, out y)); 2516 | } 2517 | 2518 | public string FindStrFastExS(int x1,int y1,int x2,int y2,string str,string color,double sim) 2519 | { 2520 | return Marshal.PtrToStringUni(FindStrFastExS(_dm,x1, y1, x2, y2, str, color, sim)); 2521 | } 2522 | 2523 | public string FindPicS(int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir, out object x, out object y) 2524 | { 2525 | return Marshal.PtrToStringUni(FindPicS(_dm,x1, y1, x2, y2, pic_name, delta_color, sim, dir, out x, out y)); 2526 | } 2527 | 2528 | public string FindPicExS(int x1,int y1,int x2,int y2,string pic_name,string delta_color,double sim,int dir) 2529 | { 2530 | return Marshal.PtrToStringUni(FindPicExS(_dm,x1, y1, x2, y2, pic_name, delta_color, sim, dir)); 2531 | } 2532 | 2533 | public int ClearDict(int index) 2534 | { 2535 | return ClearDict(_dm,index); 2536 | } 2537 | 2538 | public string GetMachineCodeNoMac(){ 2539 | return Marshal.PtrToStringUni(GetMachineCodeNoMac(_dm)); 2540 | } 2541 | 2542 | public int GetClientRect(int hwnd, out object x1, out object y1, out object x2, out object y2) 2543 | { 2544 | return GetClientRect(_dm,hwnd, out x1, out y1, out x2, out y2); 2545 | } 2546 | 2547 | public int EnableFakeActive(int en) 2548 | { 2549 | return EnableFakeActive(_dm,en); 2550 | } 2551 | 2552 | public int GetScreenDataBmp(int x1,int y1,int x2,int y2, out object data, out object size) 2553 | { 2554 | return GetScreenDataBmp(_dm,x1, y1, x2, y2, out data, out size); 2555 | } 2556 | 2557 | public int EncodeFile(string file_,string pwd) 2558 | { 2559 | return EncodeFile(_dm,file_, pwd); 2560 | } 2561 | 2562 | public string GetCursorShapeEx(int type_) 2563 | { 2564 | return Marshal.PtrToStringUni(GetCursorShapeEx(_dm,type_)); 2565 | } 2566 | 2567 | public int FaqCancel(){ 2568 | return FaqCancel(_dm); 2569 | } 2570 | 2571 | public string IntToData(int int_value,int type_) 2572 | { 2573 | return Marshal.PtrToStringUni(IntToData(_dm,int_value, type_)); 2574 | } 2575 | 2576 | public string FloatToData(Single float_value) 2577 | { 2578 | return Marshal.PtrToStringUni(FloatToData(_dm,float_value)); 2579 | } 2580 | 2581 | public string DoubleToData(double double_value) 2582 | { 2583 | return Marshal.PtrToStringUni(DoubleToData(_dm,double_value)); 2584 | } 2585 | 2586 | public string StringToData(string string_value,int type_) 2587 | { 2588 | return Marshal.PtrToStringUni(StringToData(_dm,string_value, type_)); 2589 | } 2590 | 2591 | public int SetMemoryFindResultToFile(string file_) 2592 | { 2593 | return SetMemoryFindResultToFile(_dm,file_); 2594 | } 2595 | 2596 | public int EnableBind(int en) 2597 | { 2598 | return EnableBind(_dm,en); 2599 | } 2600 | 2601 | public int SetSimMode(int mode) 2602 | { 2603 | return SetSimMode(_dm,mode); 2604 | } 2605 | 2606 | public int LockMouseRect(int x1,int y1,int x2,int y2) 2607 | { 2608 | return LockMouseRect(_dm,x1, y1, x2, y2); 2609 | } 2610 | 2611 | public int SendPaste(int hwnd) 2612 | { 2613 | return SendPaste(_dm,hwnd); 2614 | } 2615 | 2616 | public int IsDisplayDead(int x1,int y1,int x2,int y2,int t) 2617 | { 2618 | return IsDisplayDead(_dm,x1, y1, x2, y2, t); 2619 | } 2620 | 2621 | public int GetKeyState(int vk) 2622 | { 2623 | return GetKeyState(_dm,vk); 2624 | } 2625 | 2626 | public int CopyFile(string src_file,string dst_file,int over) 2627 | { 2628 | return CopyFile(_dm,src_file, dst_file, over); 2629 | } 2630 | 2631 | public int IsFileExist(string file_) 2632 | { 2633 | return IsFileExist(_dm,file_); 2634 | } 2635 | 2636 | public int DeleteFile(string file_) 2637 | { 2638 | return DeleteFile(_dm,file_); 2639 | } 2640 | 2641 | public int MoveFile(string src_file,string dst_file) 2642 | { 2643 | return MoveFile(_dm,src_file, dst_file); 2644 | } 2645 | 2646 | public int CreateFolder(string folder_name) 2647 | { 2648 | return CreateFolder(_dm,folder_name); 2649 | } 2650 | 2651 | public int DeleteFolder(string folder_name) 2652 | { 2653 | return DeleteFolder(_dm,folder_name); 2654 | } 2655 | 2656 | public int GetFileLength(string file_) 2657 | { 2658 | return GetFileLength(_dm,file_); 2659 | } 2660 | 2661 | public string ReadFile(string file_) 2662 | { 2663 | return Marshal.PtrToStringUni(ReadFile(_dm,file_)); 2664 | } 2665 | 2666 | public int WaitKey(int key_code,int time_out) 2667 | { 2668 | return WaitKey(_dm,key_code, time_out); 2669 | } 2670 | 2671 | public int DeleteIni(string section,string key,string file_) 2672 | { 2673 | return DeleteIni(_dm,section, key, file_); 2674 | } 2675 | 2676 | public int DeleteIniPwd(string section,string key,string file_,string pwd) 2677 | { 2678 | return DeleteIniPwd(_dm,section, key, file_, pwd); 2679 | } 2680 | 2681 | public int EnableSpeedDx(int en) 2682 | { 2683 | return EnableSpeedDx(_dm,en); 2684 | } 2685 | 2686 | public int EnableIme(int en) 2687 | { 2688 | return EnableIme(_dm,en); 2689 | } 2690 | 2691 | public int Reg(string code,string Ver) 2692 | { 2693 | return Reg(_dm,code, Ver); 2694 | } 2695 | 2696 | public string SelectFile(){ 2697 | return Marshal.PtrToStringUni(SelectFile(_dm)); 2698 | } 2699 | 2700 | public string SelectDirectory(){ 2701 | return Marshal.PtrToStringUni(SelectDirectory(_dm)); 2702 | } 2703 | 2704 | public int LockDisplay(int lock1) 2705 | { 2706 | return LockDisplay(_dm,lock1); 2707 | } 2708 | 2709 | public int FoobarSetSave(int hwnd,string file_,int en,string header) 2710 | { 2711 | return FoobarSetSave(_dm,hwnd, file_, en, header); 2712 | } 2713 | 2714 | public string EnumWindowSuper(string spec1,int flag1,int type1,string spec2,int flag2,int type2,int sort) 2715 | { 2716 | return Marshal.PtrToStringUni(EnumWindowSuper(_dm,spec1, flag1, type1, spec2, flag2, type2, sort)); 2717 | } 2718 | 2719 | public int DownloadFile(string url,string save_file,int timeout) 2720 | { 2721 | return DownloadFile(_dm,url, save_file, timeout); 2722 | } 2723 | 2724 | public int EnableKeypadMsg(int en) 2725 | { 2726 | return EnableKeypadMsg(_dm,en); 2727 | } 2728 | 2729 | public int EnableMouseMsg(int en) 2730 | { 2731 | return EnableMouseMsg(_dm,en); 2732 | } 2733 | 2734 | public int RegNoMac(string code,string Ver) 2735 | { 2736 | return RegNoMac(_dm,code, Ver); 2737 | } 2738 | 2739 | public int RegExNoMac(string code,string Ver,string ip) 2740 | { 2741 | return RegExNoMac(_dm,code, Ver, ip); 2742 | } 2743 | 2744 | public int SetEnumWindowDelay(int delay) 2745 | { 2746 | return SetEnumWindowDelay(_dm,delay); 2747 | } 2748 | 2749 | public int FindMulColor(int x1,int y1,int x2,int y2,string color,double sim) 2750 | { 2751 | return FindMulColor(_dm,x1, y1, x2, y2, color, sim); 2752 | } 2753 | 2754 | public string GetDict(int index,int font_index) 2755 | { 2756 | return Marshal.PtrToStringUni(GetDict(_dm,index, font_index)); 2757 | } 2758 | 2759 | 2760 | 2761 | 2762 | 2763 | #region 继承释放接口方法 2764 | public void Dispose() 2765 | { 2766 | //必须为true 2767 | Dispose(true); 2768 | //通知垃圾回收机制不再调用终结器(析构器) 2769 | GC.SuppressFinalize(this); 2770 | } 2771 | 2772 | public void Close() 2773 | { 2774 | Dispose(); 2775 | } 2776 | 2777 | ~CDmSoft() 2778 | { 2779 | //必须为false 2780 | Dispose(false); 2781 | } 2782 | 2783 | protected virtual void Dispose(bool disposing) 2784 | { 2785 | if (disposed) 2786 | { 2787 | return; 2788 | } 2789 | if (disposing) 2790 | { 2791 | // 清理托管资源 2792 | //if (managedResource != null) 2793 | //{ 2794 | // managedResource.Dispose(); 2795 | // managedResource = null; 2796 | //} 2797 | } 2798 | // 清理非托管资源 2799 | if (_dm != IntPtr.Zero) 2800 | { 2801 | UnBindWindow(); 2802 | _dm = IntPtr.Zero; 2803 | int ret = FreeDM(); 2804 | } 2805 | //让类型知道自己已经被释放 2806 | disposed = true; 2807 | } 2808 | #endregion 2809 | } 2810 | } 2811 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace LOL挂机刷金币 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// 必需的设计器变量。 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// 清理所有正在使用的资源。 12 | /// 13 | /// 如果应释放托管资源,为 true;否则为 false。 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows 窗体设计器生成的代码 24 | 25 | /// 26 | /// 设计器支持所需的方法 - 不要修改 27 | /// 使用代码编辑器修改此方法的内容。 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); 32 | this.checkBox1 = new System.Windows.Forms.CheckBox(); 33 | this.button1 = new System.Windows.Forms.Button(); 34 | this.button2 = new System.Windows.Forms.Button(); 35 | this.label1 = new System.Windows.Forms.Label(); 36 | this.SuspendLayout(); 37 | // 38 | // checkBox1 39 | // 40 | this.checkBox1.AutoSize = true; 41 | this.checkBox1.Location = new System.Drawing.Point(12, 123); 42 | this.checkBox1.Name = "checkBox1"; 43 | this.checkBox1.Size = new System.Drawing.Size(108, 16); 44 | this.checkBox1.TabIndex = 1; 45 | this.checkBox1.Text = "打完这一把停止"; 46 | this.checkBox1.UseVisualStyleBackColor = true; 47 | // 48 | // button1 49 | // 50 | this.button1.Location = new System.Drawing.Point(12, 47); 51 | this.button1.Name = "button1"; 52 | this.button1.Size = new System.Drawing.Size(105, 50); 53 | this.button1.TabIndex = 2; 54 | this.button1.Text = "开始"; 55 | this.button1.UseVisualStyleBackColor = true; 56 | this.button1.Click += new System.EventHandler(this.button1_Click); 57 | // 58 | // button2 59 | // 60 | this.button2.Location = new System.Drawing.Point(12, 161); 61 | this.button2.Name = "button2"; 62 | this.button2.Size = new System.Drawing.Size(105, 50); 63 | this.button2.TabIndex = 3; 64 | this.button2.Text = "停止(D)"; 65 | this.button2.UseVisualStyleBackColor = true; 66 | this.button2.Click += new System.EventHandler(this.button2_Click); 67 | // 68 | // label1 69 | // 70 | this.label1.AutoSize = true; 71 | this.label1.Location = new System.Drawing.Point(135, 47); 72 | this.label1.Name = "label1"; 73 | this.label1.Size = new System.Drawing.Size(473, 72); 74 | this.label1.TabIndex = 4; 75 | this.label1.Text = resources.GetString("label1.Text"); 76 | // 77 | // Form1 78 | // 79 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 80 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 81 | this.ClientSize = new System.Drawing.Size(377, 233); 82 | this.Controls.Add(this.label1); 83 | this.Controls.Add(this.button2); 84 | this.Controls.Add(this.button1); 85 | this.Controls.Add(this.checkBox1); 86 | this.Name = "Form1"; 87 | this.Text = "Form1"; 88 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); 89 | this.Load += new System.EventHandler(this.Form1_Load); 90 | this.ResumeLayout(false); 91 | this.PerformLayout(); 92 | 93 | } 94 | 95 | #endregion 96 | private System.Windows.Forms.CheckBox checkBox1; 97 | private System.Windows.Forms.Button button1; 98 | private System.Windows.Forms.Button button2; 99 | private System.Windows.Forms.Label label1; 100 | } 101 | } 102 | 103 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Drawing; 4 | using System.Threading; 5 | using System.Drawing.Imaging; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | using testdm; 9 | using System.IO; 10 | using System.Diagnostics; 11 | 12 | namespace LOL挂机刷金币 13 | { 14 | public partial class Form1 : Form 15 | { 16 | public Form1() 17 | { 18 | InitializeComponent(); 19 | } 20 | int 发送文本间隔时间 = 100;//s 循环一次大概1.2s 21 | int 横坐标 = -1; 22 | int 纵坐标 = -1; 23 | bool 停止按钮 = false; 24 | bool 第一次进游戏 = true; 25 | double i = 0; 26 | public List 文本 = new List(); 27 | Random 随机数 = new Random(); 28 | CDmSoft dm = new CDmSoft(); 29 | Rectangle 英雄联盟窗口 = new Rectangle(0, 0, 1280, 720);//ldy Screen.PrimaryScreen.Bounds.Width获得屏幕宽度 30 | 31 | private void Form1_Load(object sender, EventArgs e) 32 | { 33 | this.Text = "停止状态"; 34 | } 35 | public void 循环找图主进程() 36 | { 37 | i = 0; 38 | while (true) 39 | { 40 | Stopwatch 运行时间 = new Stopwatch(); 41 | 运行时间.Start(); 42 | foreach(String 图片 in 截图.需要点击的) 43 | { 44 | 查找图片点击(图片+ ".bmp"); 45 | } 46 | 47 | if (!查找图片点击(截图.人机对战)) 48 | { 49 | 查找图片点击(截图.模式确认); 50 | } 51 | 52 | 53 | //查找图片点击(截图.锁定英雄); 54 | if (查找图片(截图.回城技能, out 横坐标, out 纵坐标))//游戏中----回城技能截图改成了左上角图标 55 | { 56 | My.Computer.MouseMoveToPixel(横坐标 + 1170 + 随机数.Next(0, 5) - 随机数.Next(0, 5), 纵坐标 +650 + 随机数.Next(0, 5) - 随机数.Next(0, 5)); 57 | dm.KeyDown(65);//"a"键 58 | Delay(20 + 随机数.Next(0, 20)); 59 | My.Computer.MouseLeftClick(); 60 | Delay(30 + 随机数.Next(0, 20)); 61 | dm.KeyUp(65); 62 | Delay(500 + 随机数.Next(0, 20)); 63 | dm.KeyPressChar("space"); 64 | 65 | My.Computer.MouseMoveToPixel(600 + 随机数.Next(0, 50) - 随机数.Next(0, 50), 300 + 随机数.Next(0, 50) - 随机数.Next(0, 50)); 66 | Delay(100 + 随机数.Next(100, 200)); 67 | 68 | //if (查找图片(截图.聊天框, out 横坐标, out 纵坐标)) 69 | //{ 70 | // dm.KeyPress(13); 71 | //} 72 | } 73 | else if (My.Computer.FindWindow("League of Legends (TM) Client").Width != 0) 74 | { 75 | //横坐标 = 1191; 76 | //纵坐标 = 629; 77 | this.Text = "第二种查找方式(固定的XY坐标而不是按查找图片来寻找)"; 78 | My.Computer.MouseMoveToPixel(1191 + 随机数.Next(0, 5) - 随机数.Next(0, 5), 629 + 随机数.Next(0, 5) - 随机数.Next(0, 5)); 79 | dm.KeyDown(65);//"a"键 80 | Delay(20 + 随机数.Next(0, 20)); 81 | My.Computer.MouseLeftClick(); 82 | Delay(30 + 随机数.Next(0, 20)); 83 | dm.KeyUp(65); 84 | Delay(500 + 随机数.Next(0, 20)); 85 | My.Computer.MouseMoveToPixel(1191 + 随机数.Next(0, 5) - 随机数.Next(0, 5), 629 + 随机数.Next(0, 5) - 随机数.Next(0, 5)); 86 | dm.KeyDown(65);//"a"键 87 | Delay(20 + 随机数.Next(0, 20)); 88 | My.Computer.MouseLeftClick(); 89 | Delay(30 + 随机数.Next(0, 20)); 90 | dm.KeyUp(65); 91 | Delay(500 + 随机数.Next(0, 20)); 92 | My.Computer.MouseMoveToPixel(600 + 随机数.Next(0, 50) - 随机数.Next(0, 50), 300 + 随机数.Next(0, 50) - 随机数.Next(0, 50)); 93 | Delay(100 + 随机数.Next(100, 200)); 94 | My.Computer.MouseMoveToPixel(600 + 随机数.Next(0, 50) - 随机数.Next(0, 50), 300 + 随机数.Next(0, 50) - 随机数.Next(0, 50)); 95 | Delay(100 + 随机数.Next(100, 200)); 96 | 97 | dm.KeyPress(13); 98 | Delay(200 + 随机数.Next(0, 50)); 99 | Delay(300 + 随机数.Next(0, 50)); 100 | dm.KeyPress(13); 101 | } 102 | 103 | 104 | 105 | if (查找图片(截图.再玩一次, out 横坐标, out 纵坐标)) 106 | { 107 | 第一次进游戏 = true; 108 | if (checkBox1.Checked) 109 | { 110 | this.Text = "停止状态"; 111 | 运行时间.Stop(); 112 | break; 113 | } 114 | else 115 | { 116 | Delay(50); 117 | 鼠标移动左键单击(横坐标, 纵坐标); 118 | } 119 | } 120 | if (查找图片(截图.锁定视角, out 横坐标, out 纵坐标)) 121 | { 122 | Delay(50); 123 | dm.KeyPress(89);//Y键 124 | } 125 | if (dm.FindWindow("RiotWindowClass", "") != 0) 126 | { 127 | dm.GetClientRect(dm.FindWindow("RiotWindowClass", ""), out object x1, out object y1, out object x2, out object y2); 128 | if ((int)x1 != 0 || (int)y1 != 0) 129 | { 130 | dm.MoveWindow(dm.FindWindow("RiotWindowClass", ""), 0, 0); 131 | } 132 | } 133 | if (i > (发送文本间隔时间 * 1000) && 查找图片(截图.回城技能, out 横坐标, out 纵坐标)) 134 | { 135 | //if (第一次进游戏 == true) 136 | //{ 137 | // 第一次进游戏 = false; 138 | //} 139 | //else 140 | //{ 141 | // 发送文本(); 142 | //} 143 | 发送文本(); 144 | i = 0; 145 | } 146 | //if (My.Computer.KeyBeingPressed(Keys.D) || 停止按钮) 147 | if (停止按钮) 148 | { 149 | this.Text = "停止状态"; 150 | 运行时间.Stop(); 151 | break; 152 | } 153 | 运行时间.Stop(); 154 | TimeSpan 时间间隔 = 运行时间.Elapsed; 155 | this.Text = (时间间隔.TotalMilliseconds/1000.00).ToString()+"s"; 156 | i += 时间间隔.TotalMilliseconds; 157 | } 158 | } 159 | public bool 保存截图图片() 160 | { 161 | try 162 | { 163 | Bitmap 截图图片 = My.Computer.SaveScreen(); 164 | 截图图片.Save(".\\截图图片\\" + DateTime.Now.ToString("yyyyMMddHHmmss") + "_" + 随机数.Next(0, 100).ToString("00") + ".bmp", ImageFormat.Bmp); 165 | 截图图片.Dispose();//释放资源 166 | return true; 167 | } 168 | catch (System.Exception) 169 | { 170 | return false; 171 | } 172 | } 173 | public void 鼠标移动左键单击(int X, int Y) 174 | { 175 | My.Computer.MouseMoveToPixel(X + 随机数.Next(0, 5) - 随机数.Next(0, 5), Y + 随机数.Next(0, 5) - 随机数.Next(0, 5)); 176 | My.Computer.MouseLeftClick(); 177 | Delay(100 + 随机数.Next(100, 200)); 178 | My.Computer.MouseMoveToPixel(X + 随机数.Next(0, 5) - 随机数.Next(0, 5), Y + 随机数.Next(0, 5) - 随机数.Next(0, 5)); 179 | My.Computer.MouseLeftClick(); 180 | Delay(1000 + 随机数.Next(100, 500)); 181 | My.Computer.MouseMoveToPixel(600 + 随机数.Next(0, 50) - 随机数.Next(0, 50), 300 + 随机数.Next(0, 50) - 随机数.Next(0, 50)); 182 | Delay(100 + 随机数.Next(100, 200)); 183 | My.Computer.MouseMoveToPixel(600 + 随机数.Next(0, 50) - 随机数.Next(0, 50), 300 + 随机数.Next(0, 50) - 随机数.Next(0, 50)); 184 | 185 | } 186 | 187 | 188 | public bool 查找图片点击(string 图片名称)//out 多个返回值的用法 189 | { 190 | dm.FindPic(0, 0, 2000, 1000, ".\\用于查找图片\\" + 图片名称, "000000", 0.8, 0, out object intX, out object intY); 191 | int X = (int)intX; 192 | int Y = (int)intY; 193 | if (X >= 0 && Y >= 0) 194 | { 195 | this.Text = 图片名称; 196 | Delay(50+ 随机数.Next(0, 50)); 197 | 鼠标移动左键单击(X, Y); 198 | Delay(1500 + 随机数.Next(100, 500)); 199 | return true; 200 | } 201 | else 202 | { 203 | Delay(50 + 随机数.Next(0, 50)); 204 | return false; 205 | } 206 | } 207 | public bool 查找图片(string 图片名称, out int X, out int Y)//out 多个返回值的用法 208 | { 209 | dm.FindPic(0, 0, 2000, 1000, ".\\用于查找图片\\" + 图片名称, "000000", 0.8, 0, out object intX, out object intY); 210 | X = (int)intX; 211 | Y = (int)intY; 212 | if (X >= 0 && Y >= 0) 213 | { 214 | this.Text = 图片名称; 215 | return true; 216 | } 217 | else 218 | { 219 | return false; 220 | } 221 | } 222 | public void 发送文本() 223 | { 224 | 225 | string 发送文本 = 文本[随机数.Next(0, 文本.Count-1)]; 226 | this.Text = "发:" + 发送文本; 227 | dm.KeyPress(13); 228 | Delay(200 + 随机数.Next(0, 50)); 229 | //dm.SendString2(hwnd, "范德萨发浮点数阿范德萨发发的撒都是"); 230 | //dm.SendString(hwnd, "范德萨发浮点数阿范德萨发发的撒都是"); 231 | 纯字母用按键发送文本(发送文本); 232 | Delay(300 + 随机数.Next(0, 50)); 233 | dm.KeyPress(13); 234 | 235 | } 236 | public void 纯字母用按键发送文本(String 文本) 237 | { 238 | char[] wbs=文本.ToCharArray(); 239 | foreach(char wb in wbs) 240 | { 241 | if(" " == wb.ToString()) 242 | { 243 | dm.KeyPressChar("space"); 244 | continue; 245 | } 246 | dm.KeyPressChar(wb.ToString()); 247 | } 248 | 249 | } 250 | 251 | private void button1_Click(object sender, EventArgs e) 252 | { 253 | //Console.WriteLine(查找图片(截图.回城技能, out 横坐标, out 纵坐标)); 254 | 第一次进游戏 = true; 255 | 停止按钮 = false; 256 | 打开文本txt(); 257 | Delay(3000); 258 | this.Text = "请显示游戏窗口"; 259 | 循环找图主进程(); 260 | } 261 | public void 打开文本txt() 262 | { 263 | try 264 | { 265 | 文本.Clear(); 266 | StreamReader File = new StreamReader(".\\文本.txt", Encoding.Default);//连续读取文件类 267 | string Line = string.Empty; 268 | while ((Line = File.ReadLine()) != null)//读取每一行(每次读取都会使file减少一行) 269 | { 270 | 文本.Add(Line);//把每一行添加到list list类 271 | } 272 | File.Close(); 273 | } 274 | catch (Exception ex) 275 | { 276 | throw ex; 277 | } 278 | } 279 | 280 | private void button2_Click(object sender, EventArgs e) 281 | { 282 | 停止按钮 = true; 283 | } 284 | public static void Delay(int mm) 285 | { 286 | DateTime current = DateTime.Now; 287 | while (current.AddMilliseconds(mm) > DateTime.Now) 288 | { 289 | Application.DoEvents(); 290 | } 291 | return; 292 | } 293 | private void Form1_FormClosing(object sender, FormClosingEventArgs e) 294 | { 295 | 296 | } 297 | } 298 | } 299 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 游戏大厅1280*720 122 | 游戏内1280*720 窗口化 , 用户界面100%(对这个程序没必要) 123 | XP不能运行LOL,不能用ghost,win10原版x64 124 | 防止lol虚拟机检测: 125 | 搜索虚拟系统下的存放文件索 .VMX 会出现带有.VMX 的文件(比如Windows 7 x64.vmx) 126 | 在最后面回车再加入一行:monitor_control.restrict_backdoor = "TRUE" 127 | 128 | 129 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace LOL挂机刷金币 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// 应用程序的主入口点。 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Form1()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("yyxlm_gj")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("yyxlm_gj_sjb")] 13 | [assembly: AssemblyCopyright("Copyright © 2019")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 会使此程序集中的类型 18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("da965e71-66b3-4506-8582-4bcf8801f262")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace yyxlmname.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// 一个强类型的资源类,用于查找本地化的字符串等。 17 | /// 18 | // 此类是由 StronglyTypedResourceBuilder 19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen 21 | // (以 /str 作为命令选项),或重新生成 VS 项目。 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// 返回此类使用的缓存的 ResourceManager 实例。 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("yyxlmname.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// 重写当前线程的 CurrentUICulture 属性 51 | /// 重写当前线程的 CurrentUICulture 属性。 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace yyxlmname.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /LOL挂机刷金币/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/dm.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/dm.dll -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/dmc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/dmc.dll -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/testdm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/testdm.exe -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/testdm.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/testdm.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/testdm.pdb -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/testdm.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/testdm.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/yyxlm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/yyxlm.exe -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/yyxlm.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/yyxlm.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/yyxlm.pdb -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/截图图片/20190125180628_58.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/截图图片/20190125180628_58.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/截图图片/20190125183643_87.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/截图图片/20190125183643_87.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/文本.txt: -------------------------------------------------------------------------------- 1 | gou dong xi gun 2 | gou dong xi gun 3 | he ji beng peng ni ye shi ge sha bi haha 4 | yi qun sha bi gun 5 | zheng me bu shuo hua le yi qun si ma fei wu 6 | zheng me bu shuo hua le yi qun si ma fei wu 7 | yi qun la jia de fei wu 8 | yi qun hei tie si ma fei wu 9 | kan de lei bu lei haha 10 | ni bu shi shabi shi sheng mesi ma fei wu 11 | shang lu si ma le da jia kaixing le 12 | shang lu si ma le da jia kaixing le 13 | xia lu fei wu ye si ma le 14 | xia lu fei wu ye si ma le 15 | shuo ni ne si ma fei wu 16 | shuo ni ne si ma fei wu 17 | shuo ni ne si ma fei wu -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/111.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/111.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/Play按钮.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/Play按钮.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/人机对战.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/人机对战.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/再玩一次.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/再玩一次.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/冰鸟.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/冰鸟.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/升级确认.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/升级确认.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/商店关闭.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/商店关闭.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/回城技能.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/回城技能.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/寒冰.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/寒冰.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/寻找对局.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/寻找对局.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/捕获.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/捕获.PNG -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/排位锁定英雄.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/排位锁定英雄.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/接受.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/接受.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/断网重试.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/断网重试.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/模式确认.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/模式确认.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/游戏数据关闭.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/游戏数据关闭.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/炸弹人.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/炸弹人.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/猪妹.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/猪妹.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/瑞兹.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/瑞兹.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/禁用英雄.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/禁用英雄.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/聊天框.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/聊天框.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/跳过点赞.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/跳过点赞.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/选择英雄错误确认.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/选择英雄错误确认.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/钥匙碎片确认.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/钥匙碎片确认.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/锁定英雄.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/锁定英雄.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/bin/Debug/用于查找图片/锁定视角.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/bin/Debug/用于查找图片/锁定视角.bmp -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/DesignTimeResolveAssemblyReferences.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/DesignTimeResolveAssemblyReferences.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 90f8b4987ba808a7c94951b2d244ac2a9755fe5c 2 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL.csprojAssemblyReference.cache 2 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Form1.resources 3 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL.csproj.GenerateResource.cache 4 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL.csproj.CoreCompileInputs.cache 5 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\yyxlm.exe.config 6 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\yyxlm.exe 7 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\yyxlm.pdb 8 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlmname.Properties.Resources.resources 9 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.exe 10 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.pdb 11 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL全自动.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 90f8b4987ba808a7c94951b2d244ac2a9755fe5c 2 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL全自动.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\LOL挂机刷金币.exe.config 2 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\LOL挂机刷金币.exe 3 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\LOL挂机刷金币.pdb 4 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL全自动.csprojAssemblyReference.cache 5 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Form1.resources 6 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Properties.Resources.resources 7 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL全自动.csproj.GenerateResource.cache 8 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL全自动.csproj.CoreCompileInputs.cache 9 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.exe 10 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.pdb 11 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL全自动.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL全自动.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL全自动.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL全自动.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL挂机刷金币.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL挂机刷金币.Form1.resources -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL挂机刷金币.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 90f8b4987ba808a7c94951b2d244ac2a9755fe5c 2 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL挂机刷金币.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.csprojAssemblyReference.cache 2 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Form1.resources 3 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Properties.Resources.resources 4 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.csproj.GenerateResource.cache 5 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.csproj.CoreCompileInputs.cache 6 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\LOL挂机刷金币.exe.config 7 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\LOL挂机刷金币.exe 8 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\LOL挂机刷金币.pdb 9 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.exe 10 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.pdb 11 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL挂机刷金币.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL挂机刷金币.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/LOL挂机刷金币.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/LOL挂机刷金币.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/testdm.Form1.resources -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/testdm.Properties.Resources.resources -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 2a5da242dd779b3e9b1398c9bab417193ff77553 2 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | E:\其他程序源码\testdm\bin\Debug\testdm.exe.config 2 | E:\其他程序源码\testdm\bin\Debug\testdm.exe 3 | E:\其他程序源码\testdm\bin\Debug\testdm.pdb 4 | E:\其他程序源码\testdm\obj\Debug\testdm.csprojResolveAssemblyReference.cache 5 | E:\其他程序源码\testdm\obj\Debug\testdm.Form1.resources 6 | E:\其他程序源码\testdm\obj\Debug\testdm.Properties.Resources.resources 7 | E:\其他程序源码\testdm\obj\Debug\testdm.csproj.GenerateResource.Cache 8 | E:\其他程序源码\testdm\obj\Debug\testdm.exe 9 | E:\其他程序源码\testdm\obj\Debug\testdm.pdb 10 | E:\testdm\bin\Debug\testdm.exe.config 11 | E:\testdm\obj\Debug\testdm.exe 12 | E:\testdm\obj\Debug\testdm.pdb 13 | E:\testdm\bin\Debug\testdm.exe 14 | E:\testdm\bin\Debug\testdm.pdb 15 | E:\testdm\obj\Debug\testdm.Form1.resources 16 | E:\testdm\obj\Debug\testdm.Properties.Resources.resources 17 | E:\testdm\obj\Debug\testdm.csproj.GenerateResource.Cache 18 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\bin\Debug\testdm.exe.config 19 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\bin\Debug\testdm.exe 20 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\bin\Debug\testdm.pdb 21 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.csprojAssemblyReference.cache 22 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.Form1.resources 23 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.Properties.Resources.resources 24 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.csproj.GenerateResource.cache 25 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.csproj.CoreCompileInputs.cache 26 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.exe 27 | D:\搜狗高速下载\210611gmbme1zbea1ziaja\obj\Debug\testdm.pdb 28 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/testdm.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/testdm.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/testdm.exe -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/testdm.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/testdm.pdb -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlm.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 90f8b4987ba808a7c94951b2d244ac2a9755fe5c 2 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlm.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\yyxlm.exe.config 2 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\yyxlm.exe 3 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\bin\Debug\yyxlm.pdb 4 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.csprojAssemblyReference.cache 5 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Form1.resources 6 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlmname.Properties.Resources.resources 7 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.csproj.GenerateResource.cache 8 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.csproj.CoreCompileInputs.cache 9 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.exe 10 | D:\Documents\jianhuahuibian\LOL挂机刷金币\LOL挂机刷金币\obj\Debug\yyxlm.pdb 11 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\bin\Debug\yyxlm.exe.config 12 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\bin\Debug\yyxlm.exe 13 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\bin\Debug\yyxlm.pdb 14 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\yyxlm.csprojAssemblyReference.cache 15 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\LOL挂机刷金币.Form1.resources 16 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\yyxlmname.Properties.Resources.resources 17 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\yyxlm.csproj.GenerateResource.cache 18 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\yyxlm.csproj.CoreCompileInputs.cache 19 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\yyxlm.exe 20 | D:\Documents\Downloads\LOL-G-master\LOL-G-master\LOL挂机刷金币\obj\Debug\yyxlm.pdb 21 | -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlm.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/yyxlm.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlm.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/yyxlm.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/yyxlm.exe -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlm.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/yyxlm.pdb -------------------------------------------------------------------------------- /LOL挂机刷金币/obj/Debug/yyxlmname.Properties.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderlidy/LOL-AFK-Assistant/72141bc90748b1aa3387f3fe9db46fb9c9ef77da/LOL挂机刷金币/obj/Debug/yyxlmname.Properties.Resources.resources -------------------------------------------------------------------------------- /LOL挂机刷金币/yyxlm.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {DA965E71-66B3-4506-8582-4BCF8801F262} 8 | WinExe 9 | yyxlmname 10 | yyxlm 11 | v4.6.1 12 | 512 13 | true 14 | true 15 | publish\ 16 | true 17 | Disk 18 | false 19 | Foreground 20 | 7 21 | Days 22 | false 23 | false 24 | true 25 | 0 26 | 1.0.0.%2a 27 | false 28 | false 29 | true 30 | 31 | 32 | AnyCPU 33 | true 34 | full 35 | false 36 | bin\Debug\ 37 | DEBUG;TRACE 38 | prompt 39 | 4 40 | 41 | 42 | AnyCPU 43 | pdbonly 44 | true 45 | bin\Release\ 46 | TRACE 47 | prompt 48 | 4 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | Form 73 | 74 | 75 | Form1.cs 76 | 77 | 78 | 79 | 80 | 81 | 82 | Form1.cs 83 | 84 | 85 | ResXFileCodeGenerator 86 | Resources.Designer.cs 87 | Designer 88 | 89 | 90 | True 91 | Resources.resx 92 | True 93 | 94 | 95 | SettingsSingleFileGenerator 96 | Settings.Designer.cs 97 | 98 | 99 | True 100 | Settings.settings 101 | True 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | False 110 | Microsoft .NET Framework 4.6.1 %28x86 和 x64%29 111 | true 112 | 113 | 114 | False 115 | .NET Framework 3.5 SP1 116 | false 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /LOL挂机刷金币/yyxlm.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | publish\ 5 | 6 | 7 | 8 | 9 | 10 | zh-CN 11 | false 12 | 13 | -------------------------------------------------------------------------------- /LOL挂机刷金币/截图.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace LOL挂机刷金币 8 | { 9 | static class 截图 10 | { 11 | public static string 人机对战 = "人机对战.bmp"; 12 | public static string 模式确认 = "模式确认.bmp"; 13 | public static string 锁定英雄 = "锁定英雄.bmp"; 14 | public static string 回城技能 = "回城技能.bmp"; 15 | public static string 再玩一次 = "再玩一次.bmp"; 16 | public static string 锁定视角 = "锁定视角.bmp"; 17 | public static string 聊天框 = "聊天框.bmp"; 18 | public static String[] 需要点击的 = { 19 | "Play按钮" , 20 | "寻找对局", 21 | "接受", 22 | "瑞兹", 23 | "寒冰", 24 | "选择英雄错误确认", 25 | "跳过点赞", 26 | "商店关闭", 27 | "钥匙碎片确认", 28 | "升级确认", 29 | "断网重试", 30 | "炸弹人", 31 | "冰鸟", 32 | "排位锁定英雄", 33 | "猪妹", 34 | "禁用英雄" 35 | }; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LOL挂机助手 🎮 2 | 3 | [中文](README.md) | [English](README_EN.md) 4 | 5 | ![GitHub](https://img.shields.io/badge/language-C%23-blue) 6 | ![Platform](https://img.shields.io/badge/platform-Windows-lightgrey) 7 | ![License](https://img.shields.io/badge/license-MIT-green) 8 | [![Star History Chart](https://api.star-history.com/svg?repos=LOL-FUZHU/LOL-FUZHU&type=Year)](https://star-history.com/#LOL-FUZHU/LOL-FUZHU&Year) 9 | 10 | 一个基于图像识别技术的英雄联盟(LOL)挂机助手,专门用于人机对战的自动化操作。通过大漠插件实现屏幕找图和模拟操作,安全无内存修改。 11 | 12 | ## ✨ 核心功能 13 | 14 | - 🎯 自动接受对局并进行英雄选择 15 | - 🤖 智能人机对战,自动攻击和移动 16 | - 🔄 断线自动重连,对局结束自动重新开始 17 | - 🎨 图形化操作界面,一键启停 18 | - 💬 支持自定义聊天文本 19 | - 🖥️ 自动调整游戏窗口位置 20 | - 🎮 支持锁定/解锁视角 21 | 22 | ## 💡 工作原理 23 | 24 | - 基于图像识别进行界面操作 25 | - 通过查找特定图片位置实现自动操作 26 | - 支持固定坐标和动态找图两种模式 27 | - 模拟真实玩家操作,添加随机延迟 28 | - 自动处理各类游戏弹窗和确认框 29 | 30 | ## 🚀 环境要求 31 | 32 | ### 系统要求 33 | - Windows操作系统 34 | - .NET Framework运行环境 35 | - 1920*1080分辨率 36 | - 游戏窗口化运行 37 | 38 | ### 依赖组件 39 | - 大漠插件(dm.dll) 40 | - LOL客户端 41 | - 配套图片资源 42 | 43 | ## 📦 项目结构 44 | 45 | ``` 46 | 项目目录 47 | ├── 核心类 48 | │ ├── Form1.cs # 主窗体和控制逻辑 49 | │ ├── CDmSoft.cs # 大漠插件封装类 50 | │ ├── My.cs # 工具类 51 | │ └── 截图.cs # 截图处理类 52 | ├── 资源文件 53 | │ ├── 用于查找图片/ # 图像识别模板 54 | │ │ ├── Play按钮.bmp 55 | │ │ ├── 人机对战.bmp 56 | │ │ ├── 接受.bmp 57 | │ │ ├── 锁定英雄.bmp 58 | │ │ └── 更多图片... 59 | │ └── 文本.txt # 自定义聊天文本 60 | └── 运行文件 61 | └── bin/Debug/ # 程序运行目录 62 | ``` 63 | 64 | ## 🎯 主要功能实现 65 | 66 | ### 图像识别模块 67 | ```csharp 68 | public bool 查找图片(string 图片名称, out int X, out int Y) 69 | { 70 | dm.FindPic(0, 0, 2000, 1000, ".\\用于查找图片\\" + 图片名称, 71 | "000000", 0.8, 0, out object intX, out object intY); 72 | X = (int)intX; 73 | Y = (int)intY; 74 | return (X >= 0 && Y >= 0); 75 | } 76 | ``` 77 | 78 | ### 操作模拟 79 | ```csharp 80 | public void 鼠标移动左键单击(int X, int Y) 81 | { 82 | // 添加随机偏移实现真实点击 83 | My.Computer.MouseMoveToPixel( 84 | X + 随机数.Next(0, 5) - 随机数.Next(0, 5), 85 | Y + 随机数.Next(0, 5) - 随机数.Next(0, 5) 86 | ); 87 | My.Computer.MouseLeftClick(); 88 | } 89 | ``` 90 | 91 | ## 📝 使用说明 92 | 93 | 1. 安装步骤 94 | - 确保已安装大漠插件(dm.dll) 95 | - 将程序解压到任意目录 96 | - 确保"用于查找图片"文件夹中图片完整 97 | 98 | 2. 运行程序 99 | - 启动英雄联盟客户端 100 | - 运行本程序 101 | - 点击"开始"按钮即可自动运行 102 | 103 | 3. 注意事项 104 | - 游戏需要以窗口模式运行 105 | - 确保游戏分辨率为1920*1080 106 | - 可通过修改文本.txt自定义聊天内容 107 | - 建议仅在人机对战中使用 108 | 109 | ## ⚠️ 免责声明 110 | 111 | - 本程序仅供学习研究使用 112 | - 使用本程序可能违反游戏用户协议 113 | - 请勿在正常对局中使用 114 | - 对于使用本程序造成的任何后果,开发者不承担责任 115 | 116 | ## 📋 支持功能列表 117 | 118 | - [x] 自动接受对局 119 | - [x] 自动英雄选择 120 | - [x] 自动攻击移动 121 | - [x] 自动重连 122 | - [x] 对局结束自动重开 123 | - [x] 自动调整窗口 124 | - [x] 自定义聊天文本 125 | - [x] 随机延迟模拟 126 | - [x] 一键启停控制 127 | 128 | ## 👨‍💻 开发说明 129 | 130 | 本项目使用C# WinForms开发,主要依赖: 131 | - .NET Framework 132 | - System.Drawing 133 | - System.Windows.Forms 134 | - 大漠插件API 135 | 136 | ## 📄 许可证 137 | 138 | 本项目基于MIT许可证开源 - 查看 [LICENSE](LICENSE) 文件了解详情 139 | -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- 1 | # LOL AFK Assistant 🎮 2 | 3 | [中文](README.md) | [English](README_EN.md) 4 | 5 | ![GitHub](https://img.shields.io/badge/language-C%23-blue) 6 | ![Platform](https://img.shields.io/badge/platform-Windows-lightgrey) 7 | ![License](https://img.shields.io/badge/license-MIT-green) 8 | [![Star History Chart](https://api.star-history.com/svg?repos=LOL-FUZHU/LOL-FUZHU&type=Year)](https://star-history.com/#LOL-FUZHU/LOL-FUZHU&Year) 9 | An automated League of Legends (LOL) assistant based on image recognition technology, specifically designed for Co-op vs. AI matches. Utilizes DM plugin for screen detection and operation simulation, safe with no memory modifications. 10 | 11 | ## ✨ Core Features 12 | 13 | - 🎯 Auto accept matches and select champions 14 | - 🤖 Smart AI battle automation with attack and movement 15 | - 🔄 Auto reconnect and auto restart after matches 16 | - 🎨 Graphical interface with one-click control 17 | - 💬 Customizable chat messages 18 | - 🖥️ Automatic game window positioning 19 | - 🎮 Camera lock/unlock support 20 | 21 | ## 💡 Working Principle 22 | 23 | - Interface operation based on image recognition 24 | - Automated actions through specific image detection 25 | - Supports both fixed coordinates and dynamic image finding 26 | - Simulates real player actions with random delays 27 | - Automatically handles game popups and confirmations 28 | 29 | ## 🚀 Requirements 30 | 31 | ### System Requirements 32 | - Windows Operating System 33 | - .NET Framework Runtime 34 | - 1920*1080 Resolution 35 | - Game in windowed mode 36 | 37 | ### Dependencies 38 | - DM Plugin (dm.dll) 39 | - LOL Client 40 | - Required image resources 41 | 42 | ## 📦 Project Structure 43 | 44 | ``` 45 | Project Directory 46 | ├── Core Classes 47 | │ ├── Form1.cs # Main form and control logic 48 | │ ├── CDmSoft.cs # DM plugin wrapper class 49 | │ ├── My.cs # Utility class 50 | │ └── 截图.cs # Screenshot handler class 51 | ├── Resources 52 | │ ├── 用于查找图片/ # Image recognition templates 53 | │ │ ├── Play按钮.bmp 54 | │ │ ├── 人机对战.bmp 55 | │ │ ├── 接受.bmp 56 | │ │ ├── 锁定英雄.bmp 57 | │ │ └── More images... 58 | │ └── 文本.txt # Custom chat text 59 | └── Runtime 60 | └── bin/Debug/ # Program runtime directory 61 | ``` 62 | 63 | ## 🎯 Core Implementation 64 | 65 | ### Image Recognition Module 66 | ```csharp 67 | public bool FindImage(string imageName, out int X, out int Y) 68 | { 69 | dm.FindPic(0, 0, 2000, 1000, ".\\用于查找图片\\" + imageName, 70 | "000000", 0.8, 0, out object intX, out object intY); 71 | X = (int)intX; 72 | Y = (int)intY; 73 | return (X >= 0 && Y >= 0); 74 | } 75 | ``` 76 | 77 | ### Operation Simulation 78 | ```csharp 79 | public void MouseMoveAndClick(int X, int Y) 80 | { 81 | // Add random offset for realistic clicking 82 | My.Computer.MouseMoveToPixel( 83 | X + Random.Next(0, 5) - Random.Next(0, 5), 84 | Y + Random.Next(0, 5) - Random.Next(0, 5) 85 | ); 86 | My.Computer.MouseLeftClick(); 87 | } 88 | ``` 89 | 90 | ## 📝 Usage Guide 91 | 92 | 1. Installation Steps 93 | - Ensure DM plugin (dm.dll) is installed 94 | - Extract program to any directory 95 | - Verify all images in "用于查找图片" folder are complete 96 | 97 | 2. Running the Program 98 | - Launch LOL client 99 | - Run this program 100 | - Click "Start" button to begin automation 101 | 102 | 3. Important Notes 103 | - Game must run in windowed mode 104 | - Ensure game resolution is 1920*1080 105 | - Customize chat content through 文本.txt 106 | - Recommended for Co-op vs. AI only 107 | 108 | ## ⚠️ Disclaimer 109 | 110 | - This program is for learning and research purposes only 111 | - Usage may violate game terms of service 112 | - Do not use in normal matches 113 | - Developer assumes no responsibility for consequences of usage 114 | 115 | ## 📋 Feature List 116 | 117 | - [x] Auto match acceptance 118 | - [x] Auto champion selection 119 | - [x] Auto attack and movement 120 | - [x] Auto reconnection 121 | - [x] Auto restart after match 122 | - [x] Auto window adjustment 123 | - [x] Custom chat text 124 | - [x] Random delay simulation 125 | - [x] One-click control 126 | 127 | ## 👨‍💻 Development Notes 128 | 129 | Developed using C# WinForms with main dependencies: 130 | - .NET Framework 131 | - System.Drawing 132 | - System.Windows.Forms 133 | - DM Plugin API 134 | 135 | ## 📄 License 136 | 137 | This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details -------------------------------------------------------------------------------- /yyxlm.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28307.168 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "yyxlm", "LOL挂机刷金币\yyxlm.csproj", "{DA965E71-66B3-4506-8582-4BCF8801F262}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {DA965E71-66B3-4506-8582-4BCF8801F262}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {DA965E71-66B3-4506-8582-4BCF8801F262}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {DA965E71-66B3-4506-8582-4BCF8801F262}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {DA965E71-66B3-4506-8582-4BCF8801F262}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {6B9B11DB-0F86-4D5E-A126-81C0FB918200} 24 | EndGlobalSection 25 | EndGlobal 26 | --------------------------------------------------------------------------------