Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -3,7 +3,7 @@ using Content.Shared.PDA;
|
||||
namespace Content.Server.PDA.Ringer
|
||||
{
|
||||
[RegisterComponent]
|
||||
public sealed class RingerComponent : Component
|
||||
public sealed partial class RingerComponent : Component
|
||||
{
|
||||
[DataField("ringtone")]
|
||||
public Note[] Ringtone = new Note[SharedRingerSystem.RingtoneLength];
|
||||
@@ -30,7 +30,7 @@ namespace Content.Server.PDA.Ringer
|
||||
}
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class ActiveRingerComponent : Component
|
||||
public sealed partial class ActiveRingerComponent : Component
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Server.PDA.Ringer;
|
||||
/// Traitors are told the code when greeted.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(RingerSystem))]
|
||||
public sealed class RingerUplinkComponent : Component
|
||||
public sealed partial class RingerUplinkComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Notes to set ringtone to in order to lock or unlock the uplink.
|
||||
|
||||
Reference in New Issue
Block a user