├── leagueoflegends
├── stdafx.cpp
├── mem
│ ├── mem.h
│ ├── spoofer.asm
│ ├── mem.cpp
│ └── spoof_call.h
├── packages.config
├── leagueoflegends.vcxproj.user
├── hooks
│ ├── hooks.h
│ ├── impl
│ │ ├── impl.h
│ │ └── impl.cpp
│ └── hooks.cpp
├── global
│ ├── targetver.h
│ ├── colors.h
│ ├── utils.h
│ ├── globals.cpp
│ ├── globals.h
│ ├── leagueobfuscation.h
│ ├── stringcheck.cpp
│ ├── functions.h
│ ├── settings.h
│ ├── strings.h
│ ├── offsets.h
│ ├── settings.cpp
│ └── structs.h
├── menu
│ └── menu.h
├── selfprotection
│ ├── utils.h
│ ├── pipe
│ │ └── namedpipeclient.h
│ └── strings
│ │ └── obfuscator.h
├── scripts
│ ├── championmodule.h
│ ├── champions
│ │ ├── drmundo.cpp
│ │ ├── garen.cpp
│ │ ├── jax.cpp
│ │ ├── brand.cpp
│ │ └── syndra.cpp
│ ├── skillshotdatabase.cpp
│ ├── skillshotdatabase.h
│ ├── scripts.h
│ ├── targetselector.cpp
│ ├── prediction.cpp
│ └── scripts.cpp
├── imgui
│ ├── imgui_impl_dx9.h
│ ├── imgui_impl_dx10.h
│ ├── imgui_impl_dx11.h
│ ├── imgui_impl_win32.h
│ ├── imgui_impl_opengl3.h
│ └── imconfig.h
├── stdafx.h
├── kiero
│ ├── kiero.h
│ └── minhook
│ │ ├── src
│ │ ├── hde
│ │ │ ├── pstdint.h
│ │ │ ├── hde32.h
│ │ │ ├── hde64.h
│ │ │ ├── table32.h
│ │ │ └── table64.h
│ │ ├── buffer.h
│ │ └── trampoline.h
│ │ └── include
│ │ └── MinHook.h
├── render
│ ├── render.h
│ ├── renderfunctions.cpp
│ └── render.cpp
├── main
│ └── dllmain.cpp
└── classes
│ └── classes.h
├── start
├── icon1.ico
├── start.aps
├── start.vcxproj.user
├── resource.h
├── start.vcxproj.filters
├── start1.rc
├── start.rc
├── main
│ ├── start.cpp
│ └── Injection.h
├── RCa16656
└── start.vcxproj
├── NamedPipeConsole
├── NamedPipeConsole.vcxproj.user
├── NamedPipeConsole.vcxproj.filters
├── NamedPipeConsole.cpp
└── NamedPipeConsole.vcxproj
├── .gitignore
├── README.md
└── leagueoflegends.sln
/leagueoflegends/stdafx.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
3 |
--------------------------------------------------------------------------------
/start/icon1.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matkhl/leagueoflegends/HEAD/start/icon1.ico
--------------------------------------------------------------------------------
/start/start.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matkhl/leagueoflegends/HEAD/start/start.aps
--------------------------------------------------------------------------------
/leagueoflegends/mem/mem.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "../stdafx.h"
4 |
5 | namespace mem
6 | {
7 | char* ScanModInternal(char* pattern, char* mask, char* moduleBase);
8 | }
--------------------------------------------------------------------------------
/leagueoflegends/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/start/start.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/leagueoflegends/leagueoflegends.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/NamedPipeConsole/NamedPipeConsole.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/leagueoflegends/hooks/hooks.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | namespace hooks
4 | {
5 | extern std::vector renderTypeNames;
6 |
7 | void CheckType(int renderType, const char* typeName);
8 | int Init(int index);
9 | }
--------------------------------------------------------------------------------
/leagueoflegends/hooks/impl/impl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | namespace hooks
4 | {
5 | namespace impl
6 | {
7 | extern HWND windowDX;
8 | void Init();
9 | }
10 | }
11 |
12 | IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
--------------------------------------------------------------------------------
/leagueoflegends/global/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/leagueoflegends/menu/menu.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | namespace menu
4 | {
5 | void Init();
6 | void SaveSoon();
7 | void TextCentered(std::string text);
8 | bool CustomCheckbox(const char* label, bool* v);
9 | void DrawMenu(std::pair group, std::pair> groupOrder);
10 | void DynamicSettings();
11 | void Update();
12 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # This .gitignore file was automatically created by Microsoft(R) Visual Studio.
3 | ################################################################################
4 |
5 | /.vs/leagueoflegends
6 | /packages/Microsoft.Windows.CppWinRT.2.0.210806.1
7 | /Win32
8 | /x64/Release
9 | /NamedPipeConsole/x64/Release
10 | /start/Release
11 | /start/x64/Release
12 |
--------------------------------------------------------------------------------
/start/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by start.rc
4 |
5 | // Next default values for new objects
6 | //
7 | #ifdef APSTUDIO_INVOKED
8 | #ifndef APSTUDIO_READONLY_SYMBOLS
9 | #define _APS_NEXT_RESOURCE_VALUE 101
10 | #define _APS_NEXT_COMMAND_VALUE 40001
11 | #define _APS_NEXT_CONTROL_VALUE 1001
12 | #define _APS_NEXT_SYMED_VALUE 101
13 | #endif
14 | #endif
15 |
--------------------------------------------------------------------------------
/leagueoflegends/global/colors.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define COLOR_WHITE 0xffffffff
4 | #define COLOR_BLACK 0xff000000
5 | #define COLOR_RED 0xffff1f1f
6 | #define COLOR_GREEN 0xff0c9d00
7 | #define COLOR_BLUE 0xff7ea6ff
8 | #define COLOR_TURQUOISE 0xff6BFFEE
9 | #define COLOR_PURPLE 0xff9C26FC
10 |
11 | #define COLOR_GRAY 0xff4C4A4C
12 | #define COLOR_DARK 0xff090509
13 | #define COLOR_DARK_TRANSPARENT 0x80090509
14 | #define COLOR_ORANGE 0xffde7642
15 | #define COLOR_LIGHT_GREEN 0xff6BDB63
--------------------------------------------------------------------------------
/leagueoflegends/selfprotection/utils.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 |
5 | #include "strings/obfuscator.h"
6 |
7 | #define SP_STRING(str) obfs::make_string, xor_<0x50>>(str).decode()
8 |
9 | template
10 | constexpr char xor_(char c) {
11 | return c ^ key;
12 | }
13 |
14 | template
15 | constexpr char add(char c) {
16 | return c + Key;
17 | }
18 |
19 | template
20 | constexpr char comp(char c) {
21 | return f(g(c));
22 | }
--------------------------------------------------------------------------------
/leagueoflegends/global/utils.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | typedef unsigned long long QWORD;
4 |
5 | #define IsValidPtr(addr) ((QWORD)(addr) > 0x100 && (QWORD)(addr) < 0x00007fffffffffff && !IsBadReadPtr(addr, sizeof(PVOID)))
6 |
7 | #define NOP 0x90
8 |
9 | #define PI 3.1415927f
10 |
11 | #define CHAT_COLOR(color, text) std::string(SP_STRING("") + std::string(SP_STRING(text)) + SP_STRING(""))
12 | #define CHAT_COLOR_DT(color, text) std::string(SP_STRING("") + std::string(text) + SP_STRING(""))
--------------------------------------------------------------------------------
/leagueoflegends/hooks/hooks.cpp:
--------------------------------------------------------------------------------
1 | #include "../stdafx.h"
2 |
3 | namespace hooks
4 | {
5 | std::vector renderTypeNames = { "D3D9", "D3D11" };
6 | std::vector renderTypesIds = { 1, 3 };
7 |
8 | void CheckType(int renderType, const char* typeName)
9 | {
10 | if (kiero::init((kiero::RenderType::Enum)renderType) == kiero::Status::Success) globals::renderType = typeName;
11 | }
12 |
13 | int Init(int index)
14 | {
15 | CheckType(renderTypesIds[index], renderTypeNames[index]);
16 |
17 | if (globals::renderType)
18 | {
19 | hooks::impl::Init();
20 | return 1;
21 | }
22 |
23 | return 0;
24 | }
25 | }
--------------------------------------------------------------------------------
/leagueoflegends/global/globals.cpp:
--------------------------------------------------------------------------------
1 | #include "../stdafx.h"
2 |
3 | namespace globals
4 | {
5 | QWORD moduleBase;
6 | MODULEINFO moduleInfo;
7 |
8 | bool eject = false;
9 | const char* renderType;
10 | bool hookResponse = false;
11 | ImVec2 menuSize;
12 | bool menuOpen = false;
13 |
14 | float windowWidth = 0.0f;
15 | float windowHeight = 0.0f;
16 |
17 | Object* localPlayer;
18 | ObjectManager* heroManager;
19 | ObjectManager* minionManager;
20 |
21 | namespace scripts
22 | {
23 | namespace orbwalker
24 | {
25 | OrbwalkState orbwalkState;
26 | }
27 |
28 | namespace recalls
29 | {
30 | std::vector recallList = {};
31 | float timeBuffer = 0.035f;
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## leagueoflegends
2 |
3 | Simple source including:
4 | - recall tracker (outdated)
5 | - cooldown tracker (outdated)
6 | - orbwalker
7 | - champion modules
8 | - simple prediction & targetselection
9 | - skinchanger (based on R3nzSkin source)
10 |
11 | *Updated for patch 13.14.522 (minipatch after 13.14 release)*
12 |
13 | ### How to use the Injector
14 |
15 | In order for the injector to work, you need to put two compiled [Guided Hacking injector library](https://github.com/Broihon/GH-Injector-Library) files inside the output directory.
16 | 
17 |
18 | ### Default hotkeys
19 | - Open menu - Shift
20 | - Attack - Space
21 | - Uninject - Esc
22 |
--------------------------------------------------------------------------------
/leagueoflegends/global/globals.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "../stdafx.h"
4 |
5 | namespace globals
6 | {
7 | extern QWORD moduleBase;
8 | extern MODULEINFO moduleInfo;
9 |
10 | extern bool eject;
11 | extern const char* renderType;
12 | extern bool hookResponse;
13 | extern ImVec2 menuSize;
14 | extern bool menuOpen;
15 |
16 | extern float windowWidth;
17 | extern float windowHeight;
18 |
19 | extern Object* localPlayer;
20 | extern ObjectManager* heroManager;
21 | extern ObjectManager* minionManager;
22 |
23 | namespace scripts
24 | {
25 | namespace orbwalker
26 | {
27 | extern OrbwalkState orbwalkState;
28 | }
29 |
30 | namespace recalls
31 | {
32 | extern std::vector recallList;
33 | extern float timeBuffer;
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/leagueoflegends/scripts/championmodule.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "../stdafx.h"
4 |
5 | class ChampionModule
6 | {
7 | public:
8 | virtual ~ChampionModule() {}
9 | virtual void Init() = 0;
10 | virtual void Update() = 0;
11 | virtual void Attack() = 0;
12 | virtual void Render() = 0;
13 | };
14 |
15 | class ChampionModuleManager
16 | {
17 | private:
18 | std::map modules;
19 |
20 | static ChampionModuleManager& GetInstance() {
21 | static ChampionModuleManager instance;
22 | return instance;
23 | }
24 |
25 | ChampionModuleManager() {}
26 |
27 | public:
28 | static void RegisterModule(const std::string& name, ChampionModule* module) {
29 | GetInstance().modules[name] = module;
30 | }
31 |
32 | static ChampionModule* GetModule(const std::string& name) {
33 | auto& instance = GetInstance();
34 | auto it = instance.modules.find(name);
35 | if (it != instance.modules.end()) {
36 | return it->second;
37 | }
38 | else {
39 | return nullptr;
40 | }
41 | }
42 | };
--------------------------------------------------------------------------------
/NamedPipeConsole/NamedPipeConsole.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 |
--------------------------------------------------------------------------------
/leagueoflegends/mem/spoofer.asm:
--------------------------------------------------------------------------------
1 |
2 | PUBLIC _spoofer_stub
3 |
4 | .code
5 |
6 | _spoofer_stub PROC
7 | pop r11 ; poping without setting up stack frame, r11 is the return address (the one in our code)
8 | add rsp, 8 ; skipping callee reserved space
9 | mov rax, [rsp + 24] ; dereference shell_param
10 |
11 | mov r10, [rax] ; load shell_param.trampoline
12 | mov [rsp], r10 ; store address of trampoline as return address
13 |
14 | mov r10, [rax + 8] ; load shell_param.function
15 | mov [rax + 8], r11 ; store the original return address in shell_param.function
16 |
17 | mov [rax + 16], rbx ; preserve rbx in shell_param.rbx
18 | lea rbx, fixup
19 | mov [rax], rbx ; store address of fixup label in shell_param.trampoline
20 | mov rbx, rax ; preserve address of shell_param in rbx
21 |
22 | jmp r10 ; call shell_param.function
23 |
24 | fixup:
25 | sub rsp, 16
26 | mov rcx, rbx ; restore address of shell_param
27 | mov rbx, [rcx + 16] ; restore rbx from shell_param.rbx
28 | jmp QWORD PTR [rcx + 8] ; jmp to the original return address
29 | _spoofer_stub ENDP
30 |
31 | END
--------------------------------------------------------------------------------
/leagueoflegends/scripts/champions/drmundo.cpp:
--------------------------------------------------------------------------------
1 | #include "../../stdafx.h"
2 |
3 | using namespace scripts;
4 |
5 | class DrMundoModule : public ChampionModule
6 | {
7 | private:
8 | std::string name = SP_STRING("DrMundo");
9 |
10 | Skillshot q = SkillshotManager::RegisterSpell(name, SpellIndex::Q, Skillshot(1000.0f, 70.0f, 2000.0f, 0.25f, SkillshotType::SkillshotLine, { CollidableObjects::Objects }));
11 |
12 | private:
13 | float gameTime = 0.0f;
14 |
15 | public:
16 | DrMundoModule()
17 | {
18 | ChampionModuleManager::RegisterModule(name, this);
19 | }
20 |
21 | void Init() override
22 | {
23 |
24 | }
25 |
26 | void Update() override
27 | {
28 | gameTime = functions::GetGameTime();
29 | }
30 |
31 | void Attack() override
32 | {
33 | prediction::PredictionOutput qPrediction;
34 | if (q.IsCastable() && prediction::GetPrediction(q, qPrediction))
35 | {
36 | actions::CastSpell(SpellIndex::Q, qPrediction.position);
37 | return;
38 | }
39 | }
40 |
41 | void Render() override
42 | {
43 |
44 | }
45 | };
46 |
47 | DrMundoModule module;
--------------------------------------------------------------------------------
/leagueoflegends/scripts/skillshotdatabase.cpp:
--------------------------------------------------------------------------------
1 | #include "../stdafx.h"
2 |
3 | void Skillshot::SetSlotIndex(int slotId)
4 | {
5 | this->slotIndex = slotId;
6 | }
7 |
8 | float Skillshot::GetRange()
9 | {
10 | return this->range;
11 | }
12 |
13 | float Skillshot::GetRadius()
14 | {
15 | return this->radius;
16 | }
17 |
18 | float Skillshot::GetSpeed()
19 | {
20 | return this->speed;
21 | }
22 |
23 | float Skillshot::GetCastTime()
24 | {
25 | return this->castTime;
26 | }
27 |
28 | int Skillshot::GetType()
29 | {
30 | return this->type;
31 | }
32 |
33 | bool Skillshot::IsCollidableWith(int type)
34 | {
35 | return std::find(this->collidableWith.begin(), this->collidableWith.end(), type) != this->collidableWith.end();
36 | }
37 |
38 | float Skillshot::GetMaxRange()
39 | {
40 | return (this->type == SkillshotType::SkillshotCircle) ? this->range + (this->radius - min(this->radius, 70.0f)) : this->range;
41 | }
42 |
43 | std::string Skillshot::GetName()
44 | {
45 | return globals::localPlayer->GetSpellBySlotId(this->slotIndex)->GetName();
46 | }
47 |
48 | bool Skillshot::IsCastable()
49 | {
50 | return globals::localPlayer->CanCastSpell(this->slotIndex);
51 | }
52 |
53 | int Skillshot::GetStacks()
54 | {
55 | return globals::localPlayer->GetSpellBySlotId(this->slotIndex)->GetStacks();
56 | }
--------------------------------------------------------------------------------
/leagueoflegends/global/leagueobfuscation.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | template
4 | struct LeagueObfuscation
5 | {
6 | bool isInit;
7 | unsigned char xorCount64;
8 | unsigned char xorCount8;
9 | T xorKey;
10 | unsigned char valueIndex;
11 | T valueTable[4];
12 | };
13 |
14 | template
15 | inline T Decrypt(const LeagueObfuscation& data)
16 | {
17 | if (!data.isInit)
18 | throw std::exception("");
19 |
20 | if (data.xorCount8 != 0)
21 | if (data.xorCount8 > sizeof(T) || data.xorCount8 < 0)
22 | throw std::exception("");
23 |
24 | if (data.xorCount64 != 0)
25 | if (data.xorCount64 > sizeof(T) || data.xorCount64 < 0)
26 | throw std::exception("");
27 |
28 | if (data.valueIndex > 4)
29 | throw std::exception("");
30 |
31 | int xorCount64 = data.xorCount64 >= 1 ? 1 : 0;
32 |
33 | auto tXoredValue = data.valueTable[data.valueIndex];
34 | auto tXorKeyValue = data.xorKey;
35 | {
36 | auto tXorValuePtr = reinterpret_cast(&tXorKeyValue);
37 | for (auto i = 0; i < xorCount64; i++)
38 | *(reinterpret_cast(&tXoredValue) + i) ^= ~tXorValuePtr[i];
39 | }
40 | {
41 | auto tXorValuePtr = reinterpret_cast(&tXorKeyValue);
42 | for (auto i = sizeof(T) - data.xorCount8; i < sizeof(T); ++i)
43 | *(reinterpret_cast(&tXoredValue) + i) ^= ~tXorValuePtr[i];
44 | }
45 | return tXoredValue;
46 | }
--------------------------------------------------------------------------------
/leagueoflegends/imgui/imgui_impl_dx9.h:
--------------------------------------------------------------------------------
1 | // dear imgui: Renderer Backend for DirectX9
2 | // This needs to be used along with a Platform Backend (e.g. Win32)
3 |
4 | // Implemented features:
5 | // [X] Renderer: User texture binding. Use 'LPDIRECT3DTEXTURE9' as ImTextureID. Read the FAQ about ImTextureID!
6 | // [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices.
7 |
8 | // You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
9 | // Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
10 | // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
11 | // Read online: https://github.com/ocornut/imgui/tree/master/docs
12 |
13 | #pragma once
14 | #include "imgui.h" // IMGUI_IMPL_API
15 |
16 | struct IDirect3DDevice9;
17 |
18 | IMGUI_IMPL_API bool ImGui_ImplDX9_Init(IDirect3DDevice9* device);
19 | IMGUI_IMPL_API void ImGui_ImplDX9_Shutdown();
20 | IMGUI_IMPL_API void ImGui_ImplDX9_NewFrame();
21 | IMGUI_IMPL_API void ImGui_ImplDX9_RenderDrawData(ImDrawData* draw_data);
22 |
23 | // Use if you want to reset your rendering device without losing Dear ImGui state.
24 | IMGUI_IMPL_API bool ImGui_ImplDX9_CreateDeviceObjects();
25 | IMGUI_IMPL_API void ImGui_ImplDX9_InvalidateDeviceObjects();
26 |
--------------------------------------------------------------------------------
/leagueoflegends/imgui/imgui_impl_dx10.h:
--------------------------------------------------------------------------------
1 | // dear imgui: Renderer Backend for DirectX10
2 | // This needs to be used along with a Platform Backend (e.g. Win32)
3 |
4 | // Implemented features:
5 | // [X] Renderer: User texture backend. Use 'ID3D10ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6 | // [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices.
7 |
8 | // You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
9 | // Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
10 | // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
11 | // Read online: https://github.com/ocornut/imgui/tree/master/docs
12 |
13 | #pragma once
14 | #include "imgui.h" // IMGUI_IMPL_API
15 |
16 | struct ID3D10Device;
17 |
18 | IMGUI_IMPL_API bool ImGui_ImplDX10_Init(ID3D10Device* device);
19 | IMGUI_IMPL_API void ImGui_ImplDX10_Shutdown();
20 | IMGUI_IMPL_API void ImGui_ImplDX10_NewFrame();
21 | IMGUI_IMPL_API void ImGui_ImplDX10_RenderDrawData(ImDrawData* draw_data);
22 |
23 | // Use if you want to reset your rendering device without losing Dear ImGui state.
24 | IMGUI_IMPL_API void ImGui_ImplDX10_InvalidateDeviceObjects();
25 | IMGUI_IMPL_API bool ImGui_ImplDX10_CreateDeviceObjects();
26 |
--------------------------------------------------------------------------------
/leagueoflegends/imgui/imgui_impl_dx11.h:
--------------------------------------------------------------------------------
1 | // dear imgui: Renderer Backend for DirectX11
2 | // This needs to be used along with a Platform Backend (e.g. Win32)
3 |
4 | // Implemented features:
5 | // [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6 | // [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices.
7 |
8 | // You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
9 | // Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
10 | // If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
11 | // Read online: https://github.com/ocornut/imgui/tree/master/docs
12 |
13 | #pragma once
14 | #include "imgui.h" // IMGUI_IMPL_API
15 |
16 | struct ID3D11Device;
17 | struct ID3D11DeviceContext;
18 |
19 | IMGUI_IMPL_API bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context);
20 | IMGUI_IMPL_API void ImGui_ImplDX11_Shutdown();
21 | IMGUI_IMPL_API void ImGui_ImplDX11_NewFrame();
22 | IMGUI_IMPL_API void ImGui_ImplDX11_RenderDrawData(ImDrawData* draw_data);
23 |
24 | // Use if you want to reset your rendering device without losing Dear ImGui state.
25 | IMGUI_IMPL_API void ImGui_ImplDX11_InvalidateDeviceObjects();
26 | IMGUI_IMPL_API bool ImGui_ImplDX11_CreateDeviceObjects();
27 |
--------------------------------------------------------------------------------
/start/start.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
6 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
7 |
8 |
9 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
10 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
11 |
12 |
13 | {6007c53d-7bc5-4caa-9a37-d534188b6c57}
14 |
15 |
16 |
17 |
18 | Header Files
19 |
20 |
21 | main
22 |
23 |
24 |
25 |
26 | Resource Files
27 |
28 |
29 |
30 |
31 | Resource Files
32 |
33 |
34 |
35 |
36 | main
37 |
38 |
39 |
--------------------------------------------------------------------------------
/leagueoflegends/global/stringcheck.cpp:
--------------------------------------------------------------------------------
1 | #include "../stdafx.h"
2 |
3 | namespace functions::stringcheck
4 | {
5 | static std::vector jungleMonsterObjects = {
6 | JUNGLE_MONSTER_GROMP,
7 | JUNGLE_MONSTER_WOLF,
8 | JUNGLE_MONSTER_WOLF_MINI,
9 | JUNGLE_MONSTER_RAPTOR,
10 | JUNGLE_MONSTER_RAPTOR_MINI,
11 | JUNGLE_MONSTER_KRUG,
12 | JUNGLE_MONSTER_KRUG_MINI,
13 | JUNGLE_MONSTER_KRUG_MINI_MINI,
14 | JUNGLE_MONSTER_CRAB,
15 | JUNGLE_MONSTER_BLUE,
16 | JUNGLE_MONSTER_RED,
17 | JUNGLE_MONSTER_BARON,
18 | JUNGLE_MONSTER_HERALD,
19 | JUNGLE_MONSTER_DRAGON_INFERNAL,
20 | JUNGLE_MONSTER_DRAGON_OCEAN,
21 | JUNGLE_MONSTER_DRAGON_MOUNTAIN,
22 | JUNGLE_MONSTER_DRAGON_CLOUD,
23 | JUNGLE_MONSTER_DRAGON_HEXTECH,
24 | JUNGLE_MONSTER_DRAGON_CHEMTECH,
25 | JUNGLE_MONSTER_DRAGON_ELDER
26 | };
27 |
28 | static std::vector minionObjects = {
29 | MINION_MELEE_BLUE,
30 | MINION_MELEE_RED,
31 | MINION_RANGED_BLUE,
32 | MINION_RANGED_RED,
33 | MINION_CANNON_BLUE,
34 | MINION_CANNON_RED,
35 | MINION_SUPER_BLUE,
36 | MINION_SUPER_RED
37 | };
38 |
39 | bool VectorContains(std::vector vector, std::string string)
40 | {
41 | return std::find(vector.begin(), vector.end(), string) != vector.end();
42 | }
43 |
44 | bool IsJungleMonsterObject(std::string objectName)
45 | {
46 | return VectorContains(jungleMonsterObjects, objectName);
47 | }
48 |
49 | bool IsMinionObject(std::string objectName)
50 | {
51 | return VectorContains(minionObjects, objectName);
52 | }
53 | }
--------------------------------------------------------------------------------
/leagueoflegends/stdafx.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 | #include
5 | #include
6 | #include
7 |
8 | #include
9 | #include