Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -4,16 +4,16 @@ using JetBrains.Annotations;
|
||||
namespace Content.Server.Construction.Completions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public sealed class RaiseEvent : IGraphAction
|
||||
public sealed partial class RaiseEvent : IGraphAction
|
||||
{
|
||||
[DataField("event", required:true)]
|
||||
public EntityEventArgs? Event { get; }
|
||||
public EntityEventArgs? Event { get; private set; }
|
||||
|
||||
[DataField("directed")]
|
||||
public bool Directed { get; } = true;
|
||||
public bool Directed { get; private set; } = true;
|
||||
|
||||
[DataField("broadcast")]
|
||||
public bool Broadcast { get; } = true;
|
||||
public bool Broadcast { get; private set; } = true;
|
||||
|
||||
public void PerformAction(EntityUid uid, EntityUid? userUid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user