using System; namespace CalamityMod.NPCs { /// /// This attribute allows ModNPC to always sync for their position and rotation data at least every 45 frames /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public sealed class LongDistanceNetSyncAttribute : Attribute { /// /// Syncs this NPC to other NPC's sync frame /// If this is not present, We cannot properly sync full NPC bodyparts in same frame! (This is important for Worm-type NPCs) /// public Type SyncWith { get; set; } = null; public LongDistanceNetSyncAttribute() { } } }