// Copyright 2016 Mookie. All Rights Reserved. #include "EBMathematicalBallisticsFactory.h" #include "EBMathematicalBallistics.h" #include "AssetToolsModule.h" #define LOCTEXT_NAMESPACE "EBMathematicalBallisticsFactory" UClass* FEBMathematicalBallisticsFactory::GetSupportedClass() const { return UEBMathematicalBallistics::StaticClass(); } uint32 FEBMathematicalBallisticsFactory::GetCategories() { IAssetTools& AssetTools = FModuleManager::LoadModuleChecked("AssetTools").Get(); return AssetTools.RegisterAdvancedAssetCategory(FName(TEXT("Ballistics")), LOCTEXT("BallisticsCategory", "Ballistics")); } FText FEBMathematicalBallisticsFactory::GetAssetDescription(const FAssetData& AssetData) const { return LOCTEXT("EBMathematicalBallisticsDescription", "Mathematical ballistics calculator providing penetration depth, residual velocity, and trajectory calculations using empirical formulas."); } #undef LOCTEXT_NAMESPACE