-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCheat.cs
74 lines (63 loc) · 2.47 KB
/
Cheat.cs
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
//using HarmonyLib;
using System.Reflection;
using ownned.ext;
using ownned.ext.Features;
namespace ownned.ext
{
public class Cheat
{
// ---------- GET ALL FEATURE CLASSES
PlayerControllerFeatures playerControllerFeatures = new PlayerControllerFeatures();
PlayerFeatures playerFeatures = new PlayerFeatures();
WebIgnore webIgnore = new WebIgnore();
CustomFov customFov = new CustomFov();
BatteryFeatures batteryFeatures = new BatteryFeatures();
// MoneyFeatures moneyFeatures = new MoneyFeatures(); // This is called only with buttons from Menu
/*
* e - enable
* f - float
* i - int
*/
// ---------- CHEAT VARS -----------
//Player Controller
public static bool e_playerControllerSpeedMultiplier = false;
public static float f_playerControllerSpeedMultiplier = 2.3f;
// Infinite Player Shit
public static bool e_infiniteJump = false;
public static bool e_infiniteHeal = false;
public static bool e_infiniteOxygen = false;
public static bool e_infiniteStamina = false;
public static bool e_godMode = false;
// Battery Object stuff
public static bool e_infiniteBatteryEnable = false; // Maybe use for dropdown menu in window shit
public static bool e_infiniteBatteryFlashlight = false;
public static bool e_infiniteBatteryDefib = false;
public static bool e_infiniteBatteryShockStick = false;
public static bool e_infiniteBatteryFlare = false;
public static bool e_infiniteBatteryVideoCamera = false;
//Custom FOV
public static bool e_customFov = false;
public static float f_customFov = 60f;
// Money stuff
public static int i_addMoney = 0;
public static int i_removeMoney = 0;
// Free cam
public static bool e_freecam = false;
// ignore web
public static bool e_ignoreWebs = false;
public void runCheat()
{
playerControllerFeatures.runPlayerControllerFeatures();
playerFeatures.runPlayerFeatures();
webIgnore.runWebIgnore();
customFov.runCustomFov();
batteryFeatures.runBatteryFeatures();
}
}
}