mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-04 07:47:25 +00:00
refactor: streamline techset dumper
This commit is contained in:
16
src/ObjCommon/Techset/TechsetCommon.cpp
Normal file
16
src/ObjCommon/Techset/TechsetCommon.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "TechsetCommon.h"
|
||||
|
||||
#include <format>
|
||||
|
||||
namespace techset
|
||||
{
|
||||
std::string GetFileNameForTechniqueName(const std::string& assetName)
|
||||
{
|
||||
return std::format("techniques/{}.tech", assetName);
|
||||
}
|
||||
|
||||
std::string GetFileNameForTechsetName(const std::string& assetName)
|
||||
{
|
||||
return std::format("techsets/{}.techset", assetName);
|
||||
}
|
||||
} // namespace phys_constraints
|
Reference in New Issue
Block a user