mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
Lots of stuff. Also moved everything I could to the _Shitmed namespace
as I do in Goob. Will make future ports way faster
# Changelog
🆑 Mocho
- add: Added some fun organs and other thingies, check out the Goob PRs
if you want more details.
- fix: Fixed tons of issues with shitmed. Too many for the changelog in
fact.
(cherry picked from commit 3c9db94102cb25b28a83d51ac8d659fa31fe7d12)
32 lines
793 B
C#
32 lines
793 B
C#
namespace Content.Shared._Shitmed.Targeting;
|
|
|
|
|
|
/// <summary>
|
|
/// Represents and enum of possible target parts.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// To get all body parts as an Array, use static
|
|
/// method in SharedTargetingSystem GetValidParts.
|
|
/// </remarks>
|
|
[Flags]
|
|
public enum TargetBodyPart : ushort
|
|
{
|
|
Head = 1,
|
|
Torso = 1 << 1,
|
|
Groin = 1 << 2,
|
|
LeftArm = 1 << 3,
|
|
LeftHand = 1 << 4,
|
|
RightArm = 1 << 5,
|
|
RightHand = 1 << 6,
|
|
LeftLeg = 1 << 7,
|
|
LeftFoot = 1 << 8,
|
|
RightLeg = 1 << 9,
|
|
RightFoot = 1 << 10,
|
|
|
|
Hands = LeftHand | RightHand,
|
|
Arms = LeftArm | RightArm,
|
|
Legs = LeftLeg | RightLeg,
|
|
Feet = LeftFoot | RightFoot,
|
|
All = Head | Torso | Groin | LeftArm | LeftHand | RightArm | RightHand | LeftLeg | LeftFoot | RightLeg | RightFoot,
|
|
}
|