Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -6,19 +6,19 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.Fluids;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class AbsorbantDoAfterEvent : DoAfterEvent
|
||||
public sealed partial class AbsorbantDoAfterEvent : DoAfterEvent
|
||||
{
|
||||
[DataField("solution", required: true)]
|
||||
public readonly string TargetSolution = default!;
|
||||
public string TargetSolution = default!;
|
||||
|
||||
[DataField("message", required: true)]
|
||||
public readonly string Message = default!;
|
||||
public string Message = default!;
|
||||
|
||||
[DataField("sound", required: true)]
|
||||
public readonly SoundSpecifier Sound = default!;
|
||||
public SoundSpecifier Sound = default!;
|
||||
|
||||
[DataField("transferAmount", required: true)]
|
||||
public readonly FixedPoint2 TransferAmount;
|
||||
public FixedPoint2 TransferAmount;
|
||||
|
||||
private AbsorbantDoAfterEvent()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user