mirror of
https://gitgud.io/LonelyRain/rjw-quirks.git
synced 2024-08-15 00:03:31 +00:00
Initial upload
This commit is contained in:
parent
feb28b10a4
commit
7585da099c
106 changed files with 4860 additions and 0 deletions
21
RJW-Quirks/Modules/Shared/Events/RjwEvent.cs
Normal file
21
RJW-Quirks/Modules/Shared/Events/RjwEvent.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue