rjw-quirks/RJW-Quirks/Modules/Shared/IDefPart.cs

16 lines
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();
}
}