LifePlay-Revival/Source/LifePlayEditorTools/LPFixNavRandomPointCommandlet.h

33 lines
1.2 KiB
C
Raw Normal View History

// 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;
};