mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-29 15:51:57 +00:00
Add Tests for ZCG cpp
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
#include "FastFileBlock.h"
|
||||
|
||||
FastFileBlock::FastFileBlock(std::string name, const unsigned index, const FastFileBlockType type, const bool isDefault)
|
||||
: m_name(std::move(name)),
|
||||
m_index(index),
|
||||
m_type(type),
|
||||
m_is_default(isDefault)
|
||||
{
|
||||
}
|
22
src/ZoneCodeGeneratorLib/Domain/FastFile/FastFileBlock.h
Normal file
22
src/ZoneCodeGeneratorLib/Domain/FastFile/FastFileBlock.h
Normal file
@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
enum class FastFileBlockType
|
||||
{
|
||||
TEMP,
|
||||
RUNTIME,
|
||||
DELAY,
|
||||
NORMAL
|
||||
};
|
||||
|
||||
class FastFileBlock
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
unsigned m_index;
|
||||
FastFileBlockType m_type;
|
||||
bool m_is_default;
|
||||
|
||||
FastFileBlock(std::string name, unsigned index, FastFileBlockType type, bool isDefault);
|
||||
};
|
Reference in New Issue
Block a user