Plasma Engine  2.0
Loading...
Searching...
No Matches
SoundEventAsset.h
1#pragma once
2
3#include <EditorFramework/Assets/SimpleAssetDocument.h>
4
6{
7 PL_ADD_DYNAMIC_REFLECTION(plSoundEventAssetProperties, plReflectedClass);
8
9public:
11};
12
13
14class plSoundEventAssetDocument : public plSimpleAssetDocument<plSoundEventAssetProperties>
15{
17
18public:
20
21protected:
22 virtual void UpdateAssetDocumentInfo(plAssetDocumentInfo* pInfo) const override;
23 virtual plTransformStatus InternalTransformAsset(plStreamWriter& stream, plStringView sOutputTag, const plPlatformProfile* pAssetProfile,
24 const plAssetFileHeader& AssetHeader, plBitflags<plTransformFlags> transformFlags) override;
25};
Definition AssetDocumentInfo.h:7
Simple class to handle asset file headers (the very first bytes in all transformed asset files)
Definition AssetFileHeader.h:8
Definition PlatformProfile.h:25
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
Definition SimpleAssetDocument.h:23
Definition SoundEventAsset.h:15
virtual plTransformStatus InternalTransformAsset(plStreamWriter &stream, plStringView sOutputTag, const plPlatformProfile *pAssetProfile, const plAssetFileHeader &AssetHeader, plBitflags< plTransformFlags > transformFlags) override
Override this and write the transformed file for the given szOutputTag into the given stream.
Definition SoundEventAsset.cpp:23
virtual void UpdateAssetDocumentInfo(plAssetDocumentInfo *pInfo) const override
Override this to add custom data (e.g. additional file dependencies) to the info struct.
Definition SoundEventAsset.cpp:18
Definition SoundEventAsset.h:6
Interface for binary out (write) streams.
Definition Stream.h:107
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
Definition Declarations.h:114