2021-07-25 20:09:08 +10:00
|
|
|
namespace Content.Server.Explosion.Components
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class TriggerOnCollideComponent : Component
|
2021-07-25 20:09:08 +10:00
|
|
|
{
|
2022-05-26 21:18:57 -04:00
|
|
|
[DataField("fixtureID", required: true)]
|
|
|
|
|
public string FixtureID = String.Empty;
|
2023-01-06 17:13:22 -06:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Doesn't trigger if the other colliding fixture is nonhard.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("ignoreOtherNonHard")]
|
|
|
|
|
public bool IgnoreOtherNonHard = true;
|
2021-07-25 20:09:08 +10:00
|
|
|
}
|
|
|
|
|
}
|