-
Notifications
You must be signed in to change notification settings - Fork 26
/
enums.js
85 lines (78 loc) · 1.38 KB
/
enums.js
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
75
76
77
78
79
80
81
82
83
84
85
const TeamFortress2 = require('./index.js');
TeamFortress2.GCGoodbyeReason = {
GC_GOING_DOWN: 1,
NO_SESSION: 2
};
TeamFortress2.TradeResponse = {
Accepted: 0,
Declined: 1,
TradeBannedInitiator: 2,
TradeBannedTarget: 3,
TargetAlreadyTrading: 4,
Disabled: 5,
NotLoggedIn: 6,
Cancel: 7,
TooSoon: 8,
TooSoonPenalty: 9,
ConnectionFailed: 10,
AlreadyTrading: 11,
AlreadyHasTradeRequest: 12,
NoResponse: 13,
CyberCafeInitiator: 14,
CyberCafeTarget: 15,
SchoolLabInitiator: 16,
SchoolLabTarget: 16,
InitiatorBlockedTarget: 18,
InitiatorNeedsVerifiedEmail: 20,
InitiatorNeedsSteamGuard: 21,
TargetAccountCannotTrade: 22,
InitiatorSteamGuardDuration: 23,
InitiatorPasswordResetProbation: 24,
InitiatorNewDeviceCooldown: 25,
OKToDeliver: 50
};
TeamFortress2.Class = {
Scout: 1,
Sniper: 2,
Soldier: 3,
Demoman: 4,
Medic: 5,
Heavy: 6,
Pyro: 7,
Spy: 8,
Engineer: 9
};
TeamFortress2.ItemSlot = {
Primary: 0,
Secondary: 1,
Melee: 2,
// 3 appears to be unused
Sapper: 4, // Sapper
PDA: 5,
PDA2: 6,
Cosmetic1: 7,
Cosmetic2: 8,
Action: 9,
Cosmetic3: 10,
Taunt1: 11,
Taunt2: 12,
Taunt3: 13,
Taunt4: 14,
Taunt5: 15,
Taunt6: 16,
Taunt7: 17,
Taunt8: 18
};
TeamFortress2.ItemFlags = {
CannotTrade: (1 << 0),
CannotCraft: (1 << 1),
NotEcon: (1 << 3),
Preview: (1 << 7)
};
TeamFortress2.War = {
HeavyVsPyro: 0
};
TeamFortress2.HeavyVsPyroWarSide = {
Heavy: 0,
Pyro: 1
};