From e66e824b016f6c865e2e2b3f027ec726f33aa0c0 Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Mon, 10 Jun 2024 00:24:33 -0700 Subject: [PATCH] add RS warning suppression --- src/game-lib/Events/PlayerActionEvent.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game-lib/Events/PlayerActionEvent.cs b/src/game-lib/Events/PlayerActionEvent.cs index 0e5df80b..a1a12fe1 100644 --- a/src/game-lib/Events/PlayerActionEvent.cs +++ b/src/game-lib/Events/PlayerActionEvent.cs @@ -1,4 +1,7 @@ -namespace UfoGameLib.Events; +// ReSharper disable MemberCanBePrivate.Global +// Reason: public fields are being serialized and sent over the wire as part of GameSessionTurn +// being given as input to ApiUtils.ToJsonHttpResult. +namespace UfoGameLib.Events; public class PlayerActionEvent : GameEvent {