LifePlay-Revival/Source/LifePlayEditorTools/LPFixNavRandomPointCommandlet.h
edujiro5972 c7f607f094 L7b (CX-B11) : 6 noeuds GetRandomPointInNavigableRadius deprecies remplaces par LPNavigationHelpers (R-04, ERR-035)
Compilation 6 -> 0 avertissement, cuisson 3 -> 0 ; diff independant 6/6, 0 autre objet modifie.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 18:45:41 +02:00

32 lines
1.2 KiB
C++

// Portage UE 5.5 - lot L7b (R-04, CX-B11). Voir Source/LifePlay/LPNavigationHelpers.h.
//
// Remplace chaque appel a UNavigationSystemV1::K2_GetRandomPointInNavigableRadius (deprecie,
// BlueprintPure) par ULPNavigationHelpers::GetRandomLocationInNavigableRadius (pur lui aussi,
// memes broches, meme corps qu'en 4.27 et 5.5), au meme emplacement. Liaisons et valeurs par
// defaut sont reportees broche par broche, par nom.
//
// Remplace la partie R-04 de LPFixDeprecatedNodes (CX-B06), qui reaiguillait sans controle et
// embarquait aussi la variante R-03 rejetee (CX-B05).
//
// Controle integre : l'etat de chaque broche (liaisons, valeur par defaut) est compare avant et
// apres. Tout ecart, broche sans equivalent, cible self reliee ou noeud impur : le noeud est laisse
// en l'etat, compte comme non traite, et son Blueprint n'est pas sauvegarde.
//
// Usage :
// UnrealEditor-Cmd.exe <projet> -run=LPFixNavRandomPoint [-DryRun]
#pragma once
#include "CoreMinimal.h"
#include "Commandlets/Commandlet.h"
#include "LPFixNavRandomPointCommandlet.generated.h"
UCLASS()
class ULPFixNavRandomPointCommandlet : public UCommandlet
{
GENERATED_BODY()
public:
ULPFixNavRandomPointCommandlet();
virtual int32 Main(const FString& Params) override;
};