Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Shared.Store.Conditions;
|
||||
/// Supports both blacklists and whitelists. This is copypaste because roles
|
||||
/// are absolute shitcode. Refactor this later. -emo
|
||||
/// </summary>
|
||||
public sealed class BuyerAntagCondition : ListingCondition
|
||||
public sealed partial class BuyerAntagCondition : ListingCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// A whitelist of antag roles that can purchase this listing. Only one needs to be found.
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Server.Store.Conditions;
|
||||
/// Allows a store entry to be filtered out based on the user's job.
|
||||
/// Supports both blacklists and whitelists
|
||||
/// </summary>
|
||||
public sealed class BuyerJobCondition : ListingCondition
|
||||
public sealed partial class BuyerJobCondition : ListingCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// A whitelist of jobs prototypes that can purchase this listing. Only one needs to be found.
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Store.Conditions;
|
||||
/// Allows a store entry to be filtered out based on the user's species.
|
||||
/// Supports both blacklists and whitelists.
|
||||
/// </summary>
|
||||
public sealed class BuyerSpeciesCondition : ListingCondition
|
||||
public sealed partial class BuyerSpeciesCondition : ListingCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// A whitelist of species that can purchase this listing.
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.Store.Conditions;
|
||||
/// <summary>
|
||||
/// Filters out an entry based on the components or tags on an entity.
|
||||
/// </summary>
|
||||
public sealed class BuyerWhitelistCondition : ListingCondition
|
||||
public sealed partial class BuyerWhitelistCondition : ListingCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// A whitelist of tags or components.
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Content.Server.Store.Conditions;
|
||||
/// <summary>
|
||||
/// Only allows a listing to be purchased a certain amount of times.
|
||||
/// </summary>
|
||||
public sealed class ListingLimitedStockCondition : ListingCondition
|
||||
public sealed partial class ListingLimitedStockCondition : ListingCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// The amount of times this listing can be purchased.
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.Store.Conditions;
|
||||
/// <summary>
|
||||
/// Filters out an entry based on the components or tags on the store itself.
|
||||
/// </summary>
|
||||
public sealed class StoreWhitelistCondition : ListingCondition
|
||||
public sealed partial class StoreWhitelistCondition : ListingCondition
|
||||
{
|
||||
/// <summary>
|
||||
/// A whitelist of tags or components.
|
||||
|
||||
Reference in New Issue
Block a user