forked from sailro/EscapeFromTarkov-Trainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoader.cs
More file actions
49 lines (44 loc) · 1.43 KB
/
Copy pathLoader.cs
File metadata and controls
49 lines (44 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using UnityEngine;
#nullable enable
namespace EFT.Trainer
{
public class Loader
{
public static GameObject HookObject
{
get
{
var result = GameObject.Find("Application (Main Client)");
if (result != null)
return result;
result = new GameObject(nameof(Loader));
Object.DontDestroyOnLoad(result);
return result;
}
}
public static void Load()
{
var hookObject = HookObject;
hookObject.AddComponent<Features.Aimbot>();
hookObject.AddComponent<Features.GameState>();
hookObject.AddComponent<Features.ExfiltrationPoints>();
hookObject.AddComponent<Features.Hud>();
hookObject.AddComponent<Features.Players>();
hookObject.AddComponent<Features.WorldInteractiveObjects>();
hookObject.AddComponent<Features.NoRecoil>();
hookObject.AddComponent<Features.NoCollision>();
hookObject.AddComponent<Features.Quests>();
hookObject.AddComponent<Features.LootItems>();
hookObject.AddComponent<Features.LootableContainers>();
hookObject.AddComponent<Features.AutomaticGun>();
hookObject.AddComponent<Features.Stamina>();
hookObject.AddComponent<Features.NightVision>();
hookObject.AddComponent<Features.ThermalVision>();
hookObject.AddComponent<Features.NoVisor>();
hookObject.AddComponent<Features.CrossHair>();
hookObject.AddComponent<Features.Grenades>();
hookObject.AddComponent<Features.WallShoot>();
hookObject.AddComponent<Features.Commands>();
}
}
}