Allow zoom command to modify an eye's PVS range (#29245)

Allow zoom command to modify an eye's PVS range

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Leon Friedrich
2024-07-03 18:44:55 +12:00
committed by GitHub
parent a2a3233f5e
commit 1faa1b5df6
6 changed files with 50 additions and 8 deletions

View File

@@ -7,12 +7,19 @@ namespace Content.Shared.Camera;
[NetworkedComponent]
public sealed partial class CameraRecoilComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
public Vector2 CurrentKick { get; set; }
[ViewVariables(VVAccess.ReadWrite)]
public Vector2 LastKick { get; set; }
[ViewVariables(VVAccess.ReadWrite)]
public float LastKickTime { get; set; }
/// <summary>
/// Basically I needed a way to chain this effect for the attack lunge animation. Sorry!
/// </summary>
///
[ViewVariables(VVAccess.ReadWrite)]
public Vector2 BaseOffset { get; set; }
}