using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Tabletop { [ImplicitDataDefinitionForInheritors] public abstract partial class TabletopSetup { /// /// Method for setting up a tabletop. Use this to spawn the board and pieces, etc. /// Make sure you add every entity you create to the Entities hashset in the session. /// /// Tabletop session to set up. You'll want to grab the tabletop center position here for spawning entities. /// Dependency that can be used for spawning entities. public abstract void SetupTabletop(TabletopSession session, IEntityManager entityManager); [DataField("boardPrototype", customTypeSerializer:typeof(PrototypeIdSerializer))] public string BoardPrototype = default!; } }