explicit interface go brrrr
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Server.Mobs;
|
||||
using Content.Server.Objectives.Interfaces;
|
||||
using Robust.Shared.Interfaces.Serialization;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Server.Objectives.Requirements
|
||||
@@ -8,7 +9,8 @@ namespace Content.Server.Objectives.Requirements
|
||||
public class IncompatibleObjectivesRequirement : IObjectiveRequirement
|
||||
{
|
||||
private List<string> _incompatibleObjectives = new();
|
||||
public void ExposeData(ObjectSerializer serializer)
|
||||
|
||||
void IExposeData.ExposeData(ObjectSerializer serializer)
|
||||
{
|
||||
serializer.DataField(this, x=>x._incompatibleObjectives, "objectives", new List<string>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user