LifePlay-Revival/Plugins/StreetMap/Source/StreetMapImporting/StreetMapFactory.h
edujiro5972 1122e17fa6 L0 : etat initial du projet 5.5 avant toute correction
Instantane de reference de la reprise de migration (2026-09-29).
Contient GI.uasset tel que trouve (copie UE4 identique a 4.27,
MD5 F4550DA5DC05FC005400CDCA2FC123C9). Ajouts de ce commit :
.gitattributes (aucune conversion de fin de ligne), regles .gitignore
CHG-001, Tools/ (Snapshot, Restore, AssetHeaders), empreintes L0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 00:56:10 +02:00

29 lines
1 KiB
C++

#pragma once
#include "Factories/Factory.h"
#include "StreetMapFactory.generated.h"
/**
* Import factory object for OpenStreetMap assets
*/
UCLASS()
class UStreetMapFactory : public UFactory
{
GENERATED_BODY()
public:
/** UStreetMapFactory constructor */
UStreetMapFactory( const class FObjectInitializer& ObjectInitializer );
protected:
// UFactory overrides
virtual UObject* FactoryCreateText( UClass* Class, UObject* Parent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const TCHAR*& Buffer, const TCHAR* BufferEnd, FFeedbackContext* Warn ) override;
/** Loads the street map from an OpenStreetMap XML file. Note that in the case of the file path containing the XML data, the string must be mutable for us to parse it quickly. */
bool LoadFromOpenStreetMapXMLFile( class UStreetMap* StreetMap, FString& OSMFilePath, const bool bIsFilePathActuallyTextBuffer, class FFeedbackContext* FeedbackContext );
/** Static: Latitude/longitude scale factor */
static const double LatitudeLongitudeScale;
};