mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
ZoneCodeGenerator: Add possibility to define custom actions that should be performed after loading a certain Structure
This commit is contained in:
6
src/ZoneLoading/Loading/AssetLoadingActions.cpp
Normal file
6
src/ZoneLoading/Loading/AssetLoadingActions.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "AssetLoadingActions.h"
|
||||
|
||||
AssetLoadingActions::AssetLoadingActions(Zone* zone)
|
||||
{
|
||||
m_zone = zone;
|
||||
}
|
12
src/ZoneLoading/Loading/AssetLoadingActions.h
Normal file
12
src/ZoneLoading/Loading/AssetLoadingActions.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "Zone/Zone.h"
|
||||
|
||||
class AssetLoadingActions
|
||||
{
|
||||
protected:
|
||||
Zone* m_zone;
|
||||
|
||||
public:
|
||||
explicit AssetLoadingActions(Zone* zone);
|
||||
};
|
Reference in New Issue
Block a user