Borg tweaks (#19046)

* borg tweaks

* wahoo
This commit is contained in:
Nemanja
2023-08-13 03:09:30 -04:00
committed by GitHub
parent 6edd731833
commit 812cceae9d
9 changed files with 110 additions and 10 deletions

View File

@@ -22,6 +22,12 @@ public sealed class SiliconLawBoundComponent : Component
/// </summary>
[DataField("providedAction")]
public InstantAction? ProvidedAction;
/// <summary>
/// The last entity that provided laws to this entity.
/// </summary>
[DataField("lastLawProvider")]
public EntityUid? LastLawProvider;
}
[ByRefEvent]

View File

@@ -34,3 +34,9 @@ public sealed partial class WiresPanelComponent : Component
[AutoNetworkedField]
public bool WiresAccessible = true;
}
/// <summary>
/// Event raised when a panel is opened or closed.
/// </summary>
[ByRefEvent]
public readonly record struct PanelChangedEvent(bool Open);