using System; using System.Runtime.Serialization; using BinaryPack.Attributes; namespace NitroxModel.DataStructures.GameLogic.Entities.Metadata.Bases; [Serializable, DataContract] public class BaseAnchoredCellGhostMetadata : GhostMetadata { [DataMember(Order = 1)] public NitroxInt3? AnchoredCell { get; set; } [IgnoreConstructor] public BaseAnchoredCellGhostMetadata() { // Constructor for ProtoBuf deserialization. } /// Used for json deserialization public BaseAnchoredCellGhostMetadata(NitroxInt3? anchoredCell, NitroxInt3 targetOffset) : base(targetOffset) { AnchoredCell = anchoredCell; } }