This commit is contained in:
@@ -37,6 +37,11 @@ public interface IHitData
|
||||
/// </summary>
|
||||
TypeIdentifier? Type { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the hit is a contact hit. This is used to determine whether abilities that trigger on contact should be activated.
|
||||
/// </summary>
|
||||
bool IsContact { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the hit has failed.
|
||||
/// </summary>
|
||||
@@ -76,6 +81,9 @@ public record HitData : IHitData
|
||||
/// <inheritdoc />
|
||||
public TypeIdentifier? Type { get; internal set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsContact { get; internal set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool HasFailed { get; private set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user