Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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!
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user