Stop network serializing prototypes (#38602)
* Stop network serializing prototypes Send the damn proto ID instead. * Fix sandbox violation
This commit is contained in:
committed by
GitHub
parent
bb7e7c3e5f
commit
73df3b1593
@@ -11,7 +11,7 @@ namespace Content.Shared.Store;
|
||||
/// This is separate to the cargo ordering system.
|
||||
/// </summary>
|
||||
[Prototype]
|
||||
[DataDefinition, Serializable, NetSerializable]
|
||||
[DataDefinition]
|
||||
public sealed partial class CurrencyPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
|
||||
@@ -242,7 +242,6 @@ public partial class ListingData : IEquatable<ListingData>
|
||||
/// Defines a set item listing that is available in a store
|
||||
/// </summary>
|
||||
[Prototype]
|
||||
[Serializable, NetSerializable]
|
||||
[DataDefinition]
|
||||
public sealed partial class ListingPrototype : ListingData, IPrototype
|
||||
{
|
||||
@@ -423,7 +422,7 @@ public sealed partial class ListingDataWithCostModifiers : ListingData
|
||||
/// how <see cref="StoreDiscountComponent"/> will be filled by respective system.
|
||||
/// </summary>
|
||||
[Prototype]
|
||||
[DataDefinition, Serializable, NetSerializable]
|
||||
[DataDefinition]
|
||||
public sealed partial class DiscountCategoryPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
|
||||
@@ -7,7 +7,6 @@ namespace Content.Shared.Store;
|
||||
/// Used to define different categories for a store.
|
||||
/// </summary>
|
||||
[Prototype]
|
||||
[Serializable, NetSerializable, DataDefinition]
|
||||
public sealed partial class StoreCategoryPrototype : IPrototype
|
||||
{
|
||||
private string _name = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user