Add Content.Shared.Database (#5588)
This commit is contained in:
committed by
GitHub
parent
f3ae907e7c
commit
64861ff034
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Eui;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Administration.Logs;
|
||||
|
||||
// DO NOT CHANGE THE NUMERIC VALUES OF THESE
|
||||
[Serializable, NetSerializable]
|
||||
public enum LogImpact : sbyte
|
||||
{
|
||||
Low = -1,
|
||||
Medium = 0,
|
||||
High = 1,
|
||||
Extreme = 2 // Nar'Sie just dropped
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
namespace Content.Shared.Administration.Logs;
|
||||
|
||||
// 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,
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Content.Shared.Database;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Administration.Logs;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Globalization;
|
||||
using Content.Shared.Database;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.Administration.Logs;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Chemistry.Reagent;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Content.Shared.Sound;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Chemistry.Components;
|
||||
using Content.Shared.Chemistry.Reagent;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
@@ -2,6 +2,7 @@ using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Chemistry.Components;
|
||||
using Content.Shared.Chemistry.Reaction;
|
||||
using Content.Shared.Chemistry.Reagent;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.FixedPoint;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Chemistry.Components;
|
||||
using Content.Shared.Chemistry.Reagent;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.FixedPoint;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
@@ -5,6 +5,7 @@ using Content.Shared.Body.Prototypes;
|
||||
using Content.Shared.Botany;
|
||||
using Content.Shared.Chemistry.Components;
|
||||
using Content.Shared.Chemistry.Reaction;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<PackageReference Include="JetBrains.Annotations" Version="2020.3.0" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Content.Shared.Database\Content.Shared.Database.csproj" />
|
||||
<ProjectReference Include="..\RobustToolbox\Lidgren.Network\Lidgren.Network.csproj">
|
||||
<Private>false</Private>
|
||||
</ProjectReference>
|
||||
|
||||
@@ -14,6 +14,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
using Robust.Shared.ViewVariables;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Database;
|
||||
|
||||
namespace Content.Shared.Damage
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Linq;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Damage.Prototypes;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
@@ -4,6 +4,7 @@ using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using Content.Shared.ActionBlocker;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Item;
|
||||
using Robust.Shared.Containers;
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Content.Shared.ActionBlocker;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Hands;
|
||||
using Content.Shared.Hands.Components;
|
||||
using Content.Shared.Inventory;
|
||||
|
||||
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.StatusEffect;
|
||||
using Content.Shared.Stunnable;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Hands.Components;
|
||||
using Content.Shared.Physics;
|
||||
using Content.Shared.Physics.Pull;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Hands.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
@@ -3,6 +3,7 @@ using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Utility;
|
||||
using System;
|
||||
using Content.Shared.Database;
|
||||
|
||||
namespace Content.Shared.Verbs
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user