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

16 lines
428 B
C#
Raw Normal View History

2022-11-01 16:15:06 +00:00
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();
}
}