Conditional map support (#5868)
Co-authored-by: E F R <602406+Efruit@users.noreply.github.com> Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
11
Content.Server/Maps/GameMapCondition.cs
Normal file
11
Content.Server/Maps/GameMapCondition.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.Maps;
|
||||
|
||||
[ImplicitDataDefinitionForInheritors]
|
||||
public abstract class GameMapCondition
|
||||
{
|
||||
[DataField("inverted")]
|
||||
public bool Inverted { get; }
|
||||
public abstract bool Check(GameMapPrototype map);
|
||||
}
|
||||
Reference in New Issue
Block a user