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)
29 lines
738 B
C#
29 lines
738 B
C#
using Content.Shared._Shitmed.Targeting;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared._Shitmed.Targeting.Events;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class TargetChangeEvent : EntityEventArgs
|
|
{
|
|
public NetEntity Uid { get; }
|
|
public TargetBodyPart BodyPart { get; }
|
|
public TargetChangeEvent(NetEntity uid, TargetBodyPart bodyPart)
|
|
{
|
|
Uid = uid;
|
|
BodyPart = bodyPart;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class TargetIntegrityChangeEvent : EntityEventArgs
|
|
{
|
|
public NetEntity Uid { get; }
|
|
public bool RefreshUi { get; }
|
|
public TargetIntegrityChangeEvent(NetEntity uid, bool refreshUi = true)
|
|
{
|
|
Uid = uid;
|
|
RefreshUi = refreshUi;
|
|
}
|
|
}
|