fix: EyeOffset when eyes are closed (#38534)
* fix: EyeOffset when eyes are closed * fix: Relay only blocked on eyes closed action * cleanup: whitespace * fix: missing cancel on PVS, dependencies * remove: namespace import * change: apply from review * Apply suggestions from code review --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -20,6 +20,13 @@ namespace Content.Shared.Camera;
|
||||
[ByRefEvent]
|
||||
public record struct GetEyePvsScaleEvent(float Scale);
|
||||
|
||||
/// <summary>
|
||||
/// Raised before the <see cref="GetEyePvsScaleEvent"/> and <see cref="GetEyePvsScaleRelayedEvent"/>, to check if any on the subscribed
|
||||
/// systems want to cancel PVS changes.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct GetEyePvsScaleAttemptEvent(bool Cancelled);
|
||||
|
||||
/// <summary>
|
||||
/// Raised on any equipped and in-hand items that may modify the eye offset.
|
||||
/// Pockets and suitstorage are excluded.
|
||||
|
||||
Reference in New Issue
Block a user