// ReSharper disable CheckNamespace, InconsistentNaming -- matches Stardew Valley's code using Netcode; namespace StardewValley { /// A simplified version of Stardew Valley's StardewValley.Item class for unit testing. public class Item { /// A net int field with an equivalent non-net Category property. public NetInt category { get; } = new NetInt { Value = 42 }; /// A net int field with no equivalent non-net property. public NetInt type { get; } = new NetInt { Value = 42 }; /// A net reference field. public NetRef refField { get; } = null; } }