diff --git a/Robust.Shared/Physics/Dynamics/Contacts/Contact.cs b/Robust.Shared/Physics/Dynamics/Contacts/Contact.cs index 2aceba63418..2e0fb3ed5f8 100644 --- a/Robust.Shared/Physics/Dynamics/Contacts/Contact.cs +++ b/Robust.Shared/Physics/Dynamics/Contacts/Contact.cs @@ -30,6 +30,7 @@ using System; using System.Collections.Generic; using System.Numerics; +using JetBrains.Annotations; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Maths; @@ -361,6 +362,7 @@ public override int GetHashCode() return HashCode.Combine(EntityA, EntityB); } + [Pure] public EntityUid OurEnt(EntityUid uid) { if (uid == EntityA) @@ -374,6 +376,7 @@ public EntityUid OurEnt(EntityUid uid) /// /// Gets the other ent for this contact. /// + [Pure] public EntityUid OtherEnt(EntityUid uid) { if (uid == EntityA) @@ -384,6 +387,7 @@ public EntityUid OtherEnt(EntityUid uid) throw new InvalidOperationException(); } + [Pure, PublicAPI] public (string Id, Fixture) OurFixture(EntityUid uid) { if (uid == EntityA) @@ -394,6 +398,7 @@ public EntityUid OtherEnt(EntityUid uid) throw new InvalidOperationException(); } + [Pure, PublicAPI] public (string Id, Fixture) OtherFixture(EntityUid uid) { if (uid == EntityA)