Let's talk

RSNetAuditCommandlet.h

Source/RSNetAudit/Public/RSNetAuditCommandlet.h Raw Download ZIP

Click a line number to link it. Shift-click to select a range.

1// Copyright (c) 2026 Reignance Studios. MIT License, see LICENSE.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Commandlets/Commandlet.h"
7#include "RSNetAuditCommandlet.generated.h"
8
9/**
10 * Runs the GAS Net Audit headless, for CI or a quick check without opening the editor.
11 *
12 * UnrealEditor-Cmd.exe MyGame.uproject -run=RSNetAudit [-IncludeEngine] [-FailOn=Error|Warning|None] [-Out=<dir>] [-MinPSRate=30]
13 *
14 * Exit code is 1 when a finding at or above -FailOn exists (default Error), else 0.
15 */
16UCLASS()
17class URSNetAuditCommandlet : public UCommandlet
18{
19 GENERATED_BODY()
20
21public:
22 URSNetAuditCommandlet();
23
24 virtual int32 Main(const FString& Params) override;
25};

Still desyncing in packaged builds?

Free code fixes one symptom. A Diagnostic finds the cause across your project in two days.