LogType.cs 9.9 KB

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