rjw-quirks/RJW-Quirks/Modules/Shared/IDefPart.cs
2022-11-01 12:15:06 -04:00

16 lines
No EOL
428 B
C#

using System.Collections.Generic;
namespace rjwquirks.Modules.Shared
{
/// <summary>
/// This interface designates that a class is ment to be included in a def and
/// instantiated by the Rimworld when the def is loaded
/// </summary>
public interface IDefPart
{
/// <summary>
/// Needed to be called explicidly in the def's ConfigErrors()
/// </summary>
IEnumerable<string> ConfigErrors();
}
}