RSNetAuditCommandlet.h
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 | */ |
| 16 | UCLASS() |
| 17 | class URSNetAuditCommandlet : public UCommandlet |
| 18 | { |
| 19 | GENERATED_BODY() |
| 20 | |
| 21 | public: |
| 22 | URSNetAuditCommandlet(); |
| 23 | |
| 24 | virtual int32 Main(const FString& Params) override; |
| 25 | }; |