@@ -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]
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user