├── PS4API-NC
├── Resources
│ └── ps4.png
├── bin
│ └── Release
│ │ ├── PS4Lib.dll
│ │ ├── PS4API-NC.dll
│ │ ├── PS4API-NC.pdb
│ │ ├── NCAppInterface.dll
│ │ └── PS4API-NC.dll.config
├── FrmIP.cs
├── Properties
│ ├── Settings.settings
│ ├── AssemblyInfo.cs
│ ├── Settings.Designer.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── app.config
├── FrmIP.Designer.cs
├── PS4API-NC.csproj
├── FrmIP.resx
└── API.cs
├── README.md
└── PS4API-NC.sln
/PS4API-NC/Resources/ps4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/0xwal/PS4-NetCheatAPI/HEAD/PS4API-NC/Resources/ps4.png
--------------------------------------------------------------------------------
/PS4API-NC/bin/Release/PS4Lib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/0xwal/PS4-NetCheatAPI/HEAD/PS4API-NC/bin/Release/PS4Lib.dll
--------------------------------------------------------------------------------
/PS4API-NC/bin/Release/PS4API-NC.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/0xwal/PS4-NetCheatAPI/HEAD/PS4API-NC/bin/Release/PS4API-NC.dll
--------------------------------------------------------------------------------
/PS4API-NC/bin/Release/PS4API-NC.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/0xwal/PS4-NetCheatAPI/HEAD/PS4API-NC/bin/Release/PS4API-NC.pdb
--------------------------------------------------------------------------------
/PS4API-NC/bin/Release/NCAppInterface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/0xwal/PS4-NetCheatAPI/HEAD/PS4API-NC/bin/Release/NCAppInterface.dll
--------------------------------------------------------------------------------
/PS4API-NC/FrmIP.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace PS4API_NC
11 | {
12 | public partial class FrmIP : Form
13 | {
14 | public FrmIP()
15 | {
16 | InitializeComponent();
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/PS4API-NC/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/PS4API-NC/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/PS4API-NC/bin/Release/PS4API-NC.dll.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # netCheatAPI-for-PS4
2 | Netcheat API for PS4
3 |
4 |
5 | ## Installation
6 |
7 | Drop all dlls from here ```bin/release``` to ```[your netCheat folder]/APIs/```
8 | * You need PS4API server payload to use this, you can download it from here [PS4API.bin](https://github.com/BISOON/ps4-api-server/releases) use corresponding update of PS4API.BIN
9 | * netCheat app you can download it from here [ncUpdateDir.zip](http://netcheat.gamehacking.org/ncUpdater/).
10 |
11 | ## Note
12 |
13 | Netcheat will read 65000 bytes in one request, so in the [API.cs](https://github.com/BISOON/netCheatAPI-for-PS4/blob/master/PS4API-NC/API.cs#L99) I just devided the number of requested bytes by 16384 to make sure the browser will not crash.
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/PS4API-NC.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.40629.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PS4API-NC", "PS4API-NC\PS4API-NC.csproj", "{0233F7CE-4151-4638-AC92-55614B915CB0}"
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 | {0233F7CE-4151-4638-AC92-55614B915CB0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {0233F7CE-4151-4638-AC92-55614B915CB0}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {0233F7CE-4151-4638-AC92-55614B915CB0}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {0233F7CE-4151-4638-AC92-55614B915CB0}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/PS4API-NC/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("PS4API-NC")]
9 | [assembly: AssemblyDescription("PS4 4.05 API for netCheat")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("BISOON")]
12 | [assembly: AssemblyProduct("NetCheat PS4 API")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("BISOON")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("5cc1b06e-e499-4c7d-bbae-73894c0485b0")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/PS4API-NC/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PS4API_NC.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.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 | [global::System.Configuration.UserScopedSettingAttribute()]
27 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28 | [global::System.Configuration.DefaultSettingValueAttribute("")]
29 | public string ip {
30 | get {
31 | return ((string)(this["ip"]));
32 | }
33 | set {
34 | this["ip"] = value;
35 | }
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/PS4API-NC/FrmIP.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace PS4API_NC
2 | {
3 | partial class FrmIP
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, 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 Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.txtIp = new System.Windows.Forms.TextBox();
32 | this.btnConnect = new System.Windows.Forms.Button();
33 | this.SuspendLayout();
34 | //
35 | // txtIp
36 | //
37 | this.txtIp.Location = new System.Drawing.Point(12, 10);
38 | this.txtIp.Name = "txtIp";
39 | this.txtIp.Size = new System.Drawing.Size(282, 20);
40 | this.txtIp.TabIndex = 0;
41 | this.txtIp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
42 | //
43 | // btnConnect
44 | //
45 | this.btnConnect.Location = new System.Drawing.Point(12, 36);
46 | this.btnConnect.Name = "btnConnect";
47 | this.btnConnect.Size = new System.Drawing.Size(282, 23);
48 | this.btnConnect.TabIndex = 1;
49 | this.btnConnect.Text = "Connect";
50 | this.btnConnect.UseVisualStyleBackColor = true;
51 | //
52 | // FrmIP
53 | //
54 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
55 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
56 | this.ClientSize = new System.Drawing.Size(312, 71);
57 | this.Controls.Add(this.btnConnect);
58 | this.Controls.Add(this.txtIp);
59 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
60 | this.Name = "FrmIP";
61 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
62 | this.Text = "Your PS4 IP Adreess";
63 | this.ResumeLayout(false);
64 | this.PerformLayout();
65 |
66 | }
67 |
68 | #endregion
69 |
70 | internal System.Windows.Forms.TextBox txtIp;
71 | internal System.Windows.Forms.Button btnConnect;
72 | }
73 | }
--------------------------------------------------------------------------------
/PS4API-NC/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace PS4API_NC.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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 | /// Returns the cached ResourceManager instance used by this class.
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("PS4API_NC.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
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 | /// Looks up a localized resource of type System.Drawing.Bitmap.
65 | ///
66 | internal static System.Drawing.Bitmap ps4 {
67 | get {
68 | object obj = ResourceManager.GetObject("ps4", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/PS4API-NC/PS4API-NC.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {0233F7CE-4151-4638-AC92-55614B915CB0}
8 | Library
9 | Properties
10 | PS4API_NC
11 | PS4API-NC
12 | v3.5
13 | 512
14 |
15 |
16 |
17 | true
18 | full
19 | false
20 | ..\..\..\..\PS3\ncUpdateDir 3.52\APIs\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 | false
25 |
26 |
27 | pdbonly
28 | true
29 | ..\..\..\..\PS3\ncUpdateDir 3.52\APIs\
30 | TRACE
31 | prompt
32 | 4
33 | false
34 |
35 |
36 |
37 | ..\..\..\..\PS3\ncUpdateDir 3.52\NCAppInterface.dll
38 |
39 |
40 | ..\..\..\..\PS3\ncUpdateDir 3.52\APIs\PS4Lib.dll
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | Form
55 |
56 |
57 | FrmIP.cs
58 |
59 |
60 |
61 | True
62 | True
63 | Resources.resx
64 |
65 |
66 | True
67 | True
68 | Settings.settings
69 |
70 |
71 |
72 |
73 | FrmIP.cs
74 |
75 |
76 | ResXFileCodeGenerator
77 | Resources.Designer.cs
78 |
79 |
80 |
81 |
82 |
83 | SettingsSingleFileGenerator
84 | Settings.Designer.cs
85 |
86 |
87 |
88 |
89 |
90 |
91 |
98 |
--------------------------------------------------------------------------------
/PS4API-NC/FrmIP.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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/PS4API-NC/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 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\Resources\ps4.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
--------------------------------------------------------------------------------
/PS4API-NC/API.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using NCAppInterface;
6 | using PS4Lib;
7 | using System.Windows.Forms;
8 | namespace PS4API_NC
9 | {
10 | public class API : IAPI
11 | {
12 | PS4API PS4;
13 | public API()
14 | {
15 | PS4 = new PS4API();
16 | }
17 |
18 | //Declarations of all our internal API variables
19 | string myName = "PS4 API";
20 | string myDescription = "netCheat API for PS4, you need PS4API server to be injected before you use thisYou can find it here https://github.com/BISOON/ps4-api-server";
21 | string myAuthor = "BISOON";
22 | string myVersion = "1.0";
23 | string myPlatform = "PS4";
24 | string myContactLink = "http://www.github.com/bisoon";
25 |
26 | //If you want an Icon, use resources to load an image
27 | //System.Drawing.Image myIcon = Properties.Resources.ico;
28 | System.Drawing.Image myIcon = Properties.Resources.ps4;
29 |
30 | ///
31 | /// Website link to contact info or download (leave "" if no link)
32 | ///
33 | public string ContactLink
34 | {
35 | get { return myContactLink; }
36 | }
37 |
38 | ///
39 | /// Name of the API (displayed on title bar of NetCheat)
40 | ///
41 | public string Name
42 | {
43 | get { return myName; }
44 | }
45 |
46 | ///
47 | /// Description of the API's purpose
48 | ///
49 | public string Description
50 | {
51 | get { return myDescription; }
52 | }
53 |
54 | ///
55 | /// Author(s) of the API
56 | ///
57 | public string Author
58 | {
59 | get { return myAuthor; }
60 |
61 | }
62 |
63 | ///
64 | /// Current version of the API
65 | ///
66 | public string Version
67 | {
68 | get { return myVersion; }
69 | }
70 |
71 | ///
72 | /// Name of platform (abbreviated, i.e. PC, PS3, XBOX, iOS)
73 | ///
74 | public string Platform
75 | {
76 | get { return myPlatform; }
77 | }
78 |
79 | ///
80 | /// Returns whether the platform is little endian by default
81 | ///
82 | public bool isPlatformLittleEndian
83 | {
84 | get { return false; }
85 | }
86 |
87 | ///
88 | /// Icon displayed along with the other data in the API tab, if null NetCheat icon is displayed
89 | ///
90 | public System.Drawing.Image Icon
91 | {
92 | get { return myIcon; }
93 | }
94 | ///
95 | /// Read bytes from memory of target process.
96 | /// Returns read bytes into bytes array.
97 | /// Returns false if failed.
98 | ///
99 | public bool GetBytes(ulong address, ref byte[] bytes)
100 | {
101 | /*I did this to ensure that the browser will not crash due the allocation , original is 65000*/
102 | int sizeForOperation = 16384;
103 | int byteslength = bytes.Length;
104 | List tmpBuffer = new List();
105 | int loop = byteslength / sizeForOperation;
106 | byte[] operatinalBytes = new byte[sizeForOperation];
107 | for (int i = 0; i < loop; i++)
108 | {
109 | if (!PS4.GetMemory(address + (ulong)(i * sizeForOperation), ref operatinalBytes))
110 | return false;
111 | tmpBuffer.AddRange(operatinalBytes);
112 | }
113 | bytes = tmpBuffer.ToArray();
114 | return true;
115 | }
116 |
117 | ///
118 | /// Write bytes to the memory of target process.
119 | ///
120 | public void SetBytes(ulong address, byte[] bytes)
121 | {
122 | PS4.SetMemory(address, bytes);
123 | }
124 |
125 | ///
126 | /// Shutdown game or platform
127 | ///
128 | public void Shutdown()
129 | {
130 | MessageBox.Show("Not supported yet!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
131 | }
132 |
133 | ///
134 | /// Connects to target.
135 | /// If platform doesn't require connection, just return true.
136 | /// IMPORTANT:
137 | /// Since NetCheat connects and attaches a few times after the user does (Constant write thread, searching, ect)
138 | /// You must have it automatically use the settings that the user input, instead of asking again
139 | /// This can be reset on Disconnect()
140 | ///
141 | public bool Connect()
142 | {
143 | if (PS4.IsConnected)
144 | return true;
145 | string ip = string.Empty;
146 | using (FrmIP frmIp = new FrmIP())
147 | {
148 | frmIp.txtIp.Text = Properties.Settings.Default.ip;
149 | frmIp.btnConnect.Click += (o, e) => { frmIp.Close(); frmIp.DialogResult = DialogResult.OK; };
150 |
151 | frmIp.ShowDialog();
152 | Properties.Settings.Default.ip = frmIp.txtIp.Text;
153 | Properties.Settings.Default.Save();
154 | if (frmIp.DialogResult != DialogResult.OK)
155 | return false;
156 | ip = frmIp.txtIp.Text;
157 | }
158 | return PS4.ConnectTarget(ip);
159 |
160 | }
161 |
162 | ///
163 | /// Disconnects from target.
164 | ///
165 | public void Disconnect()
166 | {
167 | PS4.DisconnectTarget();
168 | }
169 |
170 | ///
171 | /// Attaches to target process.
172 | /// This should automatically continue the process if it is stopped.
173 | /// IMPORTANT:
174 | /// Since NetCheat connects and attaches a few times after the user does (Constant write thread, searching, ect)
175 | /// You must have it automatically use the settings that the user input, instead of asking again
176 | /// This can be reset on Disconnect()
177 | ///
178 | public bool Attach()
179 | {
180 | return PS4.AttachProcess();
181 | }
182 |
183 | ///
184 | /// Pauses the attached process (return false if not available feature)
185 | ///
186 | public bool PauseProcess()
187 | {
188 | return false;
189 | }
190 |
191 | ///
192 | /// Continues the attached process (return false if not available feature)
193 | ///
194 | public bool ContinueProcess()
195 | {
196 | return PS4.Continue();
197 | }
198 |
199 | ///
200 | /// Tells NetCheat if the process is currently stopped (return false if not available feature)
201 | ///
202 | public bool isProcessStopped()
203 | {
204 | return false;
205 | }
206 |
207 | ///
208 | /// Called by user.
209 | /// Should display options for the API.
210 | /// Can be used for other things.
211 | ///
212 | public void Configure()
213 | {
214 |
215 | }
216 |
217 | ///
218 | /// Called on initialization
219 | ///
220 | public void Initialize()
221 | {
222 |
223 | }
224 |
225 | ///
226 | /// Called when disposed
227 | ///
228 | public void Dispose()
229 | {
230 | //Put any cleanup code in here for when the program is stopped
231 | PS4.DisconnectTarget();
232 | }
233 | }
234 | }
235 |
--------------------------------------------------------------------------------