forked from DeltaV-Station/Delta-v
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLogType.cs
449 lines (363 loc) · 9.63 KB
/
LogType.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
namespace Content.Shared.Database;
// DO NOT CHANGE THE NUMERIC VALUES OF THESE
public enum LogType
{
/// <summary>
/// Test logs. DO NOT USE!!!
/// </summary>
Unknown = 0,
// DamageChange = 1
/// <summary>
/// A player dealt damage to an entity.
/// </summary>
Damaged = 2,
/// <summary>
/// A player healed an entity.
/// </summary>
Healed = 3,
/// <summary>
/// A player slipped on an entity.
/// </summary>
Slip = 4,
/// <summary>
/// Station event was added or announced.
/// </summary>
EventAnnounced = 5,
/// <summary>
/// Game rule was added or started.
/// </summary>
EventStarted = 6,
EventRan = 16,
/// <summary>
/// Game rule was stopped.
/// </summary>
EventStopped = 7,
/// <summary>
/// A player used a verb on an entity.
/// </summary>
Verb = 19,
/// <summary>
/// An evacuation shuttle was called.
/// </summary>
ShuttleCalled = 8,
/// <summary>
/// An evacuation shuttle was recalled.
/// </summary>
ShuttleRecalled = 9,
/// <summary>
/// Explosive depressurization related interactions.
/// </summary>
ExplosiveDepressurization = 10,
/// <summary>
/// A player or entity was respawned.
/// </summary>
Respawn = 13,
/// <summary>
/// A player joined station on round start.
/// </summary>
RoundStartJoin = 14,
/// <summary>
/// A player joined station after round start.
/// </summary>
LateJoin = 15,
/// <summary>
/// Chemical reactions related interactions.
/// </summary>
ChemicalReaction = 17,
/// <summary>
/// Reagent effects related interactions.
/// </summary>
ReagentEffect = 18,
/// <summary>
/// Canister valve was opened or closed.
/// </summary>
CanisterValve = 20,
/// <summary>
/// Release pressure on the canister was changed.
/// </summary>
CanisterPressure = 21,
/// <summary>
/// Canister purged its contents into the environment.
/// </summary>
CanisterPurged = 22,
/// <summary>
/// Tank was ejected from the canister.
/// </summary>
CanisterTankEjected = 23,
/// <summary>
/// Tank was inserted into the canister.
/// </summary>
CanisterTankInserted = 24,
/// <summary>
/// A player tried to disarm an entity.
/// </summary>
DisarmedAction = 25,
/// <summary>
/// A player knocked down an entity on the floor.
/// </summary>
DisarmedKnockdown = 26,
AttackArmedClick = 27,
AttackArmedWide = 28,
AttackUnarmedClick = 29,
AttackUnarmedWide = 30,
/// <summary>
/// A player interacted with an entity in his hand.
/// </summary>
InteractHand = 31,
/// <summary>
/// A player activated an entity.
/// </summary>
InteractActivate = 32,
/// <summary>
/// A player threw an entity.
/// </summary>
Throw = 33,
/// <summary>
/// Entity landed.
/// </summary>
Landed = 34,
/// <summary>
/// A thrown entity hit the other entity.
/// </summary>
ThrowHit = 35,
/// <summary>
/// A player picked up an entity.
/// </summary>
Pickup = 36,
/// <summary>
/// A player dropped an entity.
/// </summary>
Drop = 37,
/// <summary>
/// A bullet hit an entity.
/// </summary>
BulletHit = 38,
/// <summary>
/// A player force-feed an entity or injected it with a solution.
/// </summary>
ForceFeed = 40,
/// <summary>
/// A player ate an entity or injected themselves with a solution.
/// </summary>
Ingestion = 53,
/// <summary>
/// A melee attack hit an entity.
/// </summary>
MeleeHit = 41,
/// <summary>
/// A hitscan attack hit an entity.
/// </summary>
HitScanHit = 42,
/// <summary>
/// Suicides, ghosting, repossession, objectives, etc.
/// </summary>
Mind = 43,
/// <summary>
/// Explosions and explosives related interactions.
/// </summary>
Explosion = 44,
Radiation = 45,
/// <summary>
/// Entity started or stopped taking pressure damage.
/// </summary>
Barotrauma = 46,
/// <summary>
/// Fire started or stopped.
/// </summary>
Flammable = 47,
/// <summary>
/// Entity started or stopped suffocating.
/// </summary>
Asphyxiation = 48,
/// <summary>
/// Entity started or stopped taking temperature damage.
/// </summary>
Temperature = 49,
Hunger = 50,
Thirst = 51,
/// <summary>
/// Entity received electrocution damage.
/// </summary>
Electrocution = 52,
/// <summary>
/// A player drew using a crayon.
/// </summary>
CrayonDraw = 39,
/// <summary>
/// A player changed pressure on atmos device.
/// </summary>
AtmosPressureChanged = 54,
/// <summary>
/// A player changed power on atmos device.
/// </summary>
AtmosPowerChanged = 55,
/// <summary>
/// A player changed transfer rate on atmos device.
/// </summary>
AtmosVolumeChanged = 56,
/// <summary>
/// A player changed filter on atmos device.
/// </summary>
AtmosFilterChanged = 57,
/// <summary>
/// A player changed ratio on atmos device.
/// </summary>
AtmosRatioChanged = 58,
/// <summary>
/// Field generator was toggled or lost field connections.
/// </summary>
FieldGeneration = 59,
/// <summary>
/// A player took ghost role.
/// </summary>
GhostRoleTaken = 60,
/// <summary>
/// OOC, IC, LOOC, etc.
/// </summary>
Chat = 61,
/// <summary>
/// A player performed some action. Like pressing eject and flash buttons on a trash bin, etc.
/// </summary>
Action = 62,
/// <summary>
/// A player used RCD.
/// </summary>
RCD = 63,
/// <summary>
/// Construction related interactions.
/// </summary>
Construction = 64,
/// <summary>
/// Triggers related interactions.
/// </summary>
Trigger = 65,
/// <summary>
/// A player tries to anchor or anchored an entity.
/// </summary>
Anchor = 66,
/// <summary>
/// A player unanchored an entity.
/// </summary>
Unanchor = 67,
/// <summary>
/// Emergency shuttle related interactions.
/// </summary>
EmergencyShuttle = 68,
/// <summary>
/// A player emagged an entity.
/// </summary>
Emag = 69,
/// <summary>
/// A player was gibbed.
/// </summary>
Gib = 70,
/// <summary>
/// Identity related interactions.
/// </summary>
Identity = 71,
/// <summary>
/// A player cut a cable.
/// </summary>
CableCut = 72,
/// <summary>
/// A player purchased something from the "store".
/// </summary>
StorePurchase = 73,
/// <summary>
/// A player edited a tile using some tool.
/// </summary>
LatticeCut = 74,
/// <summary>
/// A player is equipping something on an entity or stripping it from it.
/// </summary>
Stripping = 75,
/// <summary>
/// A player caused stamina damage or entered stamina crit.
/// </summary>
Stamina = 76,
/// <summary>
/// A player's actions caused an entity spawn.
/// </summary>
EntitySpawn = 77,
/// <summary>
/// Prayers and subtle messages.
/// </summary>
AdminMessage = 78,
/// <summary>
/// Anomaly related interactions.
/// </summary>
Anomaly = 79,
/// <summary>
/// Cutting, mending and pulsing of wires.
/// </summary>
WireHacking = 80,
/// <summary>
/// Entity was teleported.
/// </summary>
Teleport = 81,
/// <summary>
/// Entity was removed in a result of something.
/// </summary>
EntityDelete = 82,
/// <summary>
/// Voting related interactions.
/// </summary>
Vote = 83,
/// <summary>
/// Entity was configured.
/// </summary>
ItemConfigure = 84,
/// <summary>
/// Device linking related interactions.
/// </summary>
DeviceLinking = 85,
/// <summary>
/// Tiles related interactions.
/// </summary>
Tile = 86,
BagOfHolding = 420, //Nyano - Summary: adds bag of holding.
Psionics = 421, //Nyano - Summary: ads psionic as a log type.
/// <summary>
/// A client has sent too many chat messages recently and is temporarily blocked from sending more.
/// </summary>
ChatRateLimited = 87,
/// <summary>
/// A player changed temperature on atmos device.
/// </summary>
AtmosTemperatureChanged = 88,
/// <summary>
/// Something was sent over device network. Like broadcast.
/// </summary>
DeviceNetwork = 89,
/// <summary>
/// A player had a refund at the "store".
/// </summary>
StoreRefund = 90,
/// <summary>
/// User was rate-limited for some spam action.
/// </summary>
/// <remarks>
/// This is a default value used by <c>PlayerRateLimitManager</c>, though users can use different log types.
/// </remarks>
RateLimited = 91,
/// <summary>
/// A player did an item-use interaction of an item they were holding onto another object.
/// </summary>
InteractUsing = 92,
/// <summary>
/// Storage & entity-storage related interactions
/// </summary>
Storage = 93,
/// <summary>
/// A player got hit by an explosion and was dealt damage.
/// </summary>
ExplosionHit = 94,
/// <summary>
/// A ghost warped to an entity through the ghost warp menu.
/// </summary>
GhostWarp = 95,
/// <summary>
/// A player interacted with a PDA or its cartridge component
/// </summary>
PdaInteract = 96,
}