Add Content.Shared.Database (#5588)

This commit is contained in:
Pieter-Jan Briers
2021-11-28 14:56:53 +01:00
committed by GitHub
parent f3ae907e7c
commit 64861ff034
71 changed files with 87 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,11 @@
namespace Content.Shared.Database;
// DO NOT CHANGE THE NUMERIC VALUES OF THESE
[Serializable]
public enum LogImpact : sbyte
{
Low = -1,
Medium = 0,
High = 1,
Extreme = 2 // Nar'Sie just dropped
}

View File

@@ -0,0 +1,56 @@
namespace Content.Shared.Database;
// DO NOT CHANGE THE NUMERIC VALUES OF THESE
public enum LogType
{
Unknown = 0, // do not use
// DamageChange = 1
Damaged = 2,
Healed = 3,
Slip = 4,
EventAnnounced = 5,
EventStarted = 6,
EventRan = 16,
EventStopped = 7,
Verb = 19,
ShuttleCalled = 8,
ShuttleRecalled = 9,
ExplosiveDepressurization = 10,
Respawn = 13,
RoundStartJoin = 14,
LateJoin = 15,
ChemicalReaction = 17,
ReagentEffect = 18,
CanisterValve = 20,
CanisterPressure = 21,
CanisterPurged = 22,
CanisterTankEjected = 23,
CanisterTankInserted = 24,
DisarmedAction = 25,
DisarmedKnockdown = 26,
AttackArmedClick = 27,
AttackArmedWide = 28,
AttackUnarmedClick = 29,
AttackUnarmedWide = 30,
InteractHand = 31,
InteractActivate = 32,
Throw = 33,
Landed = 34,
ThrowHit = 35,
Pickup = 36,
Drop = 37,
BulletHit = 38,
MeleeHit = 41,
HitScanHit = 42,
Suicide = 43,
Explosion = 44,
Radiation = 45,
Barotrauma = 46,
Flammable = 47,
Asphyxiation = 48,
Temperature = 49,
Hunger = 50,
Thirst = 51,
Electrocution = 52,
CrayonDraw = 39,
}