1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-01 15:57:45 +00:00
novus/common/include/filetypes.h
Joshua Goins dab4a698b2 Decompile Lua bytecode in Data Explorer
The game has *tons* of Lua scripts for event scripting, and are very
interesting to explore. I had to do manually call luadec before, but now
it should be much easier by automatically decompiling Lua scripts in the
Data Explorer.
2025-04-30 19:44:20 -04:00

32 lines
No EOL
606 B
C++

// SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QString>
#include "novuscommon_export.h"
enum class FileType {
Unknown,
ExcelList,
ExcelHeader,
ExcelData,
Model,
Texture,
ShaderPackage,
CharaMakeParams,
Skeleton,
Dictionary,
Material,
LuaBytecode
};
class NOVUSCOMMON_EXPORT FileTypes
{
public:
static FileType getFileType(const QString &extension);
static QString getFiletypeName(FileType fileType);
static QString getFiletypeIcon(FileType fileType);
};