Refactor serialization copying to use source generators (#19412)

This commit is contained in:
DrSmugleaf
2023-08-22 18:14:33 -07:00
committed by GitHub
parent 08b43990ab
commit a88e747a0b
1737 changed files with 2532 additions and 2521 deletions

View File

@@ -242,7 +242,7 @@ namespace Content.Server.Bible
}
}
public sealed class SummonActionEvent : InstantActionEvent
public sealed partial class SummonActionEvent : InstantActionEvent
{
}

View File

@@ -4,7 +4,7 @@ using Robust.Shared.Audio;
namespace Content.Server.Bible.Components
{
[RegisterComponent]
public sealed class BibleComponent : Component
public sealed partial class BibleComponent : Component
{
/// <summary>
/// Damage that will be healed on a success

View File

@@ -1,5 +1,5 @@
namespace Content.Server.Bible.Components
{
[RegisterComponent]
public sealed class BibleUserComponent : Component {}
public sealed partial class BibleUserComponent : Component {}
}

View File

@@ -6,7 +6,7 @@ namespace Content.Server.Bible.Components
/// if any special behavior is needed.
/// </summary>
[RegisterComponent]
public sealed class FamiliarComponent : Component
public sealed partial class FamiliarComponent : Component
{
/// <summary>
/// The entity this familiar was summoned from.

View File

@@ -9,7 +9,7 @@ namespace Content.Server.Bible.Components
/// This lets you summon a mob or item with an alternative verb on the item
/// </summary>
[RegisterComponent]
public sealed class SummonableComponent : Component
public sealed partial class SummonableComponent : Component
{
/// <summary>
/// Used for a special item only the Chaplain can summon. Usually a mob, but supports regular items too.

View File

@@ -4,6 +4,6 @@ namespace Content.Server.Bible.Components
/// EntityQuery Tracking Component for Summonables that are counting up a respawn.
/// </summary>
[RegisterComponent]
public sealed class SummonableRespawningComponent : Component
public sealed partial class SummonableRespawningComponent : Component
{}
}