explicit interface go brrrr
This commit is contained in:
@@ -146,7 +146,12 @@ namespace Content.Server.Botany
|
||||
#endregion
|
||||
|
||||
|
||||
public void ExposeData(ObjectSerializer serializer)
|
||||
void IExposeData.ExposeData(ObjectSerializer serializer)
|
||||
{
|
||||
InternalExposeData(serializer);
|
||||
}
|
||||
|
||||
public void InternalExposeData(ObjectSerializer serializer)
|
||||
{
|
||||
serializer.DataField(this, x => x.ID, "id", string.Empty);
|
||||
serializer.DataField(this, x => x.Name, "name", string.Empty);
|
||||
@@ -190,7 +195,7 @@ namespace Content.Server.Botany
|
||||
public void LoadFrom(YamlMappingNode mapping)
|
||||
{
|
||||
var serializer = YamlObjectSerializer.NewReader(mapping);
|
||||
ExposeData(serializer);
|
||||
InternalExposeData(serializer);
|
||||
}
|
||||
|
||||
public Seed Clone()
|
||||
|
||||
Reference in New Issue
Block a user