-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGlobals.cs
More file actions
62 lines (52 loc) · 2.13 KB
/
Copy pathGlobals.cs
File metadata and controls
62 lines (52 loc) · 2.13 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
50
51
52
53
54
55
56
57
58
59
60
61
62
using EFT.InventoryLogic;
using EFT.UI;
using System.Collections.Generic;
namespace ShowMeTheStats
{
public static class Globals
{
public static bool isWeaponModding = false;
public static Item mod = null;
public static List<Slot> allSlots = new List<Slot>();
public static SimpleTooltip simpleTooltip = null;
//public static Slot slotType = null;
public static Item dropDownCurrentItem = null;
public static bool isKeyPressed = false;
//some stats are not very interesting to see and will clog up the ui more than anything, so we blacklist them
public static string[] statBlacklist = {
EItemAttributeId.CompatibleWith.ToString(),
EItemAttributeId.Weight.ToString(),
EItemAttributeId.Size.ToString(),
//EItemAttributeId.Caliber.ToString(),
//EItemAttributeId.BulletSpeed.ToString(),
EItemAttributeId.RaidModdable.ToString(),
EItemAttributeId.OpticCrate.ToString(),
//EItemAttributeId.EffectiveDist.ToString(),
//EItemAttributeId.EffectiveDistance.ToString(),
//EItemAttributeId.Velocity.ToString(),
EItemAttributeId.SightingRange.ToString(),
//EItemAttributeId.AmmoCaliber.ToString(),
EItemAttributeId.SingleFireRate.ToString(),
EItemAttributeId.FireRate.ToString(),
EItemAttributeId.DurabilityBurn.ToString(),
EItemAttributeId.HeatFactor.ToString(),
EItemAttributeId.CoolFactor.ToString(),
EItemAttributeId.MalfFeedChance.ToString(),
EItemAttributeId.MalfMisfireChance.ToString(),
EItemAttributeId.LoadUnloadSpeed.ToString(),
EItemAttributeId.CheckTimeSpeed.ToString(),
"AutoROF",
"SemiROF",
};
public static void ClearAllGlobals()
{
isWeaponModding = false;
mod = null;
allSlots.Clear();
simpleTooltip = null;
//slotType = null;
dropDownCurrentItem = null;
isKeyPressed = false;
}
}
}