22 lines
430 B
C#
22 lines
430 B
C#
using RimWorld;
|
|
using Verse;
|
|
|
|
namespace rjwquirks.Modules.Shared.Events
|
|
{
|
|
/// <summary>
|
|
/// Copy of the HistoryEvent.
|
|
/// Made it it's own thing because it use cases are different
|
|
/// </summary>
|
|
public struct RjwEvent
|
|
{
|
|
public RjwEventDef def;
|
|
public SignalArgs args;
|
|
|
|
public RjwEvent(RjwEventDef def, params NamedArgument[] args)
|
|
{
|
|
this.def = def;
|
|
this.args = new SignalArgs(args);
|
|
}
|
|
}
|
|
}
|