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

@@ -8,7 +8,7 @@ namespace Content.Server.Holiday.Christmas;
/// This is used for granting items to lucky souls, exactly once.
/// </summary>
[RegisterComponent, Access(typeof(LimitedItemGiverSystem))]
public sealed class LimitedItemGiverComponent : Component
public sealed partial class LimitedItemGiverComponent : Component
{
/// <summary>
/// Santa knows who you are behind the screen, only one gift per player per round!

View File

@@ -9,7 +9,7 @@ namespace Content.Server.Holiday.Christmas;
/// This is used for gifts with COMPLETELY random things.
/// </summary>
[RegisterComponent, Access(typeof(RandomGiftSystem))]
public sealed class RandomGiftComponent : Component
public sealed partial class RandomGiftComponent : Component
{
/// <summary>
/// The wrapper entity to spawn when unwrapping the gift.

View File

@@ -4,7 +4,7 @@
/// This is used as a marker component, allows them to see gift contents.
/// </summary>
[RegisterComponent]
public sealed class SantaComponent : Component
public sealed partial class SantaComponent : Component
{
}