Cleanup gun containers (probably last time) (#8575)

- snake_case instead of kebab-case
- Remove old MagazineBarrel containers
- Remove old event
This commit is contained in:
metalgearsloth
2022-06-02 00:37:55 +10:00
committed by GitHub
parent ffad61b751
commit 7f984792a1
21 changed files with 107 additions and 144 deletions

View File

@@ -1,13 +0,0 @@
using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Ranged.Events
{
/// <summary>
/// This is sent if the MagazineBarrel AutoEjects the magazine
/// </summary>
[Serializable, NetSerializable]
public sealed class MagazineAutoEjectEvent : EntityEventArgs
{
public EntityUid Uid;
}
}

View File

@@ -11,7 +11,7 @@ namespace Content.Shared.Weapons.Ranged.Systems;
public abstract partial class SharedGunSystem
{
protected const string ChamberSlot = "gun-chamber";
protected const string ChamberSlot = "gun_chamber";
protected virtual void InitializeChamberMagazine()
{

View File

@@ -10,7 +10,7 @@ namespace Content.Shared.Weapons.Ranged.Systems;
public abstract partial class SharedGunSystem
{
protected const string MagazineSlot = "gun-magazine";
protected const string MagazineSlot = "gun_magazine";
protected virtual void InitializeMagazine()
{