diff --git a/EZCube/EZCube.sln b/EZCube/EZCube.sln new file mode 100644 index 0000000..18584d8 --- /dev/null +++ b/EZCube/EZCube.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31515.178 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EZCube", "EZCube\EZCube.csproj", "{A1A07A23-9E45-4968-A82E-6F4AD3B5669A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A1A07A23-9E45-4968-A82E-6F4AD3B5669A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A1A07A23-9E45-4968-A82E-6F4AD3B5669A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A1A07A23-9E45-4968-A82E-6F4AD3B5669A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A1A07A23-9E45-4968-A82E-6F4AD3B5669A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1C307566-59C1-460F-8BB7-8F524739E2AE} + EndGlobalSection +EndGlobal diff --git a/EZCube/EZCube/App.config b/EZCube/EZCube/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/EZCube/EZCube/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EZCube/EZCube/Classes/Extensions.cs b/EZCube/EZCube/Classes/Extensions.cs new file mode 100644 index 0000000..63d4069 --- /dev/null +++ b/EZCube/EZCube/Classes/Extensions.cs @@ -0,0 +1,98 @@ +using EZCube.Classes.SDK.Variables; +using EZCube.Classes.Variables; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EZCube.Classes +{ + public static class Extensions + { + public static bool SetStyleEx(this Control c, ControlStyles Style, bool value) + { + bool retval = false; + Type typeTB = typeof(Control); + System.Reflection.MethodInfo misSetStyle = typeTB.GetMethod("SetStyle", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance); + if (misSetStyle != null && c != null) { misSetStyle.Invoke(c, new object[] { Style, value }); retval = true; } + return retval; + } + + public static void DoubleBufferedEx(this System.Windows.Forms.Control c, bool value) + { + //Taxes: Remote Desktop Connection and painting + //http://blogs.msdn.com/oldnewthing/archive/2006/01/03/508694.aspx + if (System.Windows.Forms.SystemInformation.TerminalServerSession) + return; + + System.Reflection.PropertyInfo aProp = + typeof(System.Windows.Forms.Control).GetProperty( + "DoubleBuffered", + System.Reflection.BindingFlags.NonPublic | + System.Reflection.BindingFlags.Instance); + + aProp.SetValue(c, value, null); + } + + public static void ChangeTheme(this Form form, Structs.AccentPolicy accent, bool hasFrame = true) + { + if (Environment.OSVersion.Version.Major >= 6) + { + if (hasFrame) + accent.AccentFlags = 0x20 | 0x40 | 0x80 | 0x100; + + int accentStructSize = Marshal.SizeOf(accent); + + IntPtr accentPtr = Marshal.AllocHGlobal(accentStructSize); + Marshal.StructureToPtr(accent, accentPtr, false); + + Structs.WindowCompositionAttributeData data = new Structs.WindowCompositionAttributeData(); + data.Attribute = Variables.Enums.WindowCompositionAttribute.WCA_ACCENT_POLICY; + data.SizeOfData = accentStructSize; + data.Data = accentPtr; + + WinAPI.SetWindowCompositionAttribute(form.Handle, ref data); + + Marshal.FreeHGlobal(accentPtr); + } + } + + public static void ChangePage(this Panel pnl, Control pageContent) + { + pnl.Controls.Clear(); + pnl.Controls.Add(pageContent); + } + + [System.Runtime.InteropServices.DllImport("user32.dll")] + public static extern bool LockWindowUpdate(IntPtr hWndLock); + + public static void Suspend(this Control control) + { + LockWindowUpdate(control.Handle); + } + + public static void Resume(this Control control) + { + LockWindowUpdate(IntPtr.Zero); + } + + [System.Runtime.InteropServices.DllImport("user32.dll")] + public static extern int SendMessage(IntPtr hWnd, Int32 wMsg, bool wParam, Int32 lParam); + + private const int WM_SETREDRAW = 11; + + public static void SuspendDrawing(this Control parent) + { + SendMessage(parent.Handle, WM_SETREDRAW, false, 0); + } + + public static void ResumeDrawing(this Control parent) + { + SendMessage(parent.Handle, WM_SETREDRAW, true, 0); + parent.Refresh(); + } + } +} diff --git a/EZCube/EZCube/Classes/Globals.cs b/EZCube/EZCube/Classes/Globals.cs new file mode 100644 index 0000000..ab49407 --- /dev/null +++ b/EZCube/EZCube/Classes/Globals.cs @@ -0,0 +1,7 @@ +using EZCube.Classes; + +class Globals +{ + public static Overlay overlay = new Overlay(); + public static NullMemory.NullMemory mem = new NullMemory.NullMemory("ac_client"); +} diff --git a/EZCube/EZCube/Classes/Overlay.cs b/EZCube/EZCube/Classes/Overlay.cs new file mode 100644 index 0000000..20665b0 --- /dev/null +++ b/EZCube/EZCube/Classes/Overlay.cs @@ -0,0 +1,262 @@ +using EZCube.Classes.Variables; +using EZCube.Forms; +using System; +using System.Diagnostics; +using System.Drawing; +using System.Windows.Forms; + +namespace EZCube.Classes +{ + class Overlay + { + private OverlayFrm OverlayForm = new OverlayFrm(); + private IntPtr LockWindowHandle = IntPtr.Zero; + private bool AttachToClient = false; + public bool IsRunning = false; + + public IntPtr Handle + { + get + { + return OverlayForm.Handle; + } + } + public int X + { + get + { + return OverlayForm.Left; + } + set + { + OverlayForm.Left = value; + } + } + public int Y + { + get + { + return OverlayForm.Top; + } + set + { + OverlayForm.Top = value; + } + } + public int Width + { + get + { + return OverlayForm.Size.Width; + } + set + { + OverlayForm.Size = new System.Drawing.Size(value, OverlayForm.Size.Height); + } + } + public int Height + { + get + { + return OverlayForm.Size.Height; + } + set + { + OverlayForm.Size = new System.Drawing.Size(OverlayForm.Size.Width, value); + } + } + public bool Visible + { + get + { + return OverlayForm.Visible; + } + set + { + OverlayForm.Visible = value; + } + } + public double Opacity + { + get + { + return OverlayForm.Opacity; + } + set + { + OverlayForm.Opacity = value; + } + } + public int CenterX + { + get + { + return Width / 2; + } + } + public int CenterY + { + get + { + return Height / 2; + } + } + + public void Resize(int x, int y, int width, int height) + { + X = x; + Y = y; + Width = width; + Height = height; + } + public void FitTo(IntPtr windowHandle, bool attachToClientArea = false) + { + bool result = attachToClientArea ? Utils.GetWindowClientBounds(windowHandle, out NativeRect rect) : Utils.GetWindowBounds(windowHandle, out rect); + + if (result) + { + int x = rect.Left; + int y = rect.Top; + int width = rect.Right - rect.Left; + int height = rect.Bottom - rect.Top; + + if (X != x + || Y != y + || Width != width + || Height != height) + { + Resize(x, y, width, height); + } + } + } + public void FitTo(Process window, bool attachToClientArea = false) + { + FitTo(window.MainWindowHandle, attachToClientArea); + } + public void FitTo(string windowText, bool attachToClientArea = false) + { + if (WinAPI.FindWindowByCaption(IntPtr.Zero, windowText) != null) return; + FitTo(WinAPI.FindWindowByCaption(IntPtr.Zero, windowText), attachToClientArea); + } + public void LockWindow(IntPtr lockWindow, bool attachToClient = false) + { + LockWindowHandle = lockWindow; + AttachToClient = attachToClient; + } + public void LockWindow(Process process, bool attachToClient = false) + { + LockWindow(process.MainWindowHandle, attachToClient); + } + public void LockWindow(string windowText, bool attachToClient = false) + { + if (WinAPI.FindWindowByCaption(IntPtr.Zero, windowText) != null) return; + LockWindow(WinAPI.FindWindowByCaption(IntPtr.Zero, windowText), attachToClient); + } + public void UnlockWindow() + { + LockWindowHandle = IntPtr.Zero; + Visible = true; + } + + public Overlay(Rectangle rect, bool topMost) + { + Run(); + OverlayForm.TopMost = topMost; + Resize(rect.X, rect.Y, rect.Width, rect.Height); + } + public Overlay(Rectangle rect) + { + Run(); + Resize(rect.X, rect.Y, rect.Width, rect.Height); + } + public Overlay(bool topMost) + { + Run(); + OverlayForm.TopMost = topMost; + } + public Overlay() { } + + public void Run() + { + if (IsRunning) return; + OverlayForm.SetStyleEx(ControlStyles.SupportsTransparentBackColor, true); + OverlayForm.FormBorderStyle = FormBorderStyle.None; + OverlayForm.BackColor = Color.FromArgb(1, 1, 1); + OverlayForm.TransparencyKey = Color.FromArgb(1, 1, 1); + OverlayForm.TopMost = true; + OverlayForm.ShowIcon = false; + OverlayForm.ShowInTaskbar = false; + OverlayForm.SetStyleEx(ControlStyles.OptimizedDoubleBuffer, true); + OverlayForm.DoubleBufferedEx(true); + + int initialStyle = WinAPI.GetWindowLong(OverlayForm.Handle, -20); + WinAPI.SetWindowLong(OverlayForm.Handle, -20, initialStyle | 0x80000 | 0x20); + + System.Windows.Forms.Timer updateDraw = new System.Windows.Forms.Timer(); + updateDraw.Tick += new EventHandler(UpdateDraw); + updateDraw.Interval = 1; + updateDraw.Start(); + + System.Windows.Forms.Timer lockWindow = new System.Windows.Forms.Timer(); + lockWindow.Tick += new EventHandler(LockToWindow); + lockWindow.Interval = 1; + lockWindow.Start(); + + OverlayForm.Show(); + } + + public enum EventInsertionType + { + ADD, + REMOVE + } + + public void Draw(PaintEventHandler drawEvent, EventInsertionType eventResult) + { + switch(eventResult) + { + case EventInsertionType.ADD: + OverlayForm.Paint += drawEvent; + break; + + case EventInsertionType.REMOVE: + OverlayForm.Paint -= drawEvent; + break; + } + } + + private void LockToWindow(object sender, EventArgs e) + { + if (LockWindowHandle == IntPtr.Zero) return; + if(WinAPI.GetForegroundWindow() == LockWindowHandle) + { + Visible = true; + FitTo(LockWindowHandle, AttachToClient); + } + else + { + Visible = false; + } + } + private void UpdateDraw(object sender, EventArgs e) + { + try + { + OverlayForm.Refresh(); + } catch { } + } + public partial class OverlayFrm : Form + { + protected override void WndProc(ref System.Windows.Forms.Message m) + { + switch (m.Msg) + { + case 0x000F: + this.Refresh(); + break; + } + base.WndProc(ref m); + } + } + } +} diff --git a/EZCube/EZCube/Classes/SDK/Entities/Player.cs b/EZCube/EZCube/Classes/SDK/Entities/Player.cs new file mode 100644 index 0000000..af4edea --- /dev/null +++ b/EZCube/EZCube/Classes/SDK/Entities/Player.cs @@ -0,0 +1,118 @@ +using EZCube.Classes.SDK.Variables; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Text; +using System.Threading.Tasks; +using static Globals; + +namespace EZCube.Classes.SDK.Entities +{ + class Player + { + public int Address; + public Player(int address) + { + Address = address; + } + + public int Health + { + get + { + return mem.Read(Address + Offsets.Health); + } + set + { + mem.Write(Address + Offsets.Health, value); + } + } + public int Armor + { + get + { + return mem.Read(Address + Offsets.Armor); + } + set + { + mem.Write(Address + Offsets.Armor, value); + } + } + + public string Name + { + get + { + return mem.ReadStringASCII(Address + Offsets.Name, 17); + } + } + + public Enums.Team Team + { + get + { + return (Enums.Team)mem.Read(Address + Offsets.Team); + } + set + { + mem.Write(Address + Offsets.Health, value); + } + } + + public float Yaw + { + get + { + return mem.Read(Address + Offsets.Yaw); + } + set + { + mem.Write(Address + Offsets.Yaw, value); + } + } + + public float Pitch + { + get + { + return mem.Read(Address + Offsets.Pitch); + } + set + { + mem.Write(Address + Offsets.Pitch, value); + } + } + + public Vector3 HeadPosition + { + get + { + return mem.Read(Address + Offsets.HeadPosition); + } + set + { + mem.Write(Address + Offsets.HeadPosition, value); + } + } + + public Vector3 FootPosition + { + get + { + return mem.Read(Address + Offsets.FootPosition); + } + set + { + mem.Write(Address + Offsets.FootPosition, value); + } + } + + public Weapon CurrentWeapon() + { + int currentWeaponBase = mem.Read(Address + Offsets.ptrCurrentWeapon); + int currentWeapon = mem.Read(currentWeaponBase + Offsets.ptrWeapon); + return new Weapon(currentWeapon); + } + } +} diff --git a/EZCube/EZCube/Classes/SDK/Entities/Weapon.cs b/EZCube/EZCube/Classes/SDK/Entities/Weapon.cs new file mode 100644 index 0000000..4a6ac45 --- /dev/null +++ b/EZCube/EZCube/Classes/SDK/Entities/Weapon.cs @@ -0,0 +1,49 @@ +using static Globals; + +namespace EZCube.Classes.SDK.Entities +{ + class Weapon + { + public int Address; + public Weapon(int address) + { + Address = address; + } + + public int Ammo + { + get + { + return mem.Read(Address + Offsets.ammo); + } + set + { + mem.Write(Address + Offsets.ammo, value); + } + } + + public int Clip + { + get + { + return mem.Read(Address + Offsets.ammoClip); + } + set + { + mem.Write(Address + Offsets.ammoClip, value); + } + } + + public int DelayTime + { + get + { + return mem.Read(Address + Offsets.delayTime); + } + set + { + mem.Write(Address + Offsets.delayTime, value); + } + } + } +} diff --git a/EZCube/EZCube/Classes/SDK/Offsets.cs b/EZCube/EZCube/Classes/SDK/Offsets.cs new file mode 100644 index 0000000..1270460 --- /dev/null +++ b/EZCube/EZCube/Classes/SDK/Offsets.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace EZCube.Classes +{ + class Offsets + { + public const int Client = 0x0050F4E8; + public const int Viewmatrix = 0x00501AE8; + public const int LocalPlayer = 0x0C; + public const int EntityList = 0x10; + public const int PlayersCount = 0x18; + public const int CrosshairTarget = 0x501C38; + + public const int Health = 0xF8; + public const int Armor = 0xFC; + public const int Name = 0x225; + public const int Team = 0x032C; + public const int HeadPosition = 0x04; + public const int FootPosition = 0x34; + public const int Velocity = 0x10; + public const int Yaw = 0x40; + public const int Pitch = 0x44; + public const int Height = 0x5C; + public const int ForceAttack = 0x224; + public const int ForceJump = 0x5C; + public const int ForceMovement = 0x80; + + //weapon pointers + //ptrPlayerEntity -> ptrCurrentWeapon -> ptrWeapon -> variableOffset + public const int ptrCurrentWeapon = 0x0378; + public const int ptrWeapon = 0x10; + //weapon variables + public const int ammo = 0x28; + public const int ammoClip = 0x00; + public const int delayTime = 0x50; + } +} diff --git a/EZCube/EZCube/Classes/SDK/Variables/Enums.cs b/EZCube/EZCube/Classes/SDK/Variables/Enums.cs new file mode 100644 index 0000000..4cd74a8 --- /dev/null +++ b/EZCube/EZCube/Classes/SDK/Variables/Enums.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace EZCube.Classes.SDK.Variables +{ + class Enums + { + public enum Team : int + { + CLA, + RVSF, + Spectator = 4 + } + + public enum Hitbox + { + Head, + Body, + Foot + } + } +} diff --git a/EZCube/EZCube/Classes/Settings.cs b/EZCube/EZCube/Classes/Settings.cs new file mode 100644 index 0000000..b94ca9a --- /dev/null +++ b/EZCube/EZCube/Classes/Settings.cs @@ -0,0 +1,36 @@ +using EZCube.Classes.SDK.Variables; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +class Settings +{ + public static bool Watermark = true; + public static string Watermark_Text = "EasyCube - LF1337"; + public static bool ESP = false; + public static bool ESP_Outline = false; + public static bool ESP_Health = false; + public static bool ESP_Health_Outline = false; + public static bool ESP_Armor = false; + public static bool ESP_Armor_Outline = false; + public static bool ESP_Name = false; + public static bool Snaplines = false; + public static bool Snaplines_Outline = false; + public static bool Distance = false; + public static bool Aimbot = false; + public static float Aimbot_FOV = 90; + public static bool Aimbot_FOV_Draw = false; + public static Enums.Hitbox Aimbot_Hitbox = Enums.Hitbox.Head; + public static bool TriggerBot = false; + public static bool RapidFire = false; + public static bool InfiniteAmmo = false; + public static bool Crosshair = false; + public static bool BunnyHop = false; + public static bool Fly = false; + public static bool InfiniteHealth = false; + public static bool InfiniteArmor = false; + public static bool Telekill = false; + public static bool TeleportEnemies = false; +} diff --git a/EZCube/EZCube/Classes/Utils.cs b/EZCube/EZCube/Classes/Utils.cs new file mode 100644 index 0000000..04f554f --- /dev/null +++ b/EZCube/EZCube/Classes/Utils.cs @@ -0,0 +1,164 @@ +using EZCube.Classes.Variables; +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EZCube.Classes +{ + class Utils + { + public static bool GetWindowClientInternal(IntPtr hwnd, out NativeRect rect) + { + // calculates the window bounds based on the difference of the client and the window rect + + if (!WinAPI.GetWindowRect(hwnd, out rect)) return false; + if (!WinAPI.GetClientRect(hwnd, out var clientRect)) return true; + + int clientWidth = clientRect.Right - clientRect.Left; + int clientHeight = clientRect.Bottom - clientRect.Top; + + int windowWidth = rect.Right - rect.Left; + int windowHeight = rect.Bottom - rect.Top; + + if (clientWidth == windowWidth && clientHeight == windowHeight) return true; + + if (clientWidth != windowWidth) + { + int difX = clientWidth > windowWidth ? clientWidth - windowWidth : windowWidth - clientWidth; + difX /= 2; + + rect.Right -= difX; + rect.Left += difX; + + if (clientHeight != windowHeight) + { + int difY = clientHeight > windowHeight ? clientHeight - windowHeight : windowHeight - clientHeight; + + rect.Top += difY - difX; + rect.Bottom -= difX; + } + } + else if (clientHeight != windowHeight) + { + int difY = clientHeight > windowHeight ? clientHeight - windowHeight : windowHeight - clientHeight; + difY /= 2; + + rect.Bottom -= difY; + rect.Top += difY; + } + + return true; + } + + public static bool GetWindowBounds(IntPtr hwnd, out NativeRect bounds) + { + if (WinAPI.GetWindowRect(hwnd, out var rect)) + { + bounds = new NativeRect() + { + Left = rect.Left, + Top = rect.Top, + Right = rect.Right, + Bottom = rect.Bottom + }; + + return true; + } + else + { + bounds = default; + + return false; + } + } + + public static bool GetWindowClientBounds(IntPtr hwnd, out NativeRect bounds) + { + if (GetWindowClientInternal(hwnd, out var rect)) + { + bounds = new NativeRect() + { + Left = rect.Left, + Top = rect.Top, + Right = rect.Right, + Bottom = rect.Bottom + }; + + return true; + } + else + { + bounds = default; + + return false; + } + } + + public static bool IsKeyPushedDown(System.Windows.Forms.Keys vKey) + { + return 0 != (WinAPI.GetAsyncKeyState(vKey) & 0x8000); + } + + public class DragObj + { + #region DragForm + private Form frm; + private Control cntrl; + + public DragObj() { } + + public DragObj(Form _frm, Control _cntrl) + { + frm = _frm; + cntrl = _cntrl; + + AddDrag(); + } + + public void AddDrag() + { + cntrl.MouseDown += new MouseEventHandler(Drag_MouseDown); + cntrl.MouseMove += new MouseEventHandler(Drag_MouseMove); + cntrl.MouseUp += new MouseEventHandler(Drag_MouseUp); + } + + public bool MouseDown; + private Point lastLocation; + + private void Drag_MouseDown(object sender, MouseEventArgs e) + { + MouseDown = true; + lastLocation = e.Location; + Control cntrl = (Control)sender; + //Aero.ChangeAccent(Handle, new Enums.AccentPolicy { GradientColor = 0xFD70000, AccentState = Enums.AccentState.ACCENT_DISABLED }); + //this.Opacity = 0.85; + cntrl.Cursor = Cursors.Hand; + } + + private void Drag_MouseMove(object sender, MouseEventArgs e) + { + if (MouseDown) + { + frm.Location = new Point( + (frm.Location.X - lastLocation.X) + e.X, (frm.Location.Y - lastLocation.Y) + e.Y); + + frm.Update(); + } + } + + private void Drag_MouseUp(object sender, MouseEventArgs e) + { + MouseDown = false; + Control cntrl = (Control)sender; + //Aero.ChangeAccent(Handle, new Enums.AccentPolicy { GradientColor = 0xFD70000, AccentState = FormAccent }); + //this.Opacity = 1; + cntrl.Cursor = Cursors.Default; + } + #endregion + } + } +} diff --git a/EZCube/EZCube/Classes/Variables/DynamicImport.cs b/EZCube/EZCube/Classes/Variables/DynamicImport.cs new file mode 100644 index 0000000..5d281bc --- /dev/null +++ b/EZCube/EZCube/Classes/Variables/DynamicImport.cs @@ -0,0 +1,106 @@ +using System; +using System.ComponentModel; +using System.Runtime.InteropServices; +using System.Runtime.Serialization; + +namespace EZCube.Classes.Variables +{ + internal static class DynamicImport + { + [DllImport("kernel32.dll", EntryPoint = "GetProcAddress", SetLastError = true, CharSet = CharSet.Ansi)] + private static extern IntPtr GetProcAddress(IntPtr hModule, string procname); + + [DllImport("kernel32.dll", EntryPoint = "LoadLibraryW", SetLastError = true, CharSet = CharSet.Unicode)] + private static extern IntPtr LoadLibrary(string lpFileName); + + [DllImport("kernel32.dll", EntryPoint = "GetModuleHandleW", SetLastError = true, CharSet = CharSet.Unicode)] + private static extern IntPtr GetModuleHandle(string modulename); + + public static IntPtr ImportLibrary(string libraryName) + { + if (libraryName == null) throw new ArgumentNullException(nameof(libraryName)); + if (libraryName.Length == 0) throw new ArgumentOutOfRangeException(nameof(libraryName)); + + IntPtr hModule = GetModuleHandle(libraryName); + + if (hModule == IntPtr.Zero) + { + hModule = LoadLibrary(libraryName); + } + + if (hModule == IntPtr.Zero) + { + throw new DynamicImportException($"DynamicImport failed to import library \"{ libraryName }\"!"); + } + else + { + return hModule; + } + } + + public static IntPtr ImportMethod(IntPtr moduleHandle, string methodName) + { + if (moduleHandle == IntPtr.Zero) throw new ArgumentOutOfRangeException(nameof(moduleHandle)); + + if (methodName == null) throw new ArgumentNullException(nameof(methodName)); + if (methodName.Length == 0) throw new ArgumentOutOfRangeException(nameof(methodName)); + + IntPtr procAddress = GetProcAddress(moduleHandle, methodName); + + if (procAddress == IntPtr.Zero) + { + throw new DynamicImportException($"DynamicImport failed to find method \"{ methodName }\" in module \"0x{ moduleHandle.ToString("X") }\"!"); + } + else + { + return procAddress; + } + } + + public static IntPtr ImportMethod(string libraryName, string methodName) + { + return ImportMethod(ImportLibrary(libraryName), methodName); + } + + public static T Import(IntPtr moduleHandle, string methodName) + { + var address = ImportMethod(moduleHandle, methodName); + + return (T)(object)Marshal.GetDelegateForFunctionPointer(address, typeof(T)); + } + + public static T Import(string libraryName, string methodName) + { + var address = ImportMethod(libraryName, methodName); + + return (T)(object)Marshal.GetDelegateForFunctionPointer(address, typeof(T)); + } + } + + internal class DynamicImportException : Win32Exception + { + public DynamicImportException() + { + } + + public DynamicImportException(int error) : base(error) + { + } + + public DynamicImportException(string message) : base(message + Environment.NewLine + "ErrorCode: " + Marshal.GetLastWin32Error()) + { + } + + public DynamicImportException(int error, string message) : base(error, message) + { + } + + public DynamicImportException(string message, Exception innerException) : base(message, innerException) + { + } + + protected DynamicImportException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } + } +} diff --git a/EZCube/EZCube/Classes/Variables/Enums.cs b/EZCube/EZCube/Classes/Variables/Enums.cs new file mode 100644 index 0000000..32c30fa --- /dev/null +++ b/EZCube/EZCube/Classes/Variables/Enums.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace EZCube.Classes.Variables +{ + public class Enums + { + public enum WindowCompositionAttribute + { + WCA_UNDEFINED = 0, + WCA_NCRENDERING_ENABLED = 1, + WCA_NCRENDERING_POLICY = 2, + WCA_TRANSITIONS_FORCEDISABLED = 3, + WCA_ALLOW_NCPAINT = 4, + WCA_CAPTION_BUTTON_BOUNDS = 5, + WCA_NONCLIENT_RTL_LAYOUT = 6, + WCA_FORCE_ICONIC_REPRESENTATION = 7, + WCA_EXTENDED_FRAME_BOUNDS = 8, + WCA_HAS_ICONIC_BITMAP = 9, + WCA_THEME_ATTRIBUTES = 10, + WCA_NCRENDERING_EXILED = 11, + WCA_NCADORNMENTINFO = 12, + WCA_EXCLUDED_FROM_LIVEPREVIEW = 13, + WCA_VIDEO_OVERLAY_ACTIVE = 14, + WCA_FORCE_ACTIVEWINDOW_APPEARANCE = 15, + WCA_DISALLOW_PEEK = 16, + WCA_CLOAK = 17, + WCA_CLOAKED = 18, + WCA_ACCENT_POLICY = 19, + WCA_FREEZE_REPRESENTATION = 20, + WCA_EVER_UNCLOAKED = 21, + WCA_VISUAL_OWNER = 22, + WCA_HOLOGRAPHIC = 23, + WCA_EXCLUDED_FROM_DDA = 24, + WCA_PASSIVEUPDATEMODE = 25, + WCA_LAST = 26 + } + + public enum AccentState + { + ACCENT_DISABLED = 0, + ACCENT_ENABLE_GRADIENT = 1, + ACCENT_ENABLE_TRANSPARENTGRADIENT = 2, + ACCENT_ENABLE_BLURBEHIND = 3, + ACCENT_ENABLE_ACRYLICBLURBEHIND = 4, // RS4 1803 + ACCENT_ENABLE_HOSTBACKDROP = 5, // RS5 1809 + ACCENT_INVALID_STATE = 6 + } + + public enum DisplayAffinity : uint + { + None = 0, + Monitor = 1 + } + } +} diff --git a/EZCube/EZCube/Classes/Variables/Structs.cs b/EZCube/EZCube/Classes/Variables/Structs.cs new file mode 100644 index 0000000..0fcd802 --- /dev/null +++ b/EZCube/EZCube/Classes/Variables/Structs.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using static EZCube.Classes.Variables.Enums; + +namespace EZCube.Classes.Variables +{ + public class Structs + { + [StructLayout(LayoutKind.Sequential)] + public struct WindowCompositionAttributeData + { + public WindowCompositionAttribute Attribute; + public IntPtr Data; + public int SizeOfData; + } + + [StructLayout(LayoutKind.Sequential)] + public struct AccentPolicy + { + public AccentState AccentState; + public int AccentFlags; + public int GradientColor; + public int AnimationId; + } + } +} diff --git a/EZCube/EZCube/Classes/Variables/Types.cs b/EZCube/EZCube/Classes/Variables/Types.cs new file mode 100644 index 0000000..64bbfdb --- /dev/null +++ b/EZCube/EZCube/Classes/Variables/Types.cs @@ -0,0 +1,437 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace EZCube.Classes.Variables +{ + internal delegate IntPtr WindowProc(IntPtr hWnd, WindowMessage msg, IntPtr wParam, IntPtr lParam); + + // Identifies the dots per inch (dpi) setting for a thread, process, or window. + internal enum DpiAwareness + { + Invalid, + Unaware, + SystemAware, + PerMonitorAware + } + + // Identifies the awareness context for a window. + internal enum DpiAwarenessContext + { + UnawareGdiScaled = -5, + PerMonitorAwareV2 = -4, + PerMonitorAware = -3, + SystemAware = -2, + Unaware = -1 + } + + // Extended Window Styles + [Flags] + internal enum ExtendedWindowStyle : uint + { + Left = 0x00000000, + LtrReading = 0x00000000, + RightScrollbar = 0x00000000, + DlgModalFrame = 0x00000001, + NoParentNotify = 0x00000004, + Topmost = 0x00000008, + AcceptFiles = 0x00000010, + Transparent = 0x00000020, + MdiChild = 0x00000040, + ToolWindow = 0x00000080, + WindowEdge = 0x00000100, + PaletteWindow = WindowEdge | ToolWindow | Topmost, + ClientEdge = 0x00000200, + OverlappedWindow = WindowEdge | ClientEdge, + ContextHelp = 0x00000400, + Right = 0x00001000, + RtlReading = 0x00002000, + LeftScrollbar = 0x00004000, + ControlParent = 0x00010000, + StaticEdge = 0x00020000, + AppWindow = 0x00040000, + Layered = 0x00080000, + NoInheritLayout = 0x00100000, + NoRedirectionBitmap = 0x00200000, + LayoutRtl = 0x00400000, + Composited = 0x02000000, + NoActivate = 0x08000000 + } + + // Layered Window Attributes + internal enum LayeredWindowAttributes : uint + { + None = 0x0, + ColorKey = 0x1, + Alpha = 0x2, + Opaque = 0x4 + } + + // Controls how the window is to be shown. + internal enum ShowWindowCommand : uint + { + Hide = 0, + ShowNormal = 1, + ShowMinimized = 2, + Maximize = 3, + ShowMaximized = 3, + ShowNoActivate = 4, + Show = 5, + Minimize = 6, + ShowMinNoActivate = 7, + ShowNA = 8, + Restore = 9, + ShowDefault = 10, + ForceMinimize = 11 + } + + // SetWindowPos flags + [Flags] + internal enum SwpFlags : uint + { + None = 0, + NoSize = 0x0001, + NoMove = 0x0002, + NoZOrder = 0x0004, + NoRedraw = 0x0008, + NoActivate = 0x0010, + DrawFrame = 0x0020, + FrameChanged = 0x0020, + ShowWindow = 0x0040, + HideWindow = 0x0080, + NoCopyBits = 0x0100, + NoOwnerZOrder = 0x0200, + NoReposition = 0x0200, + NoSendChanging = 0x0400, + DeferErase = 0x2000, + AsyncWindowPos = 0x4000, + } + + // Window Styles + [Flags] + internal enum WindowStyle : uint + { + Overlapped = 0x00000000, + Tiled = 0x00000000, + MaximizeBox = 00010000, + Tabstop = 0x00010000, + Group = 0x00020000, + MinimizeBox = 0x00020000, + Sizebox = 0x00040000, + ThickFrame = 0x00040000, + SysMenu = 0x00080000, + HScroll = 0x00100000, + VScroll = 0x00200000, + DlgFrame = 0x00400000, + Border = 0x00800000, + Caption = DlgFrame | Border, + OverlappedWindow = Overlapped | Caption | SysMenu | ThickFrame | MinimizeBox | MaximizeBox, + TiledWindow = Overlapped | Caption | SysMenu | ThickFrame | MinimizeBox | MaximizeBox, + Maximize = 0x01000000, + ClipChildren = 0x02000000, + ClipSiblings = 0x04000000, + Disabled = 0x08000000, + Visible = 0x10000000, + Iconic = 0x20000000, + Minimize = 0x20000000, + Child = 0x40000000, + ChildWindow = 0x40000000, + Popup = 0x80000000, + PopupWindow = Popup | Border | SysMenu + } + + // All WindowMessages + internal enum WindowMessage : uint + { + Null = 0x0000, + Create = 0x0001, + Destroy = 0x0002, + Move = 0x0003, + Size = 0x0005, + Activate = 0x0006, + Setfocus = 0x0007, + Killfocus = 0x0008, + Enable = 0x000A, + Setredraw = 0x000B, + Settext = 0x000C, + Gettext = 0x000D, + Gettextlength = 0x000E, + Paint = 0x000F, + Close = 0x0010, + Queryendsession = 0x0011, + Quit = 0x0012, + Queryopen = 0x0013, + EraseBackground = 0x0014, + Syscolorchange = 0x0015, + Endsession = 0x0016, + Showwindow = 0x0018, + Wininichange = 0x001A, + Settingchange = Wininichange, + Devmodechange = 0x001B, + Activateapp = 0x001C, + Fontchange = 0x001D, + Timechange = 0x001E, + Cancelmode = 0x001F, + Setcursor = 0x0020, + Mouseactivate = 0x0021, + Childactivate = 0x0022, + Queuesync = 0x0023, + Getminmaxinfo = 0x0024, + Painticon = 0x0026, + Iconerasebkgnd = 0x0027, + Nextdlgctl = 0x0028, + Spoolerstatus = 0x002A, + Drawitem = 0x002B, + Measureitem = 0x002C, + Deleteitem = 0x002D, + Vkeytoitem = 0x002E, + Chartoitem = 0x002F, + Setfont = 0x0030, + Getfont = 0x0031, + Sethotkey = 0x0032, + Gethotkey = 0x0033, + Querydragicon = 0x0037, + Compareitem = 0x0039, + Getobject = 0x003D, + Compacting = 0x0041, + Commnotify = 0x0044, + Windowposchanging = 0x0046, + Windowposchanged = 0x0047, + Power = 0x0048, + Copydata = 0x004A, + Canceljournal = 0x004B, + Notify = 0x004E, + Inputlangchangerequest = 0x0050, + Inputlangchange = 0x0051, + Tcard = 0x0052, + Help = 0x0053, + Userchanged = 0x0054, + Notifyformat = 0x0055, + Contextmenu = 0x007B, + Stylechanging = 0x007C, + Stylechanged = 0x007D, + Displaychange = 0x007E, + Geticon = 0x007F, + Seticon = 0x0080, + Nccreate = 0x0081, + Ncdestroy = 0x0082, + Nccalcsize = 0x0083, + Nchittest = 0x0084, + NcPaint = 0x0085, + Ncactivate = 0x0086, + Getdlgcode = 0x0087, + Syncpaint = 0x0088, + Ncmousemove = 0x00A0, + Nclbuttondown = 0x00A1, + Nclbuttonup = 0x00A2, + Nclbuttondblclk = 0x00A3, + Ncrbuttondown = 0x00A4, + Ncrbuttonup = 0x00A5, + Ncrbuttondblclk = 0x00A6, + Ncmbuttondown = 0x00A7, + Ncmbuttonup = 0x00A8, + Ncmbuttondblclk = 0x00A9, + Ncxbuttondown = 0x00AB, + Ncxbuttonup = 0x00AC, + Ncxbuttondblclk = 0x00AD, + InputDeviceChange = 0x00FE, + Input = 0x00FF, + Keyfirst = 0x0100, + Keydown = 0x0100, + Keyup = 0x0101, + Char = 0x0102, + Deadchar = 0x0103, + Syskeydown = 0x0104, + Syskeyup = 0x0105, + Syschar = 0x0106, + Sysdeadchar = 0x0107, + Unichar = 0x0109, + Keylast = 0x0109, + ImeStartcomposition = 0x010D, + ImeEndcomposition = 0x010E, + ImeComposition = 0x010F, + ImeKeylast = 0x010F, + Initdialog = 0x0110, + Command = 0x0111, + Syscommand = 0x0112, + Timer = 0x0113, + Hscroll = 0x0114, + Vscroll = 0x0115, + Initmenu = 0x0116, + Initmenupopup = 0x0117, + Menuselect = 0x011F, + Menuchar = 0x0120, + Enteridle = 0x0121, + Menurbuttonup = 0x0122, + Menudrag = 0x0123, + Menugetobject = 0x0124, + Uninitmenupopup = 0x0125, + Menucommand = 0x0126, + Changeuistate = 0x0127, + Updateuistate = 0x0128, + Queryuistate = 0x0129, + Ctlcolormsgbox = 0x0132, + Ctlcoloredit = 0x0133, + Ctlcolorlistbox = 0x0134, + Ctlcolorbtn = 0x0135, + Ctlcolordlg = 0x0136, + Ctlcolorscrollbar = 0x0137, + Ctlcolorstatic = 0x0138, + Gethmenu = 0x01E1, + Mousefirst = 0x0200, + Mousemove = 0x0200, + Lbuttondown = 0x0201, + Lbuttonup = 0x0202, + Lbuttondblclk = 0x0203, + Rbuttondown = 0x0204, + Rbuttonup = 0x0205, + Rbuttondblclk = 0x0206, + Mbuttondown = 0x0207, + Mbuttonup = 0x0208, + Mbuttondblclk = 0x0209, + Mousewheel = 0x020A, + Xbuttondown = 0x020B, + Xbuttonup = 0x020C, + Xbuttondblclk = 0x020D, + Mousehwheel = 0x020E, + Parentnotify = 0x0210, + Entermenuloop = 0x0211, + Exitmenuloop = 0x0212, + Nextmenu = 0x0213, + Sizing = 0x0214, + Capturechanged = 0x0215, + Moving = 0x0216, + Powerbroadcast = 0x0218, + Devicechange = 0x0219, + Mdicreate = 0x0220, + Mdidestroy = 0x0221, + Mdiactivate = 0x0222, + Mdirestore = 0x0223, + Mdinext = 0x0224, + Mdimaximize = 0x0225, + Mditile = 0x0226, + Mdicascade = 0x0227, + Mdiiconarrange = 0x0228, + Mdigetactive = 0x0229, + Mdisetmenu = 0x0230, + Entersizemove = 0x0231, + Exitsizemove = 0x0232, + Dropfiles = 0x0233, + Mdirefreshmenu = 0x0234, + ImeSetcontext = 0x0281, + ImeNotify = 0x0282, + ImeControl = 0x0283, + ImeCompositionfull = 0x0284, + ImeSelect = 0x0285, + ImeChar = 0x0286, + ImeRequest = 0x0288, + ImeKeydown = 0x0290, + ImeKeyup = 0x0291, + Ncmousehover = 0x02A0, + Mousehover = 0x02A1, + Ncmouseleave = 0x02A2, + Mouseleave = 0x02A3, + WtssessionChange = 0x02B1, + TabletFirst = 0x02c0, + TabletLast = 0x02df, + DpiChanged = 0x02E0, + Cut = 0x0300, + Copy = 0x0301, + Paste = 0x0302, + Clear = 0x0303, + Undo = 0x0304, + Renderformat = 0x0305, + Renderallformats = 0x0306, + Destroyclipboard = 0x0307, + Drawclipboard = 0x0308, + Paintclipboard = 0x0309, + Vscrollclipboard = 0x030A, + Sizeclipboard = 0x030B, + Askcbformatname = 0x030C, + Changecbchain = 0x030D, + Hscrollclipboard = 0x030E, + Querynewpalette = 0x030F, + Paletteischanging = 0x0310, + Palettechanged = 0x0311, + Hotkey = 0x0312, + Print = 0x0317, + Printclient = 0x0318, + Appcommand = 0x0319, + Themechanged = 0x031A, + Clipboardupdate = 0x031D, + DwmCompositionChanged = 0x031E, + Dwmncrenderingchanged = 0x031F, + Dwmcolorizationcolorchanged = 0x0320, + Dwmwindowmaximizedchange = 0x0321, + Gettitlebarinfoex = 0x033F, + Handheldfirst = 0x0358, + Handheldlast = 0x035F, + Afxfirst = 0x0360, + Afxlast = 0x037F, + Penwinfirst = 0x0380, + Penwinlast = 0x038F, + User = 0x0400, + Reflect = User + 0x1C00, + App = 0x8000 + } + + // Contains a WindowsMessage + [StructLayout(LayoutKind.Sequential)] + internal struct Message + { + public IntPtr Hwnd; + public WindowMessage Msg; + public IntPtr lParam; + public IntPtr wParam; + public uint Time; + public int X; + public int Y; + } + + // X and Y desktop coordinates + [StructLayout(LayoutKind.Sequential)] + internal struct NativePoint + { + public int X; + public int Y; + } + + // Contains Desktop Coordinates + [StructLayout(LayoutKind.Sequential)] + internal struct NativeRect + { + public int Left; // x position of upper-left corner + + public int Top; // x position of upper-left corner + + public int Right; // x position of lower-right corner + + public int Bottom; // y position of lower-right corner + } + + // Stores information for window creation + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] + internal struct WindowClassEx + { + public uint Size; + public uint Style; + public IntPtr WindowProc; + public int ClsExtra; + public int WindowExtra; + public IntPtr Instance; + public IntPtr Icon; + public IntPtr Curser; + public IntPtr Background; + public string MenuName; + public string ClassName; + public IntPtr IconSm; + + public static uint NativeSize() + { + return (uint)Marshal.SizeOf(typeof(WindowClassEx)); + } + } +} diff --git a/EZCube/EZCube/Classes/WinAPI.cs b/EZCube/EZCube/Classes/WinAPI.cs new file mode 100644 index 0000000..4fd74b5 --- /dev/null +++ b/EZCube/EZCube/Classes/WinAPI.cs @@ -0,0 +1,237 @@ +using EZCube.Classes.Variables; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using static EZCube.Classes.WndProcHook; + +namespace EZCube.Classes +{ + internal static class WinAPI + { + public static readonly IntPtr HwndBroadcast = (IntPtr)0xffff; + public static readonly IntPtr HwndInsertNoTopmost = (IntPtr)(-2); + public static readonly IntPtr HwndInsertTopMost = (IntPtr)(-1); + public static readonly IntPtr HwndInsertTop = IntPtr.Zero; + public static readonly IntPtr HwndInsertBottom = (IntPtr)1; + + private delegate IntPtr SetThreadDpiAwarenessContextDelegate(ref DpiAwareness awareness); // returns a handle to a DpiAwarenessContext + private static readonly SetThreadDpiAwarenessContextDelegate _setThreadDpiAwarenessContext; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + public delegate IntPtr CreateWindowExDelegate( + ExtendedWindowStyle dwExStyle, + string lpClassName, + string lpWindowName, + WindowStyle dwStyle, + int x, + int y, + int nWidth, + int nHeight, + IntPtr hWndParent, + IntPtr hMenu, + IntPtr hInstance, + IntPtr lpParam); + + public static readonly CreateWindowExDelegate CreateWindowEx; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + public delegate IntPtr DefWindowProcDelegate(IntPtr hwnd, WindowMessage msg, IntPtr wparam, IntPtr lparam); + + public static readonly DefWindowProcDelegate DefWindowProc; + + public delegate int DestroyWindowDelegate(IntPtr hwnd); + + public static readonly DestroyWindowDelegate DestroyWindow; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool DispatchMessageDelegate(ref Message msg); + + public static readonly DispatchMessageDelegate DispatchMessage; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool GetClientRectDelegate(IntPtr hwnd, out NativeRect lpNativeRect); + + public static readonly GetClientRectDelegate GetClientRect; + + public delegate IntPtr GetForegroundWindowDelegate(); + + public static readonly GetForegroundWindowDelegate GetForegroundWindow; + + public delegate IntPtr GetWindowDelegate(IntPtr hwnd, uint cmd); + public static readonly GetWindowDelegate GetWindow; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool GetWindowRectDelegate(IntPtr hwnd, out NativeRect lpNativeRect); + + public static readonly GetWindowRectDelegate GetWindowRect; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool IsWindowDelegate(IntPtr hwnd); + + public static readonly IsWindowDelegate IsWindow; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool IsWindowVisibleDelegate(IntPtr hwnd); + + public static readonly IsWindowVisibleDelegate IsWindowVisible; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool MoveWindowDelegate(IntPtr hwnd, int x, int y, int width, int height, [MarshalAs(UnmanagedType.Bool)] bool repaint); + + public static readonly MoveWindowDelegate MoveWindow; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool PeekMessageWDelegate(ref Message msg, IntPtr hwnd, uint filterMin, uint filterMax, uint removeMsg); + + public static readonly PeekMessageWDelegate PeekMessage; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + public delegate ushort RegisterClassExDelegate(ref WindowClassEx windowClassEx); + + public static readonly RegisterClassExDelegate RegisterClassEx; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool SendMessageDelegate(IntPtr hwnd, WindowMessage msg, IntPtr wparam, IntPtr lparam); + + public static readonly SendMessageDelegate SendMessage; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool SetLayeredWindowAttributesDelegate(IntPtr hwnd, uint crKey, byte bAlpha, LayeredWindowAttributes dwFlags); + + public static readonly SetLayeredWindowAttributesDelegate SetLayeredWindowAttributes; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool SetWindowPosDelegate(IntPtr hwnd, IntPtr hwndInsertAfter, int x, int y, int cx, int cy, SwpFlags flags); + + public static readonly SetWindowPosDelegate SetWindowPos; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool ShowWindowDelegate(IntPtr hWnd, ShowWindowCommand nCmdShow); + + public static readonly ShowWindowDelegate ShowWindow; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool TranslateMessageDelegate(ref Message msg); + + public static readonly TranslateMessageDelegate TranslateMessage; + + [UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode)] + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool UnregisterClassDelegate(string lpClassName, IntPtr hInstance); + + public static readonly UnregisterClassDelegate UnregisterClass; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool UpdateWindowDelegate(IntPtr hWnd); + + public static readonly UpdateWindowDelegate UpdateWindow; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool WaitMessageDelegate(); + + public static readonly WaitMessageDelegate WaitMessage; + + [return: MarshalAs(UnmanagedType.Bool)] + public delegate bool PostMessageWDelegate(IntPtr hwnd, WindowMessage message, IntPtr wparam, IntPtr lparam); + + public static readonly PostMessageWDelegate PostMessage; + + internal static string _className; + private static WindowProc _windowProc; + private static IntPtr _windowProcAddress; + + static WinAPI() + { + IntPtr library = DynamicImport.ImportLibrary("user32.dll"); + + CreateWindowEx = DynamicImport.Import(library, "CreateWindowExW"); + DefWindowProc = DynamicImport.Import(library, "DefWindowProcW"); + DestroyWindow = DynamicImport.Import(library, "DestroyWindow"); + DispatchMessage = DynamicImport.Import(library, "DispatchMessageW"); + GetClientRect = DynamicImport.Import(library, "GetClientRect"); + GetWindow = DynamicImport.Import(library, "GetWindow"); + GetWindowRect = DynamicImport.Import(library, "GetWindowRect"); + IsWindow = DynamicImport.Import(library, "IsWindow"); + IsWindowVisible = DynamicImport.Import(library, "IsWindowVisible"); + MoveWindow = DynamicImport.Import(library, "MoveWindow"); + PeekMessage = DynamicImport.Import(library, "PeekMessageW"); + RegisterClassEx = DynamicImport.Import(library, "RegisterClassExW"); + SendMessage = DynamicImport.Import(library, "SendMessageW"); + SetLayeredWindowAttributes = DynamicImport.Import(library, "SetLayeredWindowAttributes"); + SetWindowPos = DynamicImport.Import(library, "SetWindowPos"); + ShowWindow = DynamicImport.Import(library, "ShowWindow"); + TranslateMessage = DynamicImport.Import(library, "TranslateMessage"); + UnregisterClass = DynamicImport.Import(library, "UnregisterClassW"); + UpdateWindow = DynamicImport.Import(library, "UpdateWindow"); + WaitMessage = DynamicImport.Import(library, "WaitMessage"); + PostMessage = DynamicImport.Import(library, "PostMessageW"); + GetForegroundWindow = DynamicImport.Import(library, "GetForegroundWindow"); + + try + { + _setThreadDpiAwarenessContext = DynamicImport.Import(library, "SetThreadDpiAwarenessContext"); + } + catch { } // ignored + } + + public static void MakeThreadDpiAware() + { + if (_setThreadDpiAwarenessContext == null) return; + + var dpiAwareness = DpiAwareness.PerMonitorAware; + + // i dont know if this actually takes a DpiAwareness or DpiAwarenessContext + if (_setThreadDpiAwarenessContext(ref dpiAwareness) == IntPtr.Zero) + { + dpiAwareness = (DpiAwareness)DpiAwarenessContext.PerMonitorAware; + _setThreadDpiAwarenessContext(ref dpiAwareness); + } + } + + [DllImport("user32.dll", CharSet = CharSet.Auto)] + public static extern int SetClassLong(IntPtr hwnd, int nIndex, int dwNewLong); + [DllImport("user32.dll", CharSet = CharSet.Auto)] + public static extern int GetClassLong(IntPtr hwnd, int nIndex); + + [DllImport("user32.dll")] + public static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong); + + [DllImport("user32.dll", SetLastError = true)] + public static extern int GetWindowLong(IntPtr hWnd, int nIndex); + + [DllImport("user32.dll", EntryPoint = "GetWindowLong", SetLastError = true)] + public static extern IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex); + + public enum GWL + { + GWL_WNDPROC = (-4), + GWL_HINSTANCE = (-6), + GWL_HWNDPARENT = (-8), + GWL_STYLE = (-16), + GWL_EXSTYLE = (-20), + GWL_USERDATA = (-21), + GWL_ID = (-12) + } + + [DllImport("user32.dll", SetLastError = true)] + public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); + + [DllImport("user32.dll", EntryPoint = "FindWindow", SetLastError = true)] + public static extern IntPtr FindWindowByCaption(IntPtr ZeroOnly, string lpWindowName); + + [DllImport("user32.dll")] + public static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey); + + [DllImport("user32.dll")] + public static extern bool SetWindowDisplayAffinity(IntPtr hwnd, Enums.DisplayAffinity affinity); + + [DllImport("user32.dll")] + public static extern int SetWindowCompositionAttribute(IntPtr hwnd, ref Structs.WindowCompositionAttributeData data); + } +} diff --git a/EZCube/EZCube/Classes/WndProcHook.cs b/EZCube/EZCube/Classes/WndProcHook.cs new file mode 100644 index 0000000..ee247fa --- /dev/null +++ b/EZCube/EZCube/Classes/WndProcHook.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace EZCube.Classes +{ + public class WndProcHook + { + #region Imports + [DllImport("user32.dll")] + public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam); + + [DllImport("user32.dll")] + private static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong); + + [DllImport("user32.dll", SetLastError = true)] + private static extern int GetWindowLong(IntPtr hWnd, int nIndex); + + private enum GWL + { + GWL_WNDPROC = (-4), + GWL_HINSTANCE = (-6), + GWL_HWNDPARENT = (-8), + GWL_STYLE = (-16), + GWL_EXSTYLE = (-20), + GWL_USERDATA = (-21), + GWL_ID = (-12) + } + #endregion + + public delegate IntPtr WndProcDelegate(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam); + public IntPtr WindowHandle; + public IntPtr OriginalWndProc; + + public WndProcHook(IntPtr hwnd, WndProcDelegate wndProcDelegate) + { + WindowHandle = hwnd; + OriginalWndProc = (IntPtr)GetWindowLong(WindowHandle, (int)GWL.GWL_WNDPROC); + SetWindowLong(WindowHandle, (int)GWL.GWL_WNDPROC, Marshal.GetFunctionPointerForDelegate(wndProcDelegate).ToInt32()); + } + + public WndProcHook(IntPtr hwnd, IntPtr wndProcDelegate) + { + WindowHandle = hwnd; + OriginalWndProc = (IntPtr)GetWindowLong(WindowHandle, (int)WinAPI.GWL.GWL_WNDPROC); + SetWindowLong(WindowHandle, (int)GWL.GWL_WNDPROC, (int)wndProcDelegate); + } + + public void Restore() + { + SetWindowLong(WindowHandle, (int)GWL.GWL_WNDPROC, (int)OriginalWndProc); + } + } +} diff --git a/EZCube/EZCube/EZCube.csproj b/EZCube/EZCube/EZCube.csproj new file mode 100644 index 0000000..8e44a33 --- /dev/null +++ b/EZCube/EZCube/EZCube.csproj @@ -0,0 +1,293 @@ + + + + + + Debug + AnyCPU + {A1A07A23-9E45-4968-A82E-6F4AD3B5669A} + WinExe + EZCube + EZCube + v4.7.2 + 512 + true + true + + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + app.manifest + + + cube-icon-512x512-4al892h8.ico + + + + F:\Developer\Coding\Dlls\BunifuUIs\Bunifu_UI_v1.5.4.dll + + + ..\packages\Costura.Fody.5.4.0\lib\netstandard1.0\Costura.dll + + + ..\packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll + True + True + + + F:\Developer\Coding\Dlls\NullMemory.dll + + + F:\Developer\Coding\Dlls\Siticone.UI.dll + + + + ..\packages\System.AppContext.4.3.0\lib\net463\System.AppContext.dll + True + True + + + + ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll + True + True + + + + ..\packages\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll + + + ..\packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll + True + True + + + ..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll + True + True + + + ..\packages\System.IO.4.3.0\lib\net462\System.IO.dll + True + True + + + ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll + True + True + + + + ..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll + True + True + + + ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll + True + True + + + ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll + True + True + + + ..\packages\System.Linq.4.3.0\lib\net463\System.Linq.dll + True + True + + + ..\packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll + True + True + + + + ..\packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll + True + True + + + ..\packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll + True + True + + + + ..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll + True + True + + + ..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll + True + True + + + ..\packages\System.Runtime.Extensions.4.3.0\lib\net462\System.Runtime.Extensions.dll + True + True + + + ..\packages\System.Runtime.InteropServices.4.3.0\lib\net463\System.Runtime.InteropServices.dll + True + True + + + ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll + True + True + + + ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll + True + True + + + ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll + True + True + + + ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll + True + True + + + ..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll + True + True + + + ..\packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll + True + True + + + + + + + + + + + ..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll + True + True + + + + + + + + + + + + + + + + + + + + Form + + + MainForm.cs + + + UserControl + + + TabAiming.cs + + + UserControl + + + TabMiscs.cs + + + + UserControl + + + TabVisuals.cs + + + + + MainForm.cs + + + TabAiming.cs + + + TabMiscs.cs + + + TabVisuals.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + Bu proje bu bilgisayarda olmayan NuGet paketlerine başvuru yapıyor. Bunları indirmek için NuGet Paket Geri Yükleme'yi kullanın. Daha fazla bilgi için, bkz. http://go.microsoft.com/fwlink/?LinkID=322105. Eksik dosya: {0}. + + + + + + + \ No newline at end of file diff --git a/EZCube/EZCube/FodyWeavers.xml b/EZCube/EZCube/FodyWeavers.xml new file mode 100644 index 0000000..5029e70 --- /dev/null +++ b/EZCube/EZCube/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/EZCube/EZCube/FodyWeavers.xsd b/EZCube/EZCube/FodyWeavers.xsd new file mode 100644 index 0000000..05e92c1 --- /dev/null +++ b/EZCube/EZCube/FodyWeavers.xsd @@ -0,0 +1,141 @@ + + + + + + + + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with line breaks. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with line breaks. + + + + + The order of preloaded assemblies, delimited with line breaks. + + + + + + This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. + + + + + Controls if .pdbs for reference assemblies are also embedded. + + + + + Controls if runtime assemblies are also embedded. + + + + + Controls whether the runtime assemblies are embedded with their full path or only with their assembly name. + + + + + Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. + + + + + As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. + + + + + Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. + + + + + Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with |. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with |. + + + + + The order of preloaded assemblies, delimited with |. + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/EZCube/EZCube/Forms/MainForm.Designer.cs b/EZCube/EZCube/Forms/MainForm.Designer.cs new file mode 100644 index 0000000..4b34f89 --- /dev/null +++ b/EZCube/EZCube/Forms/MainForm.Designer.cs @@ -0,0 +1,228 @@ + +namespace EZCube.Forms +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + this.btnClose = new Siticone.UI.WinForms.SiticoneControlBox(); + this.btnMinimaze = new Siticone.UI.WinForms.SiticoneControlBox(); + this.plMenu = new System.Windows.Forms.Panel(); + this.btnEasyCube = new Siticone.UI.WinForms.SiticoneButton(); + this.btnMiscs = new Siticone.UI.WinForms.SiticoneButton(); + this.btnAiming = new Siticone.UI.WinForms.SiticoneButton(); + this.btnVisuals = new Siticone.UI.WinForms.SiticoneButton(); + this.siticoneSeparator1 = new Siticone.UI.WinForms.SiticoneSeparator(); + this.plPage = new System.Windows.Forms.Panel(); + this.lblProgram = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.siticoneSeparator2 = new Siticone.UI.WinForms.SiticoneSeparator(); + this.plMenu.SuspendLayout(); + this.SuspendLayout(); + // + // btnClose + // + this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnClose.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25))))); + this.btnClose.HoveredState.Parent = this.btnClose; + this.btnClose.IconColor = System.Drawing.Color.White; + this.btnClose.Location = new System.Drawing.Point(460, 12); + this.btnClose.Name = "btnClose"; + this.btnClose.ShadowDecoration.Parent = this.btnClose; + this.btnClose.Size = new System.Drawing.Size(45, 29); + this.btnClose.TabIndex = 0; + // + // btnMinimaze + // + this.btnMinimaze.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnMinimaze.ControlBoxType = Siticone.UI.WinForms.Enums.ControlBoxType.MinimizeBox; + this.btnMinimaze.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25))))); + this.btnMinimaze.HoveredState.Parent = this.btnMinimaze; + this.btnMinimaze.IconColor = System.Drawing.Color.White; + this.btnMinimaze.Location = new System.Drawing.Point(415, 12); + this.btnMinimaze.Name = "btnMinimaze"; + this.btnMinimaze.ShadowDecoration.Parent = this.btnMinimaze; + this.btnMinimaze.Size = new System.Drawing.Size(45, 29); + this.btnMinimaze.TabIndex = 1; + // + // plMenu + // + this.plMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(57)))), ((int)(((byte)(57))))); + this.plMenu.Controls.Add(this.btnEasyCube); + this.plMenu.Controls.Add(this.btnMiscs); + this.plMenu.Controls.Add(this.btnAiming); + this.plMenu.Controls.Add(this.btnVisuals); + this.plMenu.Controls.Add(this.siticoneSeparator1); + this.plMenu.Dock = System.Windows.Forms.DockStyle.Left; + this.plMenu.Location = new System.Drawing.Point(0, 0); + this.plMenu.Name = "plMenu"; + this.plMenu.Size = new System.Drawing.Size(67, 450); + this.plMenu.TabIndex = 2; + // + // btnEasyCube + // + this.btnEasyCube.CheckedState.Parent = this.btnEasyCube; + this.btnEasyCube.CustomImages.Parent = this.btnEasyCube; + this.btnEasyCube.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(57)))), ((int)(((byte)(57))))); + this.btnEasyCube.Font = new System.Drawing.Font("Segoe UI Semibold", 12F); + this.btnEasyCube.ForeColor = System.Drawing.Color.White; + this.btnEasyCube.HoveredState.Parent = this.btnEasyCube; + this.btnEasyCube.Image = ((System.Drawing.Image)(resources.GetObject("btnEasyCube.Image"))); + this.btnEasyCube.ImageSize = new System.Drawing.Size(25, 25); + this.btnEasyCube.Location = new System.Drawing.Point(11, 12); + this.btnEasyCube.Name = "btnEasyCube"; + this.btnEasyCube.ShadowDecoration.Parent = this.btnEasyCube; + this.btnEasyCube.Size = new System.Drawing.Size(43, 45); + this.btnEasyCube.TabIndex = 6; + this.btnEasyCube.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; + // + // btnMiscs + // + this.btnMiscs.CheckedState.Parent = this.btnMiscs; + this.btnMiscs.CustomImages.Parent = this.btnMiscs; + this.btnMiscs.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(57)))), ((int)(((byte)(57))))); + this.btnMiscs.Font = new System.Drawing.Font("Segoe UI Semibold", 12F); + this.btnMiscs.ForeColor = System.Drawing.Color.White; + this.btnMiscs.HoveredState.Parent = this.btnMiscs; + this.btnMiscs.Image = ((System.Drawing.Image)(resources.GetObject("btnMiscs.Image"))); + this.btnMiscs.ImageSize = new System.Drawing.Size(25, 25); + this.btnMiscs.Location = new System.Drawing.Point(12, 181); + this.btnMiscs.Name = "btnMiscs"; + this.btnMiscs.ShadowDecoration.Parent = this.btnMiscs; + this.btnMiscs.Size = new System.Drawing.Size(43, 45); + this.btnMiscs.TabIndex = 5; + this.btnMiscs.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; + this.btnMiscs.Click += new System.EventHandler(this.btnMiscs_Click); + // + // btnAiming + // + this.btnAiming.CheckedState.Parent = this.btnAiming; + this.btnAiming.CustomImages.Parent = this.btnAiming; + this.btnAiming.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(57)))), ((int)(((byte)(57))))); + this.btnAiming.Font = new System.Drawing.Font("Segoe UI Semibold", 12F); + this.btnAiming.ForeColor = System.Drawing.Color.White; + this.btnAiming.HoveredState.Parent = this.btnAiming; + this.btnAiming.Image = ((System.Drawing.Image)(resources.GetObject("btnAiming.Image"))); + this.btnAiming.ImageSize = new System.Drawing.Size(25, 25); + this.btnAiming.Location = new System.Drawing.Point(11, 130); + this.btnAiming.Name = "btnAiming"; + this.btnAiming.ShadowDecoration.Parent = this.btnAiming; + this.btnAiming.Size = new System.Drawing.Size(43, 45); + this.btnAiming.TabIndex = 4; + this.btnAiming.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; + this.btnAiming.Click += new System.EventHandler(this.btnAiming_Click); + // + // btnVisuals + // + this.btnVisuals.CheckedState.Parent = this.btnVisuals; + this.btnVisuals.CustomImages.Parent = this.btnVisuals; + this.btnVisuals.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(57)))), ((int)(((byte)(57))))); + this.btnVisuals.Font = new System.Drawing.Font("Segoe UI Semibold", 12F); + this.btnVisuals.ForeColor = System.Drawing.Color.White; + this.btnVisuals.HoveredState.Parent = this.btnVisuals; + this.btnVisuals.Image = ((System.Drawing.Image)(resources.GetObject("btnVisuals.Image"))); + this.btnVisuals.ImageSize = new System.Drawing.Size(25, 25); + this.btnVisuals.Location = new System.Drawing.Point(11, 79); + this.btnVisuals.Name = "btnVisuals"; + this.btnVisuals.ShadowDecoration.Parent = this.btnVisuals; + this.btnVisuals.Size = new System.Drawing.Size(43, 45); + this.btnVisuals.TabIndex = 3; + this.btnVisuals.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; + this.btnVisuals.Click += new System.EventHandler(this.btnVisuals_Click); + // + // siticoneSeparator1 + // + this.siticoneSeparator1.Location = new System.Drawing.Point(11, 63); + this.siticoneSeparator1.Name = "siticoneSeparator1"; + this.siticoneSeparator1.Size = new System.Drawing.Size(44, 10); + this.siticoneSeparator1.TabIndex = 3; + // + // plPage + // + this.plPage.Dock = System.Windows.Forms.DockStyle.Bottom; + this.plPage.Location = new System.Drawing.Point(67, 79); + this.plPage.Name = "plPage"; + this.plPage.Size = new System.Drawing.Size(450, 371); + this.plPage.TabIndex = 3; + // + // lblProgram + // + this.lblProgram.Font = new System.Drawing.Font("Segoe UI Semibold", 14F); + this.lblProgram.ForeColor = System.Drawing.Color.White; + this.lblProgram.Location = new System.Drawing.Point(73, 12); + this.lblProgram.Name = "lblProgram"; + this.lblProgram.Size = new System.Drawing.Size(432, 45); + this.lblProgram.TabIndex = 10; + this.lblProgram.Text = "Easy Cube"; + this.lblProgram.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // siticoneSeparator2 + // + this.siticoneSeparator2.Location = new System.Drawing.Point(76, 63); + this.siticoneSeparator2.Name = "siticoneSeparator2"; + this.siticoneSeparator2.Size = new System.Drawing.Size(429, 10); + this.siticoneSeparator2.TabIndex = 7; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25))))); + this.ClientSize = new System.Drawing.Size(517, 450); + this.Controls.Add(this.btnMinimaze); + this.Controls.Add(this.btnClose); + this.Controls.Add(this.siticoneSeparator2); + this.Controls.Add(this.lblProgram); + this.Controls.Add(this.plPage); + this.Controls.Add(this.plMenu); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Name = "MainForm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "MainForm"; + this.Load += new System.EventHandler(this.MainForm_Load); + this.plMenu.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private Siticone.UI.WinForms.SiticoneControlBox btnClose; + private Siticone.UI.WinForms.SiticoneControlBox btnMinimaze; + private System.Windows.Forms.Panel plMenu; + private Siticone.UI.WinForms.SiticoneSeparator siticoneSeparator1; + private Siticone.UI.WinForms.SiticoneButton btnEasyCube; + private Siticone.UI.WinForms.SiticoneButton btnMiscs; + private Siticone.UI.WinForms.SiticoneButton btnAiming; + private Siticone.UI.WinForms.SiticoneButton btnVisuals; + private System.Windows.Forms.Panel plPage; + private Bunifu.Framework.UI.BunifuCustomLabel lblProgram; + private Siticone.UI.WinForms.SiticoneSeparator siticoneSeparator2; + } +} \ No newline at end of file diff --git a/EZCube/EZCube/Forms/MainForm.cs b/EZCube/EZCube/Forms/MainForm.cs new file mode 100644 index 0000000..d941e77 --- /dev/null +++ b/EZCube/EZCube/Forms/MainForm.cs @@ -0,0 +1,324 @@ +using EZCube.Classes; +using EZCube.Classes.SDK.Entities; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Numerics; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using static Globals; + +namespace EZCube.Forms +{ + public partial class MainForm : Form + { + public MainForm() + { + InitializeComponent(); + plPage.ChangePage(Tabs.Tabs.Visuals); + this.ChangeTheme(new Classes.Variables.Structs.AccentPolicy { AccentState = Classes.Variables.Enums.AccentState.ACCENT_ENABLE_HOSTBACKDROP }, true); + new Utils.DragObj(this, this); + new Utils.DragObj(this, lblProgram); + new Utils.DragObj(this, plPage); + new Utils.DragObj(this, plMenu); + } + + private void MainForm_Load(object sender, EventArgs e) + { + if(Process.GetProcessesByName("ac_client").Length != 0) + { + Globals.mem.Initialize(); + Globals.overlay.LockWindow(Process.GetProcessesByName("ac_client").FirstOrDefault(), true); + Globals.overlay.Draw(new PaintEventHandler(DrawOverlay), Overlay.EventInsertionType.ADD); + Globals.overlay.Run(); + } + else + { + MessageBox.Show("Please first open assault cube!", "EasyCube", MessageBoxButtons.OK, MessageBoxIcon.Information); + Environment.Exit(0); + } + } + + private void btnVisuals_Click(object sender, EventArgs e) + { + plPage.ChangePage(Tabs.Tabs.Visuals); + } + private void btnAiming_Click(object sender, EventArgs e) + { + plPage.ChangePage(Tabs.Tabs.Aiming); + } + + private void btnMiscs_Click(object sender, EventArgs e) + { + plPage.ChangePage(Tabs.Tabs.Miscs); + } + + List Players = new List(); + bool IsDead = false; + private void DrawOverlay(object sender, PaintEventArgs e) + { + try + { + if (Process.GetProcessesByName("ac_client").Length == 0) + Environment.Exit(0); + + e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; + + Players.Clear(); + Player ClosestPlayer = default(Player); + Vector2 Crosshair = new Vector2(overlay.CenterX, overlay.CenterY); + float Dist = 99999f; + + Player LocalPlayer = new Player(mem.Read(Offsets.Client + Offsets.LocalPlayer)); + int EntityList = mem.Read(Offsets.Client + Offsets.EntityList); + int NumPlayers = mem.Read(Offsets.Client + Offsets.PlayersCount); + for (int i = 0; i < NumPlayers; i++) + { + Player Entity = new Player(mem.Read(EntityList + (i * 0x04))); + if (Entity == LocalPlayer) continue; + if (Entity.Health < 1) continue; + Players.Add(Entity); + float[] Viewmatrix = mem.ReadMatrix(Offsets.Viewmatrix, 16); + if (WorldToScreen(Entity.FootPosition, out Vector2 footPos, Viewmatrix, overlay.Width, overlay.Height) && WorldToScreen(Entity.HeadPosition, out Vector2 headPos, Viewmatrix, overlay.Width, overlay.Height)) + { + float height = Math.Abs(headPos.Y - footPos.Y); + float width = height / 2; + int offset = 20; + if (width == 0) continue; + SizeF textSize = e.Graphics.MeasureString(Entity.Name, new Font("Consolas", width / 6)); + int distance = (int)Vector3.Distance(LocalPlayer.FootPosition, Entity.FootPosition); + SizeF DistTextSize = e.Graphics.MeasureString(distance.ToString(), new Font("Consolas", width / 6)); + + if (Settings.Snaplines) + { + if (Settings.Snaplines_Outline) + { + e.Graphics.DrawLine(new Pen(Color.Black, 3f), overlay.CenterX, overlay.Height, footPos.X, footPos.Y); + } + e.Graphics.DrawLine(Entity.Team == Classes.SDK.Variables.Enums.Team.CLA ? Pens.Red : Pens.Blue, overlay.CenterX, overlay.Height, footPos.X, footPos.Y); + } + if (Settings.Distance) + { + e.Graphics.DrawString(distance.ToString(), new Font("Consolas", width / 6), Brushes.White, footPos.X - DistTextSize.Width / 2, footPos.Y); + } + if (Settings.ESP_Name) + { + e.Graphics.DrawString(Entity.Name, new Font("Consolas", width / 6), Brushes.White/*Entity.Team == Classes.SDK.Variables.Enums.Team.CLA ? Brushes.Red : Brushes.Blue*/, footPos.X - textSize.Width / 2, headPos.Y - (offset + 5) - textSize.Height); + } + if (Settings.ESP) + { + if (Settings.ESP_Outline) + { + e.Graphics.DrawRectangle(new Pen(Color.Black, 3f), headPos.X - width / 2, headPos.Y - offset, width, height + offset); + } + e.Graphics.DrawRectangle(Entity.Team == Classes.SDK.Variables.Enums.Team.CLA ? Pens.Red : Pens.Blue, headPos.X - width / 2, headPos.Y - offset, width, height + offset); + } + if (Settings.ESP_Health) + { + if (Settings.ESP_Health_Outline) + { + e.Graphics.DrawRectangle(Pens.Black, headPos.X - width / 2 - width / 4, headPos.Y - offset, width / 6, (height + offset)); + } + e.Graphics.FillRectangle(Brushes.Green, headPos.X - width / 2 - width / 4, headPos.Y - offset, width / 6, (height + offset) / 100 * Entity.Health); + } + if (Settings.ESP_Armor) + { + if (Entity.Armor != 0) + { + if (Settings.ESP_Armor_Outline) + { + e.Graphics.DrawRectangle(Pens.Black, headPos.X - width / 2 + width / 8 + width, headPos.Y - offset, width / 6, (height + offset)); + } + e.Graphics.FillRectangle(Brushes.Gray, headPos.X - width / 2 + width / 8 + width, headPos.Y - offset, width / 6, (height + offset) / 100 * Entity.Armor); + } + } + + if (Settings.Aimbot) + { + if (Entity.Team != LocalPlayer.Team) + { + float EntDist = Vector2.Distance(Crosshair, headPos); + if (EntDist > -Settings.Aimbot_FOV / 2 && EntDist < Settings.Aimbot_FOV / 2) + { + if (EntDist < Dist) + { + ClosestPlayer = Entity; + Dist = EntDist; + } + } + } + } + } + } + + if (Settings.TriggerBot) + { + bool shoot = true; + string onCrosshairTarget = mem.ReadStringASCII(Offsets.CrosshairTarget, 17).Trim(); + if (onCrosshairTarget != string.Empty) + { + foreach (Player plr in Players) + { + if (plr.Team != LocalPlayer.Team) continue; + if (plr.Name.Trim() == onCrosshairTarget) + { + shoot = false; + } + } + + if (shoot) + mem.Write(LocalPlayer.Address + Offsets.ForceAttack, 1); + } + else + { + mem.Write(LocalPlayer.Address + Offsets.ForceAttack, 0); + } + mem.Write(Offsets.CrosshairTarget, 0); // Reset Target On Crosshair Name + } + if (Settings.RapidFire) + { + if (LocalPlayer.CurrentWeapon().DelayTime != 0) + { + LocalPlayer.CurrentWeapon().DelayTime = 0; + } + } + if (Settings.InfiniteAmmo) + { + if (LocalPlayer.CurrentWeapon().Ammo < 1) + { + LocalPlayer.CurrentWeapon().Ammo = 30; + } + } + if (Settings.Watermark) + { + e.Graphics.DrawString(Settings.Watermark_Text, new Font("Consolas", 12f), Brushes.White, 10, 10); + } + if (Settings.Aimbot_FOV_Draw) + { + e.Graphics.DrawEllipse(Pens.White, overlay.CenterX - Settings.Aimbot_FOV / 2, overlay.CenterY - Settings.Aimbot_FOV / 2, Settings.Aimbot_FOV, Settings.Aimbot_FOV); + } + if (Settings.Aimbot) + { + if (ClosestPlayer != null && Utils.IsKeyPushedDown(Keys.RButton)) + { + float dx = ClosestPlayer.HeadPosition.X - LocalPlayer.HeadPosition.X; + float dy = ClosestPlayer.HeadPosition.Y - LocalPlayer.HeadPosition.Y; + double angleYaw = Math.Atan2(dy, dx) * 180 / Math.PI; + + //calculate verticle angle between enemy and player (pitch) + double distance = Math.Sqrt(dx * dx + dy * dy); + float dz = 0f; + if (Settings.Aimbot_Hitbox == Classes.SDK.Variables.Enums.Hitbox.Head) + { + dz = ClosestPlayer.HeadPosition.Z - LocalPlayer.HeadPosition.Z; + } + else if (Settings.Aimbot_Hitbox == Classes.SDK.Variables.Enums.Hitbox.Body) + { + dz = ClosestPlayer.HeadPosition.Z - LocalPlayer.HeadPosition.Z - mem.Read(ClosestPlayer.Address + Offsets.Height) / 2 + 1.3f; + } + else if (Settings.Aimbot_Hitbox == Classes.SDK.Variables.Enums.Hitbox.Foot) + { + dz = ClosestPlayer.HeadPosition.Z - LocalPlayer.HeadPosition.Z - mem.Read(ClosestPlayer.Address + Offsets.Height); + } + double anglePitch = Math.Atan2(dz, distance) * 180 / Math.PI; + + //set self angles to calculated angles + LocalPlayer.Yaw = (float)angleYaw + 90; + LocalPlayer.Pitch = (float)anglePitch; + } + } + if (Settings.Crosshair) + { + mem.Write(0x50F20C, 0f); + e.Graphics.DrawLine(Pens.Red, overlay.CenterX - 10, overlay.CenterY, overlay.CenterX - 5, overlay.CenterY); + e.Graphics.DrawLine(Pens.Red, overlay.CenterX + 10, overlay.CenterY, overlay.CenterX + 5, overlay.CenterY); + e.Graphics.DrawLine(Pens.Red, overlay.CenterX, overlay.CenterY - 10, overlay.CenterX, overlay.CenterY - 5); + e.Graphics.DrawLine(Pens.Red, overlay.CenterX, overlay.CenterY + 10, overlay.CenterX, overlay.CenterY + 5); + } + else + { + mem.Write(0x50F20C, 15); + } + + if (Settings.InfiniteHealth) + { + LocalPlayer.Health = 1337; + } + if (Settings.InfiniteArmor) + { + LocalPlayer.Armor = 1337; + } + //if(Settings.Speed) + //{ + // if (Utils.IsKeyPushedDown(Keys.W)) + // { + // mem.Write(LocalPlayer.Address + Offsets.ForceMovement, 2); + // } + // //Console.WriteLine(LocalPlayer.Health); // RESPAWN WHERE DIED + INSTANT REVIVE + // //if(mem.Read(LocalPlayer.Address + 0x0338) != 0) // https://guidedhacking.com/threads/assault-cube-find-if-entity-is-dead.12843/ + // //{ + // // mem.Write(LocalPlayer.Address + 0x0338, 0); + // // mem.Write(LocalPlayer.Address + Offsets.ForceMovement, 2); + // // mem.Write(LocalPlayer.Address + Offsets.ForceMovement, 0); + // //} + //} + + if (Settings.Telekill || Settings.TeleportEnemies) + { + Vector3 oldFootPos = LocalPlayer.FootPosition; + foreach (Player plr in Players) + { + if (plr.Team == LocalPlayer.Team) continue; + if (Settings.Telekill) + { + LocalPlayer.FootPosition = plr.FootPosition; + } + else if (Settings.TeleportEnemies) + { + plr.FootPosition = LocalPlayer.FootPosition; + } + } + } + + if (Utils.IsKeyPushedDown(Keys.Space)) + { + if (Settings.Fly) + { + mem.Write(LocalPlayer.Address + 0x69, -1); + } + else if (Settings.BunnyHop) + { + mem.Write(LocalPlayer.Address + 0x69, 65536); + } + } + } catch { } + } + + public static bool WorldToScreen(Vector3 position, out Vector2 screen, float[] matrix, int windowWidth, int windowHeight) + { + screen = new Vector2(-1, -1); + + Vector4 clipCoords; + clipCoords.X = position.X * matrix[0] + position.Y * matrix[4] + position.Z * matrix[8] + matrix[12]; + clipCoords.Y = position.X * matrix[1] + position.Y * matrix[5] + position.Z * matrix[9] + matrix[13]; + clipCoords.Z = position.X * matrix[2] + position.Y * matrix[6] + position.Z * matrix[10] + matrix[14]; + clipCoords.W = position.X * matrix[3] + position.Y * matrix[7] + position.Z * matrix[11] + matrix[15]; + + if (clipCoords.W < 0.1f) return false; + + Vector3 NDC; + NDC.X = clipCoords.X / clipCoords.W; + NDC.Y = clipCoords.Y / clipCoords.W; + NDC.Z = clipCoords.Z / clipCoords.W; + + screen.X = (windowWidth / 2 * NDC.X) + (NDC.X + windowWidth / 2); + screen.Y = -(windowHeight / 2 * NDC.Y) + (NDC.Y + windowHeight / 2); + return true; + } + } +} diff --git a/EZCube/EZCube/Forms/MainForm.resx b/EZCube/EZCube/Forms/MainForm.resx new file mode 100644 index 0000000..f990145 --- /dev/null +++ b/EZCube/EZCube/Forms/MainForm.resx @@ -0,0 +1,236 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGPC/xhBQAAARlJREFUSEut + ljFKA1EURYM2IrYWugFXYGEl2Fm7htR2rkNwFXaCa7CwcAdWVoI2GqwsxvNv7kgmmSfEmwOXzLx//3np + kknXdZ8k5YNcTCrmHZVOPFqbdpe8kiuPhnDQ80XOPF4b7h6SJ3JLdjyew2CRdNEeuScPZN/jlSWNdNE2 + uSHP5KgfjhEtanD/kryR02rJJpn9ucRfKkIe2Qrci5BHtgL3IuSRrcC9CHlkK3AvQh7ZCtyLkEe2Avci + 5JGtwL0IeWQrcC9CHtkK3IuQh5Q/Wu5FyEPOyXd7Wca9iF8Pn9P2sowOQwYenq/bYBEfRQw8PG+Ruzbs + 8VHEiof3XfLYDhoeR4x6mB2Ql9HDf1B6mB+TTfwfg+79B5mUg6dDhQXaAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGPC/xhBQAAAExJREFUSEtj + GAUkgf///zvQGoMsoTmgmyVYvUhNDI2ZUTCYADBiDtAa0y0JY7WdmhgaaKNgMAFgxGAtb6iJ6ZaEaQ7o + E1yjgHjAwAAAq/3w+CrmypAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGPC/xhBQAAARZJREFUSEvt + kr1KA1EQRrdNm05II3kBK8HeN7AQ8hZamGrLgOJPIaQIiE16C8E38CmMWwgBQRQLLUSE9UzmE6LuXe5m + txDJgQN75858xZ1Nlvxd8jzfxX18wCc81LmqF2hc4Y7iHa83j+Id1co4xr48sUIMindUK2OIX09i31Eo + 3lGtcRTvcLZlN82j4h0KLTyYXRXzji9oPbaXM7zTd5Ebiv4OF20MMcJLTNVruxnMBqvA0BaGOMUuXuM6 + Zrim0TgYsOe6xRBTnP+7bjQaD0NHGGKMP998U6NxMNDBNwyxqtbFIST1rEIytdWDIFtmiHO11YOge88r + pKe2ehD06nm/+MAVtdWDoG2cWOocz7inliX/iiT5BD+AxSntFlB2AAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGPC/xhBQAAAWFJREFUSEvt + k7tKA1EURRONkSA+PicmBmzFTizFSkF8QbAWWxuxl4Cg2Grj4y8URVttDD5+QMHHuPa9JzEzmQxTaTML + Fpm7z76XSTKTy8j4H4Ig6McqjlgUQrnN+yxKD5uKuIwPOGNxLMxn8R6XsGhxMhR1Z3coDi12sJ7AOlYt + crA+QnGL4xZ3wzCPW/iJLWo21nzdR45vXLWRZpMu9XzgJuZt7CEo4QlGGbWKOk0ftXm0kWZjPgpxjKVW + YRAvlMYw5ErA9ZOP2jRtpNmwj7o4w6IKi24ZT8XOUS/p56q5NJ4FFfQknbtlNw07x8G61x+/j3Gcon/i + dIENpRH0EEy5Ug+YT+OXyhH2cMBqvxBuYOfTJd5wBUMbWOvG1vAdO9H+utXioVDBa7UjPOMBbtvnC0a5 + wrIdlQzFAs6jXq403OAcFuyI9LBJL6i+2S7qLl9R6PMSd7CM4RcvI+OPyOV+AJDJ1eARUPW4AAAAAElF + TkSuQmCC + + + + + AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREDERE + RFdERETKREREykRERFdEREQMREREAERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREC0RE + RExERESyRERE9ERERP9ERET/RERE80RERLFERERMREREC0RERABEREQAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREC0RE + RExERESzRERE9kRERP5ERETUREREjUREROlERET/RERE/0RERPRERESzRERETERERAtEREQAREREAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREC0RE + RExERESzRERE9kRERP5ERETWREREdURERBtEREQfRERE4ERERP9ERET/RERE/0RERP9ERET0REREs0RE + RExEREQLREREAERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREC0RE + RExERESzRERE9kRERP5ERETWREREdURERB1DQ0MAREREAERERB9ERETgRERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE9ERERLNERERMREREC0RERABEREQAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREC0RE + RExERESzRERE9kRERP5ERETWREREdURERB1DQ0MAREREAAAAAABEREQAREREH0REROBERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERPRERESzRERETERERAtEREQAREREAAAAAABEREQAREREC0RE + RExERESzRERE9kRERP5ERETWREREdURERB1DQ0MAREREAAAAAAAAAAAAAAAAAERERABEREQfRERE4ERE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET0REREs0RERExEREQLREREAERE + RFNERESyRERE9kRERP5ERETWREREdURERB1DQ0MAREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAREREAERE + RB9ERETgRERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE9ERE + RLFERERTRERE+ERERP5ERETWREREdURERB1DQ0MAREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AABEREQAREREH0REROBERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERPhERET/RERE6ERERDREREQAREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAERERABEREQfRERE4ERERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9EREThREREIERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAREREAERERB9ERETgRERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0REROFEREQgREREAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEREQAREREH0REROBERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE4URERCBEREQAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQfRERE4ERERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9EREThREREIERE + RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAREREAERERB9ERETgRERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + ROFEREQgREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEREQAREREH0RE + ROBERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE4URERCBEREQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERE + RABEREQfRERE4ERERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9EREThREREIERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAREREAERERB9ERETgRERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0REROFEREQgREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAABEREQAREREH0REROBERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE4URERCBEREQAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQfRERE4ERERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9EREThREREIERERAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAREREAERERB9ERETgRERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0REROFEREQgREREAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAREREAERERAFEREQSREREWEREROxERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE4URE + RCBEREQAAAAAAAAAAAAAAAAAAAAAAAAAAABEREQAREREAERERBBERERBREREiURERM5ERET3RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9EREThREREIERERAAAAAAAAAAAAERERABEREQAREREDkRERDxERESDREREyURERPVERET/RERE+ERE + RNBERESQRERElERERNhERET7RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0REROFEREQgREREAEVFRQBEREQMREREN0RERHxERETERERE80RERP9ERET4RERE0ERE + RI5ERERHREREFURERAFEREQCREREHERERFxERESrRERE50RERP5ERET/RERE/0RERP9ERET/RERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE4URERClEREQwREREdkRERL5ERETxRERE/0RERPhERETRREREjkRE + REdEREQVREREAURERAAAAAAAAAAAAAAAAABEREQAREREAERERAZEREQtREREdURERMJERETzRERE/0RE + RP9ERET/RERE/0RERP9ERET/RERE/0RERP9ERETzRERExkREROtERET/RERE+ERERNFERESORERER0RE + RBVEREQBREREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQAREREDkRE + REFERESPRERE1URERPlERET/RERE/0RERP9ERET/RERE/0RERP9ERET/RERE+kRERLFERERPREREElVV + VQBEREQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAREREAERERABEREQaREREaURERNZERET/RERE/0RERP9ERETwRERE/URERP9ERET9RERE4URE + RLJERER8RERERkRERBxEREQFREREAERERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AABEREQAREREAURERBFEREQzREREZERERJlERETJRERE8kRERP9ERET9RERE8ERERDZERERjREREm0RE + RMxERETwRERE/kRERP9ERET5RERE3ERERKxERERzREREPURERBZEREQDREREAAAAAAAAAAAAREREAERE + RAFEREQRREREM0RERGRERESbREREzURERPFERET/RERE/0RERPFERETNREREm0RERGNEREQ2AAAAAERE + RABEREQBREREEURERDNERERkREREm0RERMxERETwRERE/0RERP9ERET2RERE1ERERKJERERoRERENURE + RDRERERkREREm0RERM1ERETxRERE/0RERP9ERETxREREzURERJtERERkREREM0RERBFEREQBREREAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQBREREEURERDNERERjREREmkRERMtERETvRERE/kRE + RP5ERETwRERE8ERERP5ERET+RERE70RERMtERESaREREY0RERDNEREQRREREAURERAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAERERABEREQCREREE0RE + RDpERERyREREsUREROhERETpREREsURERHJEREQ6REREE0RERAJEREQAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAA//gf///gB///gAH//gAAf/gGAB/gHgAHgH4AAQH+AAAH/gAAH/4AAB/+ + AAAf/gAAH/4AAB/+AAAf/gAAH/4AAB/+AAAf/gAAH/4AAB/+AAAf+AAAH+AAAB8AAAAYAAAAAAPwAAAf + /gAB///AAD/8AAADwADAAAAD/AAAP//AA/8= + + + \ No newline at end of file diff --git a/EZCube/EZCube/Forms/Tabs/TabAiming.Designer.cs b/EZCube/EZCube/Forms/Tabs/TabAiming.Designer.cs new file mode 100644 index 0000000..03e0e07 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabAiming.Designer.cs @@ -0,0 +1,261 @@ + +namespace EZCube.Forms.Tabs +{ + partial class TabAiming + { + /// + ///Gerekli tasarımcı değişkeni. + /// + private System.ComponentModel.IContainer components = null; + + /// + ///Kullanılan tüm kaynakları temizleyin. + /// + ///yönetilen kaynaklar dispose edilmeliyse doğru; aksi halde yanlış. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Bileşen Tasarımcısı üretimi kod + + /// + /// Tasarımcı desteği için gerekli metot - bu metodun + ///içeriğini kod düzenleyici ile değiştirmeyin. + /// + private void InitializeComponent() + { + this.lblAimbot = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbAimbot = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblAimbotFOV = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.lblAimbotFOVValue = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.tbAimbotFOV = new Siticone.UI.WinForms.SiticoneMetroTrackBar(); + this.lblAimbotDrawFOV = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbAimbotDrawFOV = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblHitboxSelection = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbHitboxSelection = new Siticone.UI.WinForms.SiticoneComboBox(); + this.lblTriggerBot = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbTriggerBot = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblInfAmmo = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbInfAmmo = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblRapidFire = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbRapidFire = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.SuspendLayout(); + // + // lblAimbot + // + this.lblAimbot.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblAimbot.ForeColor = System.Drawing.Color.White; + this.lblAimbot.Location = new System.Drawing.Point(13, 7); + this.lblAimbot.Name = "lblAimbot"; + this.lblAimbot.Size = new System.Drawing.Size(378, 22); + this.lblAimbot.TabIndex = 3; + this.lblAimbot.Text = "Aimbot"; + this.lblAimbot.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbAimbot + // + this.cbAimbot.Location = new System.Drawing.Point(397, 7); + this.cbAimbot.Name = "cbAimbot"; + this.cbAimbot.Size = new System.Drawing.Size(38, 22); + this.cbAimbot.TabIndex = 2; + this.cbAimbot.CheckedChanged += new System.EventHandler(this.cbAimbot_CheckedChanged); + // + // lblAimbotFOV + // + this.lblAimbotFOV.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblAimbotFOV.ForeColor = System.Drawing.Color.White; + this.lblAimbotFOV.Location = new System.Drawing.Point(29, 35); + this.lblAimbotFOV.Name = "lblAimbotFOV"; + this.lblAimbotFOV.Size = new System.Drawing.Size(362, 22); + this.lblAimbotFOV.TabIndex = 5; + this.lblAimbotFOV.Text = "FOV"; + this.lblAimbotFOV.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lblAimbotFOVValue + // + this.lblAimbotFOVValue.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblAimbotFOVValue.ForeColor = System.Drawing.Color.White; + this.lblAimbotFOVValue.Location = new System.Drawing.Point(397, 35); + this.lblAimbotFOVValue.Name = "lblAimbotFOVValue"; + this.lblAimbotFOVValue.Size = new System.Drawing.Size(38, 22); + this.lblAimbotFOVValue.TabIndex = 6; + this.lblAimbotFOVValue.Text = "9"; + this.lblAimbotFOVValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tbAimbotFOV + // + this.tbAimbotFOV.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(200)))), ((int)(((byte)(207))))); + this.tbAimbotFOV.HoveredState.Parent = this.tbAimbotFOV; + this.tbAimbotFOV.Location = new System.Drawing.Point(63, 35); + this.tbAimbotFOV.Maximum = 300; + this.tbAimbotFOV.Minimum = 1; + this.tbAimbotFOV.Name = "tbAimbotFOV"; + this.tbAimbotFOV.Size = new System.Drawing.Size(328, 22); + this.tbAimbotFOV.TabIndex = 7; + this.tbAimbotFOV.ThumbColor = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(113)))), ((int)(((byte)(255))))); + this.tbAimbotFOV.Value = 9; + this.tbAimbotFOV.ValueChanged += new System.EventHandler(this.tbAimbotFOV_ValueChanged); + // + // lblAimbotDrawFOV + // + this.lblAimbotDrawFOV.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblAimbotDrawFOV.ForeColor = System.Drawing.Color.White; + this.lblAimbotDrawFOV.Location = new System.Drawing.Point(29, 60); + this.lblAimbotDrawFOV.Name = "lblAimbotDrawFOV"; + this.lblAimbotDrawFOV.Size = new System.Drawing.Size(362, 22); + this.lblAimbotDrawFOV.TabIndex = 11; + this.lblAimbotDrawFOV.Text = "Draw FOV"; + this.lblAimbotDrawFOV.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbAimbotDrawFOV + // + this.cbAimbotDrawFOV.Location = new System.Drawing.Point(397, 60); + this.cbAimbotDrawFOV.Name = "cbAimbotDrawFOV"; + this.cbAimbotDrawFOV.Size = new System.Drawing.Size(38, 22); + this.cbAimbotDrawFOV.TabIndex = 10; + this.cbAimbotDrawFOV.CheckedChanged += new System.EventHandler(this.cbAimbotDrawFOV_CheckedChanged); + // + // lblHitboxSelection + // + this.lblHitboxSelection.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblHitboxSelection.ForeColor = System.Drawing.Color.White; + this.lblHitboxSelection.Location = new System.Drawing.Point(29, 88); + this.lblHitboxSelection.Name = "lblHitboxSelection"; + this.lblHitboxSelection.Size = new System.Drawing.Size(406, 36); + this.lblHitboxSelection.TabIndex = 13; + this.lblHitboxSelection.Text = "Hitbox Selection"; + this.lblHitboxSelection.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbHitboxSelection + // + this.cbHitboxSelection.BackColor = System.Drawing.Color.Transparent; + this.cbHitboxSelection.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); + this.cbHitboxSelection.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cbHitboxSelection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbHitboxSelection.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50))))); + this.cbHitboxSelection.FocusedColor = System.Drawing.Color.White; + this.cbHitboxSelection.Font = new System.Drawing.Font("Segoe UI", 10F); + this.cbHitboxSelection.ForeColor = System.Drawing.Color.White; + this.cbHitboxSelection.FormattingEnabled = true; + this.cbHitboxSelection.HoveredState.Parent = this.cbHitboxSelection; + this.cbHitboxSelection.ItemHeight = 30; + this.cbHitboxSelection.Items.AddRange(new object[] { + "Head", + "Body", + "Foot"}); + this.cbHitboxSelection.ItemsAppearance.Parent = this.cbHitboxSelection; + this.cbHitboxSelection.Location = new System.Drawing.Point(134, 88); + this.cbHitboxSelection.Name = "cbHitboxSelection"; + this.cbHitboxSelection.ShadowDecoration.Parent = this.cbHitboxSelection; + this.cbHitboxSelection.Size = new System.Drawing.Size(301, 36); + this.cbHitboxSelection.StartIndex = 0; + this.cbHitboxSelection.TabIndex = 14; + this.cbHitboxSelection.SelectedIndexChanged += new System.EventHandler(this.cbHitboxSelection_SelectedIndexChanged); + // + // lblTriggerBot + // + this.lblTriggerBot.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblTriggerBot.ForeColor = System.Drawing.Color.White; + this.lblTriggerBot.Location = new System.Drawing.Point(13, 166); + this.lblTriggerBot.Name = "lblTriggerBot"; + this.lblTriggerBot.Size = new System.Drawing.Size(378, 22); + this.lblTriggerBot.TabIndex = 16; + this.lblTriggerBot.Text = "Trigger Bot"; + this.lblTriggerBot.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbTriggerBot + // + this.cbTriggerBot.Location = new System.Drawing.Point(397, 166); + this.cbTriggerBot.Name = "cbTriggerBot"; + this.cbTriggerBot.Size = new System.Drawing.Size(38, 22); + this.cbTriggerBot.TabIndex = 15; + this.cbTriggerBot.CheckedChanged += new System.EventHandler(this.cbTriggerBot_CheckedChanged); + // + // lblInfAmmo + // + this.lblInfAmmo.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblInfAmmo.ForeColor = System.Drawing.Color.White; + this.lblInfAmmo.Location = new System.Drawing.Point(13, 194); + this.lblInfAmmo.Name = "lblInfAmmo"; + this.lblInfAmmo.Size = new System.Drawing.Size(378, 22); + this.lblInfAmmo.TabIndex = 18; + this.lblInfAmmo.Text = "Infinite Ammo"; + this.lblInfAmmo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbInfAmmo + // + this.cbInfAmmo.Location = new System.Drawing.Point(397, 194); + this.cbInfAmmo.Name = "cbInfAmmo"; + this.cbInfAmmo.Size = new System.Drawing.Size(38, 22); + this.cbInfAmmo.TabIndex = 17; + this.cbInfAmmo.CheckedChanged += new System.EventHandler(this.cbInfAmmo_CheckedChanged); + // + // lblRapidFire + // + this.lblRapidFire.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblRapidFire.ForeColor = System.Drawing.Color.White; + this.lblRapidFire.Location = new System.Drawing.Point(13, 222); + this.lblRapidFire.Name = "lblRapidFire"; + this.lblRapidFire.Size = new System.Drawing.Size(378, 22); + this.lblRapidFire.TabIndex = 20; + this.lblRapidFire.Text = "Rapid Fire"; + this.lblRapidFire.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbRapidFire + // + this.cbRapidFire.Location = new System.Drawing.Point(397, 222); + this.cbRapidFire.Name = "cbRapidFire"; + this.cbRapidFire.Size = new System.Drawing.Size(38, 22); + this.cbRapidFire.TabIndex = 19; + this.cbRapidFire.CheckedChanged += new System.EventHandler(this.cbRapidFire_CheckedChanged); + // + // TabAiming + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25))))); + this.Controls.Add(this.lblRapidFire); + this.Controls.Add(this.cbRapidFire); + this.Controls.Add(this.lblInfAmmo); + this.Controls.Add(this.cbInfAmmo); + this.Controls.Add(this.lblTriggerBot); + this.Controls.Add(this.cbTriggerBot); + this.Controls.Add(this.cbHitboxSelection); + this.Controls.Add(this.lblHitboxSelection); + this.Controls.Add(this.lblAimbotDrawFOV); + this.Controls.Add(this.cbAimbotDrawFOV); + this.Controls.Add(this.tbAimbotFOV); + this.Controls.Add(this.lblAimbotFOVValue); + this.Controls.Add(this.lblAimbotFOV); + this.Controls.Add(this.lblAimbot); + this.Controls.Add(this.cbAimbot); + this.Name = "TabAiming"; + this.Size = new System.Drawing.Size(450, 371); + this.ResumeLayout(false); + + } + + #endregion + + private Bunifu.Framework.UI.BunifuCustomLabel lblAimbot; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbAimbot; + private Bunifu.Framework.UI.BunifuCustomLabel lblAimbotFOV; + private Bunifu.Framework.UI.BunifuCustomLabel lblAimbotFOVValue; + private Siticone.UI.WinForms.SiticoneMetroTrackBar tbAimbotFOV; + private Bunifu.Framework.UI.BunifuCustomLabel lblAimbotDrawFOV; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbAimbotDrawFOV; + private Bunifu.Framework.UI.BunifuCustomLabel lblHitboxSelection; + private Siticone.UI.WinForms.SiticoneComboBox cbHitboxSelection; + private Bunifu.Framework.UI.BunifuCustomLabel lblTriggerBot; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbTriggerBot; + private Bunifu.Framework.UI.BunifuCustomLabel lblInfAmmo; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbInfAmmo; + private Bunifu.Framework.UI.BunifuCustomLabel lblRapidFire; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbRapidFire; + } +} diff --git a/EZCube/EZCube/Forms/Tabs/TabAiming.cs b/EZCube/EZCube/Forms/Tabs/TabAiming.cs new file mode 100644 index 0000000..199c870 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabAiming.cs @@ -0,0 +1,57 @@ +using EZCube.Classes.SDK.Variables; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EZCube.Forms.Tabs +{ + public partial class TabAiming : UserControl + { + public TabAiming() + { + InitializeComponent(); + } + + private void cbAimbot_CheckedChanged(object sender, EventArgs e) + { + Settings.Aimbot = cbAimbot.Checked; + } + + private void tbAimbotFOV_ValueChanged(object sender, EventArgs e) + { + Settings.Aimbot_FOV = tbAimbotFOV.Value * 10; + lblAimbotFOVValue.Text = tbAimbotFOV.Value.ToString(); + } + + private void cbAimbotDrawFOV_CheckedChanged(object sender, EventArgs e) + { + Settings.Aimbot_FOV_Draw = cbAimbotDrawFOV.Checked; + } + + private void cbHitboxSelection_SelectedIndexChanged(object sender, EventArgs e) + { + Settings.Aimbot_Hitbox = (Enums.Hitbox)Enum.Parse(typeof(Enums.Hitbox), cbHitboxSelection.SelectedItem.ToString()); + } + + private void cbTriggerBot_CheckedChanged(object sender, EventArgs e) + { + Settings.TriggerBot = cbTriggerBot.Checked; + } + + private void cbInfAmmo_CheckedChanged(object sender, EventArgs e) + { + Settings.InfiniteAmmo = cbInfAmmo.Checked; + } + + private void cbRapidFire_CheckedChanged(object sender, EventArgs e) + { + Settings.RapidFire = cbRapidFire.Checked; + } + } +} diff --git a/EZCube/EZCube/Forms/Tabs/TabAiming.resx b/EZCube/EZCube/Forms/Tabs/TabAiming.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabAiming.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/EZCube/EZCube/Forms/Tabs/TabMiscs.Designer.cs b/EZCube/EZCube/Forms/Tabs/TabMiscs.Designer.cs new file mode 100644 index 0000000..5b5feb0 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabMiscs.Designer.cs @@ -0,0 +1,223 @@ + +namespace EZCube.Forms.Tabs +{ + partial class TabMiscs + { + /// + ///Gerekli tasarımcı değişkeni. + /// + private System.ComponentModel.IContainer components = null; + + /// + ///Kullanılan tüm kaynakları temizleyin. + /// + ///yönetilen kaynaklar dispose edilmeliyse doğru; aksi halde yanlış. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Bileşen Tasarımcısı üretimi kod + + /// + /// Tasarımcı desteği için gerekli metot - bu metodun + ///içeriğini kod düzenleyici ile değiştirmeyin. + /// + private void InitializeComponent() + { + this.lblFly = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbFly = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblBunnyHop = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbBunnyHop = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblStreamproof = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbStreamproof = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblInfHealth = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbInfHealth = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblInfArmor = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbInfArmor = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblTelekill = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbTelekill = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblTeleportEnemiesOnFrontOf = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbTeleportEnemies = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.SuspendLayout(); + // + // lblFly + // + this.lblFly.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblFly.ForeColor = System.Drawing.Color.White; + this.lblFly.Location = new System.Drawing.Point(13, 91); + this.lblFly.Name = "lblFly"; + this.lblFly.Size = new System.Drawing.Size(378, 22); + this.lblFly.TabIndex = 3; + this.lblFly.Text = "Fly"; + this.lblFly.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbFly + // + this.cbFly.Location = new System.Drawing.Point(397, 91); + this.cbFly.Name = "cbFly"; + this.cbFly.Size = new System.Drawing.Size(38, 22); + this.cbFly.TabIndex = 2; + this.cbFly.CheckedChanged += new System.EventHandler(this.cbFly_CheckedChanged); + // + // lblBunnyHop + // + this.lblBunnyHop.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblBunnyHop.ForeColor = System.Drawing.Color.White; + this.lblBunnyHop.Location = new System.Drawing.Point(13, 63); + this.lblBunnyHop.Name = "lblBunnyHop"; + this.lblBunnyHop.Size = new System.Drawing.Size(378, 22); + this.lblBunnyHop.TabIndex = 5; + this.lblBunnyHop.Text = "Bunny Hop"; + this.lblBunnyHop.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbBunnyHop + // + this.cbBunnyHop.Location = new System.Drawing.Point(397, 63); + this.cbBunnyHop.Name = "cbBunnyHop"; + this.cbBunnyHop.Size = new System.Drawing.Size(38, 22); + this.cbBunnyHop.TabIndex = 4; + this.cbBunnyHop.CheckedChanged += new System.EventHandler(this.cbBunnyHop_CheckedChanged); + // + // lblStreamproof + // + this.lblStreamproof.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblStreamproof.ForeColor = System.Drawing.Color.White; + this.lblStreamproof.Location = new System.Drawing.Point(13, 339); + this.lblStreamproof.Name = "lblStreamproof"; + this.lblStreamproof.Size = new System.Drawing.Size(378, 22); + this.lblStreamproof.TabIndex = 7; + this.lblStreamproof.Text = "Stream proof"; + this.lblStreamproof.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbStreamproof + // + this.cbStreamproof.Location = new System.Drawing.Point(397, 339); + this.cbStreamproof.Name = "cbStreamproof"; + this.cbStreamproof.Size = new System.Drawing.Size(38, 22); + this.cbStreamproof.TabIndex = 6; + this.cbStreamproof.CheckedChanged += new System.EventHandler(this.cbStreamproof_CheckedChanged); + // + // lblInfHealth + // + this.lblInfHealth.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblInfHealth.ForeColor = System.Drawing.Color.White; + this.lblInfHealth.Location = new System.Drawing.Point(13, 7); + this.lblInfHealth.Name = "lblInfHealth"; + this.lblInfHealth.Size = new System.Drawing.Size(378, 22); + this.lblInfHealth.TabIndex = 9; + this.lblInfHealth.Text = "Infinite Health"; + this.lblInfHealth.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbInfHealth + // + this.cbInfHealth.Location = new System.Drawing.Point(397, 7); + this.cbInfHealth.Name = "cbInfHealth"; + this.cbInfHealth.Size = new System.Drawing.Size(38, 22); + this.cbInfHealth.TabIndex = 8; + this.cbInfHealth.CheckedChanged += new System.EventHandler(this.cbInfHealth_CheckedChanged); + // + // lblInfArmor + // + this.lblInfArmor.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblInfArmor.ForeColor = System.Drawing.Color.White; + this.lblInfArmor.Location = new System.Drawing.Point(13, 35); + this.lblInfArmor.Name = "lblInfArmor"; + this.lblInfArmor.Size = new System.Drawing.Size(378, 22); + this.lblInfArmor.TabIndex = 11; + this.lblInfArmor.Text = "Infinite Armor"; + this.lblInfArmor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbInfArmor + // + this.cbInfArmor.Location = new System.Drawing.Point(397, 35); + this.cbInfArmor.Name = "cbInfArmor"; + this.cbInfArmor.Size = new System.Drawing.Size(38, 22); + this.cbInfArmor.TabIndex = 10; + this.cbInfArmor.CheckedChanged += new System.EventHandler(this.cbInfArmor_CheckedChanged); + // + // lblTelekill + // + this.lblTelekill.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblTelekill.ForeColor = System.Drawing.Color.White; + this.lblTelekill.Location = new System.Drawing.Point(13, 119); + this.lblTelekill.Name = "lblTelekill"; + this.lblTelekill.Size = new System.Drawing.Size(378, 22); + this.lblTelekill.TabIndex = 15; + this.lblTelekill.Text = "Telekill"; + this.lblTelekill.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbTelekill + // + this.cbTelekill.Location = new System.Drawing.Point(397, 119); + this.cbTelekill.Name = "cbTelekill"; + this.cbTelekill.Size = new System.Drawing.Size(38, 22); + this.cbTelekill.TabIndex = 14; + this.cbTelekill.CheckedChanged += new System.EventHandler(this.cbTelekill_CheckedChanged); + // + // lblTeleportEnemiesOnFrontOf + // + this.lblTeleportEnemiesOnFrontOf.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblTeleportEnemiesOnFrontOf.ForeColor = System.Drawing.Color.White; + this.lblTeleportEnemiesOnFrontOf.Location = new System.Drawing.Point(13, 147); + this.lblTeleportEnemiesOnFrontOf.Name = "lblTeleportEnemiesOnFrontOf"; + this.lblTeleportEnemiesOnFrontOf.Size = new System.Drawing.Size(378, 22); + this.lblTeleportEnemiesOnFrontOf.TabIndex = 13; + this.lblTeleportEnemiesOnFrontOf.Text = "Teleport Enemies On Front Of"; + this.lblTeleportEnemiesOnFrontOf.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbTeleportEnemies + // + this.cbTeleportEnemies.Location = new System.Drawing.Point(397, 147); + this.cbTeleportEnemies.Name = "cbTeleportEnemies"; + this.cbTeleportEnemies.Size = new System.Drawing.Size(38, 22); + this.cbTeleportEnemies.TabIndex = 12; + this.cbTeleportEnemies.CheckedChanged += new System.EventHandler(this.cbTeleportEnemies_CheckedChanged); + // + // TabMiscs + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25))))); + this.Controls.Add(this.lblTelekill); + this.Controls.Add(this.cbTelekill); + this.Controls.Add(this.lblTeleportEnemiesOnFrontOf); + this.Controls.Add(this.cbTeleportEnemies); + this.Controls.Add(this.lblInfArmor); + this.Controls.Add(this.cbInfArmor); + this.Controls.Add(this.lblInfHealth); + this.Controls.Add(this.cbInfHealth); + this.Controls.Add(this.lblStreamproof); + this.Controls.Add(this.cbStreamproof); + this.Controls.Add(this.lblBunnyHop); + this.Controls.Add(this.cbBunnyHop); + this.Controls.Add(this.lblFly); + this.Controls.Add(this.cbFly); + this.Name = "TabMiscs"; + this.Size = new System.Drawing.Size(450, 371); + this.ResumeLayout(false); + + } + + #endregion + + private Bunifu.Framework.UI.BunifuCustomLabel lblFly; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbFly; + private Bunifu.Framework.UI.BunifuCustomLabel lblBunnyHop; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbBunnyHop; + private Bunifu.Framework.UI.BunifuCustomLabel lblStreamproof; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbStreamproof; + private Bunifu.Framework.UI.BunifuCustomLabel lblInfHealth; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbInfHealth; + private Bunifu.Framework.UI.BunifuCustomLabel lblInfArmor; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbInfArmor; + private Bunifu.Framework.UI.BunifuCustomLabel lblTelekill; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbTelekill; + private Bunifu.Framework.UI.BunifuCustomLabel lblTeleportEnemiesOnFrontOf; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbTeleportEnemies; + } +} diff --git a/EZCube/EZCube/Forms/Tabs/TabMiscs.cs b/EZCube/EZCube/Forms/Tabs/TabMiscs.cs new file mode 100644 index 0000000..8f4bc96 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabMiscs.cs @@ -0,0 +1,56 @@ +using EZCube.Classes; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EZCube.Forms.Tabs +{ + public partial class TabMiscs : UserControl + { + public TabMiscs() + { + InitializeComponent(); + } + + private void cbInfHealth_CheckedChanged(object sender, EventArgs e) + { + Settings.InfiniteHealth = cbInfHealth.Checked; + } + + private void cbInfArmor_CheckedChanged(object sender, EventArgs e) + { + Settings.InfiniteArmor = cbInfArmor.Checked; + } + + private void cbFly_CheckedChanged(object sender, EventArgs e) + { + Settings.Fly = cbFly.Checked; + } + + private void cbBunnyHop_CheckedChanged(object sender, EventArgs e) + { + Settings.BunnyHop = cbBunnyHop.Checked; + } + + private void cbTelekill_CheckedChanged(object sender, EventArgs e) + { + Settings.Telekill = cbTelekill.Checked; + } + + private void cbTeleportEnemies_CheckedChanged(object sender, EventArgs e) + { + Settings.TeleportEnemies = cbTeleportEnemies.Checked; + } + + private void cbStreamproof_CheckedChanged(object sender, EventArgs e) + { + WinAPI.SetWindowDisplayAffinity(Globals.overlay.Handle, cbStreamproof.Checked ? Classes.Variables.Enums.DisplayAffinity.Monitor : Classes.Variables.Enums.DisplayAffinity.None); + } + } +} diff --git a/EZCube/EZCube/Forms/Tabs/TabMiscs.resx b/EZCube/EZCube/Forms/Tabs/TabMiscs.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabMiscs.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/EZCube/EZCube/Forms/Tabs/TabVisuals.Designer.cs b/EZCube/EZCube/Forms/Tabs/TabVisuals.Designer.cs new file mode 100644 index 0000000..242053e --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabVisuals.Designer.cs @@ -0,0 +1,349 @@ + +namespace EZCube.Forms.Tabs +{ + partial class TabVisuals + { + /// + ///Gerekli tasarımcı değişkeni. + /// + private System.ComponentModel.IContainer components = null; + + /// + ///Kullanılan tüm kaynakları temizleyin. + /// + ///yönetilen kaynaklar dispose edilmeliyse doğru; aksi halde yanlış. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Bileşen Tasarımcısı üretimi kod + + /// + /// Tasarımcı desteği için gerekli metot - bu metodun + ///içeriğini kod düzenleyici ile değiştirmeyin. + /// + private void InitializeComponent() + { + this.cbESP = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESP = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.lblESPOutline = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPOutline = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESPHealthBar = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPHealthBar = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESPArmorBar = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPArmorBar = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESPName = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPName = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESPHealthBarOutline = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPHealthBarOutline = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESPArmorBarOutline = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPArmorBarOutline = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblESPDistance = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbESPDistance = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblSnaplinesOutline = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbSnaplinesOutline = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblSnaplines = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbSnaplines = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblCrosshair = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbCrosshair = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.lblWatermark = new Bunifu.Framework.UI.BunifuCustomLabel(); + this.cbWatermark = new Siticone.UI.WinForms.SiticoneOSToggleSwith(); + this.SuspendLayout(); + // + // cbESP + // + this.cbESP.Location = new System.Drawing.Point(397, 7); + this.cbESP.Name = "cbESP"; + this.cbESP.Size = new System.Drawing.Size(38, 22); + this.cbESP.TabIndex = 0; + this.cbESP.CheckedChanged += new System.EventHandler(this.cbESP_CheckedChanged); + // + // lblESP + // + this.lblESP.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESP.ForeColor = System.Drawing.Color.White; + this.lblESP.Location = new System.Drawing.Point(13, 7); + this.lblESP.Name = "lblESP"; + this.lblESP.Size = new System.Drawing.Size(378, 22); + this.lblESP.TabIndex = 1; + this.lblESP.Text = "ESP"; + this.lblESP.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lblESPOutline + // + this.lblESPOutline.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPOutline.ForeColor = System.Drawing.Color.White; + this.lblESPOutline.Location = new System.Drawing.Point(29, 35); + this.lblESPOutline.Name = "lblESPOutline"; + this.lblESPOutline.Size = new System.Drawing.Size(362, 22); + this.lblESPOutline.TabIndex = 3; + this.lblESPOutline.Text = "Outline"; + this.lblESPOutline.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPOutline + // + this.cbESPOutline.Location = new System.Drawing.Point(397, 35); + this.cbESPOutline.Name = "cbESPOutline"; + this.cbESPOutline.Size = new System.Drawing.Size(38, 22); + this.cbESPOutline.TabIndex = 2; + this.cbESPOutline.CheckedChanged += new System.EventHandler(this.cbESPOutline_CheckedChanged); + // + // lblESPHealthBar + // + this.lblESPHealthBar.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPHealthBar.ForeColor = System.Drawing.Color.White; + this.lblESPHealthBar.Location = new System.Drawing.Point(26, 94); + this.lblESPHealthBar.Name = "lblESPHealthBar"; + this.lblESPHealthBar.Size = new System.Drawing.Size(365, 22); + this.lblESPHealthBar.TabIndex = 5; + this.lblESPHealthBar.Text = "Health bar"; + this.lblESPHealthBar.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPHealthBar + // + this.cbESPHealthBar.Location = new System.Drawing.Point(397, 94); + this.cbESPHealthBar.Name = "cbESPHealthBar"; + this.cbESPHealthBar.Size = new System.Drawing.Size(38, 22); + this.cbESPHealthBar.TabIndex = 4; + this.cbESPHealthBar.CheckedChanged += new System.EventHandler(this.cbESPHealthBar_CheckedChanged); + // + // lblESPArmorBar + // + this.lblESPArmorBar.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPArmorBar.ForeColor = System.Drawing.Color.White; + this.lblESPArmorBar.Location = new System.Drawing.Point(26, 150); + this.lblESPArmorBar.Name = "lblESPArmorBar"; + this.lblESPArmorBar.Size = new System.Drawing.Size(365, 22); + this.lblESPArmorBar.TabIndex = 7; + this.lblESPArmorBar.Text = "Armor Bar"; + this.lblESPArmorBar.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPArmorBar + // + this.cbESPArmorBar.Location = new System.Drawing.Point(397, 150); + this.cbESPArmorBar.Name = "cbESPArmorBar"; + this.cbESPArmorBar.Size = new System.Drawing.Size(38, 22); + this.cbESPArmorBar.TabIndex = 6; + this.cbESPArmorBar.CheckedChanged += new System.EventHandler(this.cbESPArmorBar_CheckedChanged); + // + // lblESPName + // + this.lblESPName.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPName.ForeColor = System.Drawing.Color.White; + this.lblESPName.Location = new System.Drawing.Point(26, 66); + this.lblESPName.Name = "lblESPName"; + this.lblESPName.Size = new System.Drawing.Size(365, 22); + this.lblESPName.TabIndex = 9; + this.lblESPName.Text = "Name"; + this.lblESPName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPName + // + this.cbESPName.Location = new System.Drawing.Point(397, 66); + this.cbESPName.Name = "cbESPName"; + this.cbESPName.Size = new System.Drawing.Size(38, 22); + this.cbESPName.TabIndex = 8; + this.cbESPName.CheckedChanged += new System.EventHandler(this.cbESPName_CheckedChanged); + // + // lblESPHealthBarOutline + // + this.lblESPHealthBarOutline.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPHealthBarOutline.ForeColor = System.Drawing.Color.White; + this.lblESPHealthBarOutline.Location = new System.Drawing.Point(41, 122); + this.lblESPHealthBarOutline.Name = "lblESPHealthBarOutline"; + this.lblESPHealthBarOutline.Size = new System.Drawing.Size(350, 22); + this.lblESPHealthBarOutline.TabIndex = 11; + this.lblESPHealthBarOutline.Text = "Outline"; + this.lblESPHealthBarOutline.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPHealthBarOutline + // + this.cbESPHealthBarOutline.Location = new System.Drawing.Point(397, 122); + this.cbESPHealthBarOutline.Name = "cbESPHealthBarOutline"; + this.cbESPHealthBarOutline.Size = new System.Drawing.Size(38, 22); + this.cbESPHealthBarOutline.TabIndex = 10; + this.cbESPHealthBarOutline.CheckedChanged += new System.EventHandler(this.cbESPHealthBarOutline_CheckedChanged); + // + // lblESPArmorBarOutline + // + this.lblESPArmorBarOutline.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPArmorBarOutline.ForeColor = System.Drawing.Color.White; + this.lblESPArmorBarOutline.Location = new System.Drawing.Point(41, 178); + this.lblESPArmorBarOutline.Name = "lblESPArmorBarOutline"; + this.lblESPArmorBarOutline.Size = new System.Drawing.Size(350, 22); + this.lblESPArmorBarOutline.TabIndex = 13; + this.lblESPArmorBarOutline.Text = "Outline"; + this.lblESPArmorBarOutline.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPArmorBarOutline + // + this.cbESPArmorBarOutline.Location = new System.Drawing.Point(397, 178); + this.cbESPArmorBarOutline.Name = "cbESPArmorBarOutline"; + this.cbESPArmorBarOutline.Size = new System.Drawing.Size(38, 22); + this.cbESPArmorBarOutline.TabIndex = 12; + this.cbESPArmorBarOutline.CheckedChanged += new System.EventHandler(this.cbESPArmorBarOutline_CheckedChanged); + // + // lblESPDistance + // + this.lblESPDistance.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblESPDistance.ForeColor = System.Drawing.Color.White; + this.lblESPDistance.Location = new System.Drawing.Point(26, 262); + this.lblESPDistance.Name = "lblESPDistance"; + this.lblESPDistance.Size = new System.Drawing.Size(365, 22); + this.lblESPDistance.TabIndex = 15; + this.lblESPDistance.Text = "Distance"; + this.lblESPDistance.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbESPDistance + // + this.cbESPDistance.Location = new System.Drawing.Point(397, 262); + this.cbESPDistance.Name = "cbESPDistance"; + this.cbESPDistance.Size = new System.Drawing.Size(38, 22); + this.cbESPDistance.TabIndex = 14; + this.cbESPDistance.CheckedChanged += new System.EventHandler(this.cbESPDistance_CheckedChanged); + // + // lblSnaplinesOutline + // + this.lblSnaplinesOutline.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblSnaplinesOutline.ForeColor = System.Drawing.Color.White; + this.lblSnaplinesOutline.Location = new System.Drawing.Point(41, 234); + this.lblSnaplinesOutline.Name = "lblSnaplinesOutline"; + this.lblSnaplinesOutline.Size = new System.Drawing.Size(350, 22); + this.lblSnaplinesOutline.TabIndex = 21; + this.lblSnaplinesOutline.Text = "Outline"; + this.lblSnaplinesOutline.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbSnaplinesOutline + // + this.cbSnaplinesOutline.Location = new System.Drawing.Point(397, 234); + this.cbSnaplinesOutline.Name = "cbSnaplinesOutline"; + this.cbSnaplinesOutline.Size = new System.Drawing.Size(38, 22); + this.cbSnaplinesOutline.TabIndex = 20; + this.cbSnaplinesOutline.CheckedChanged += new System.EventHandler(this.cbSnaplinesOutline_CheckedChanged); + // + // lblSnaplines + // + this.lblSnaplines.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblSnaplines.ForeColor = System.Drawing.Color.White; + this.lblSnaplines.Location = new System.Drawing.Point(26, 206); + this.lblSnaplines.Name = "lblSnaplines"; + this.lblSnaplines.Size = new System.Drawing.Size(365, 22); + this.lblSnaplines.TabIndex = 19; + this.lblSnaplines.Text = "Snaplines"; + this.lblSnaplines.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbSnaplines + // + this.cbSnaplines.Location = new System.Drawing.Point(397, 206); + this.cbSnaplines.Name = "cbSnaplines"; + this.cbSnaplines.Size = new System.Drawing.Size(38, 22); + this.cbSnaplines.TabIndex = 18; + this.cbSnaplines.CheckedChanged += new System.EventHandler(this.cbSnaplines_CheckedChanged); + // + // lblCrosshair + // + this.lblCrosshair.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblCrosshair.ForeColor = System.Drawing.Color.White; + this.lblCrosshair.Location = new System.Drawing.Point(13, 339); + this.lblCrosshair.Name = "lblCrosshair"; + this.lblCrosshair.Size = new System.Drawing.Size(378, 22); + this.lblCrosshair.TabIndex = 23; + this.lblCrosshair.Text = "Crosshair"; + this.lblCrosshair.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbCrosshair + // + this.cbCrosshair.Location = new System.Drawing.Point(397, 339); + this.cbCrosshair.Name = "cbCrosshair"; + this.cbCrosshair.Size = new System.Drawing.Size(38, 22); + this.cbCrosshair.TabIndex = 22; + this.cbCrosshair.CheckedChanged += new System.EventHandler(this.cbCrosshair_CheckedChanged); + // + // lblWatermark + // + this.lblWatermark.Font = new System.Drawing.Font("Segoe UI Semibold", 9F); + this.lblWatermark.ForeColor = System.Drawing.Color.White; + this.lblWatermark.Location = new System.Drawing.Point(13, 311); + this.lblWatermark.Name = "lblWatermark"; + this.lblWatermark.Size = new System.Drawing.Size(378, 22); + this.lblWatermark.TabIndex = 25; + this.lblWatermark.Text = "Watermark"; + this.lblWatermark.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // cbWatermark + // + this.cbWatermark.Checked = true; + this.cbWatermark.Location = new System.Drawing.Point(397, 311); + this.cbWatermark.Name = "cbWatermark"; + this.cbWatermark.Size = new System.Drawing.Size(38, 22); + this.cbWatermark.TabIndex = 24; + this.cbWatermark.CheckedChanged += new System.EventHandler(this.cbWatermark_CheckedChanged); + // + // TabVisuals + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(25)))), ((int)(((byte)(25))))); + this.Controls.Add(this.lblWatermark); + this.Controls.Add(this.cbWatermark); + this.Controls.Add(this.lblCrosshair); + this.Controls.Add(this.cbCrosshair); + this.Controls.Add(this.lblSnaplinesOutline); + this.Controls.Add(this.cbSnaplinesOutline); + this.Controls.Add(this.lblSnaplines); + this.Controls.Add(this.cbSnaplines); + this.Controls.Add(this.lblESPDistance); + this.Controls.Add(this.cbESPDistance); + this.Controls.Add(this.lblESPArmorBarOutline); + this.Controls.Add(this.cbESPArmorBarOutline); + this.Controls.Add(this.lblESPHealthBarOutline); + this.Controls.Add(this.cbESPHealthBarOutline); + this.Controls.Add(this.lblESPName); + this.Controls.Add(this.cbESPName); + this.Controls.Add(this.lblESPArmorBar); + this.Controls.Add(this.cbESPArmorBar); + this.Controls.Add(this.lblESPHealthBar); + this.Controls.Add(this.cbESPHealthBar); + this.Controls.Add(this.lblESPOutline); + this.Controls.Add(this.cbESPOutline); + this.Controls.Add(this.lblESP); + this.Controls.Add(this.cbESP); + this.Name = "TabVisuals"; + this.Size = new System.Drawing.Size(450, 371); + this.ResumeLayout(false); + + } + + #endregion + + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESP; + private Bunifu.Framework.UI.BunifuCustomLabel lblESP; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPOutline; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPOutline; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPHealthBar; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPHealthBar; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPArmorBar; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPArmorBar; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPName; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPName; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPHealthBarOutline; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPHealthBarOutline; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPArmorBarOutline; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPArmorBarOutline; + private Bunifu.Framework.UI.BunifuCustomLabel lblESPDistance; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbESPDistance; + private Bunifu.Framework.UI.BunifuCustomLabel lblSnaplinesOutline; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbSnaplinesOutline; + private Bunifu.Framework.UI.BunifuCustomLabel lblSnaplines; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbSnaplines; + private Bunifu.Framework.UI.BunifuCustomLabel lblCrosshair; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbCrosshair; + private Bunifu.Framework.UI.BunifuCustomLabel lblWatermark; + private Siticone.UI.WinForms.SiticoneOSToggleSwith cbWatermark; + } +} diff --git a/EZCube/EZCube/Forms/Tabs/TabVisuals.cs b/EZCube/EZCube/Forms/Tabs/TabVisuals.cs new file mode 100644 index 0000000..8910d9c --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabVisuals.cs @@ -0,0 +1,80 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EZCube.Forms.Tabs +{ + public partial class TabVisuals : UserControl + { + public TabVisuals() + { + InitializeComponent(); + } + + private void cbESP_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP = cbESP.Checked; + } + + private void cbESPOutline_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP_Outline = cbESPOutline.Checked; + } + + private void cbESPName_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP_Name = cbESPName.Checked; + } + + private void cbESPHealthBar_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP_Health = cbESPHealthBar.Checked; + } + + private void cbESPHealthBarOutline_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP_Health_Outline = cbESPHealthBarOutline.Checked; + } + + private void cbESPArmorBar_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP_Armor = cbESPArmorBar.Checked; + } + + private void cbESPArmorBarOutline_CheckedChanged(object sender, EventArgs e) + { + Settings.ESP_Armor_Outline = cbESPArmorBarOutline.Checked; + } + + private void cbSnaplines_CheckedChanged(object sender, EventArgs e) + { + Settings.Snaplines = cbSnaplines.Checked; + } + + private void cbSnaplinesOutline_CheckedChanged(object sender, EventArgs e) + { + Settings.Snaplines_Outline = cbSnaplinesOutline.Checked; + } + + private void cbESPDistance_CheckedChanged(object sender, EventArgs e) + { + Settings.Distance = cbESPDistance.Checked; + } + + private void cbWatermark_CheckedChanged(object sender, EventArgs e) + { + Settings.Watermark = cbWatermark.Checked; + } + + private void cbCrosshair_CheckedChanged(object sender, EventArgs e) + { + Settings.Crosshair = cbCrosshair.Checked; + } + } +} diff --git a/EZCube/EZCube/Forms/Tabs/TabVisuals.resx b/EZCube/EZCube/Forms/Tabs/TabVisuals.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/TabVisuals.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/EZCube/EZCube/Forms/Tabs/Tabs.cs b/EZCube/EZCube/Forms/Tabs/Tabs.cs new file mode 100644 index 0000000..f73ce02 --- /dev/null +++ b/EZCube/EZCube/Forms/Tabs/Tabs.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace EZCube.Forms.Tabs +{ + class Tabs + { + public static TabVisuals Visuals = new TabVisuals(); + public static TabAiming Aiming = new TabAiming(); + public static TabMiscs Miscs = new TabMiscs(); + } +} diff --git a/EZCube/EZCube/Program.cs b/EZCube/EZCube/Program.cs new file mode 100644 index 0000000..587ac51 --- /dev/null +++ b/EZCube/EZCube/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace EZCube +{ + static class Program + { + /// + /// Uygulamanın ana girdi noktası. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Forms.MainForm()); + } + } +} diff --git a/EZCube/EZCube/Properties/AssemblyInfo.cs b/EZCube/EZCube/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cec6171 --- /dev/null +++ b/EZCube/EZCube/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Bir bütünleştirilmiş koda ilişkin Genel Bilgiler aşağıdaki öznitelikler kümesiyle +// denetlenir. Bütünleştirilmiş kod ile ilişkili bilgileri değiştirmek için +// bu öznitelik değerlerini değiştirin. +[assembly: AssemblyTitle("EZCube")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("EZCube")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible özniteliğinin false olarak ayarlanması bu bütünleştirilmiş koddaki türleri +// COM bileşenleri için görünmez yapar. Bu bütünleştirilmiş koddaki bir türe +// erişmeniz gerekirse ComVisible özniteliğini o türde true olarak ayarlayın. +[assembly: ComVisible(false)] + +// Bu proje COM'un kullanımına sunulursa, aşağıdaki GUID tür kitaplığının kimliği içindir +[assembly: Guid("a1a07a23-9e45-4968-a82e-6f4ad3b5669a")] + +// Bir derlemenin sürüm bilgileri aşağıdaki dört değerden oluşur: +// +// Ana Sürüm +// İkincil Sürüm +// Yapı Numarası +// Düzeltme +// +// Tüm değerleri belirtebilir veya varsayılan Derleme ve Düzeltme Numaralarını kullanmak için +// aşağıda gösterildiği gibi '*' kullanabilirsiniz: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/EZCube/EZCube/Properties/Resources.Designer.cs b/EZCube/EZCube/Properties/Resources.Designer.cs new file mode 100644 index 0000000..85a6ff3 --- /dev/null +++ b/EZCube/EZCube/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// Bu kod bir araç tarafından oluşturuldu. +// Çalışma Zamanı Sürümü: 4.0.30319.42000 +// +// Bu dosyada yapılan değişiklikler yanlış davranışa yol açabilir ve şu durumda kaybolur +// kod yeniden oluşturulduğunda. +// +//------------------------------------------------------------------------------ + + +namespace EZCube.Properties +{ + /// + /// Yerelleştirilmiş dizeleri vs. aramak için türü kesin belirlenmiş bir kaynak sınıfı. + /// + // Bu sınıf, StronglyTypedResourceBuilder tarafından otomatik olarak + // ResGen ya da Visual Studio gibi bir araç ile oluşturuldu. + // Bir üye eklemek ya da kaldırmak için .ResX dosyanızı düyenleyin, sonra da ResGen + // öğesini /str seçeneğiyle yeniden çalıştırın veya VS projenizi yeniden derleyin. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EZCube.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Geçerli iş parçacığının CurrentUICulture özelliğini, türü kesin belirlenmiş + /// bu kaynak sınıfını kullanan tüm kaynak aramaları için geçersiz kılar. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/EZCube/EZCube/Properties/Resources.resx b/EZCube/EZCube/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/EZCube/EZCube/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/EZCube/EZCube/Properties/Settings.Designer.cs b/EZCube/EZCube/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f460abb --- /dev/null +++ b/EZCube/EZCube/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + + +namespace EZCube.Properties +{ + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/EZCube/EZCube/Properties/Settings.settings b/EZCube/EZCube/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/EZCube/EZCube/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/EZCube/EZCube/app.manifest b/EZCube/EZCube/app.manifest new file mode 100644 index 0000000..fcfc532 --- /dev/null +++ b/EZCube/EZCube/app.manifest @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/EZCube/EZCube/cube-icon-512x512-4al892h8.ico b/EZCube/EZCube/cube-icon-512x512-4al892h8.ico new file mode 100644 index 0000000..119d65d Binary files /dev/null and b/EZCube/EZCube/cube-icon-512x512-4al892h8.ico differ diff --git a/EZCube/EZCube/packages.config b/EZCube/EZCube/packages.config new file mode 100644 index 0000000..852d82b --- /dev/null +++ b/EZCube/EZCube/packages.config @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file