Sha256: 570871671b27f789d1a896670a046d133da449b6ae8224602af34f8310ac0ef4

Contents?: true

Size: 1.33 KB

Versions: 4

Compression:

Stored size: 1.33 KB

Contents

/* Copyright (c) 2024 Julian Benda
 *
 * This file is part of inkCPP which is released under MIT license.
 * See file LICENSE.txt or go to
 * https://github.com/JBenda/inkcpp for full license details.
 */
#pragma once

#include "UObject/Object.h"

#include "InkAsset.generated.h"

/** Assets contanining a InkCPP .bin.
 * Asset can be constructed from a `.ink.json` file outputed from inky or inklecate.
 * And generall also directly from a `.ink` file (it may fail if the shipped version of inklecate is
 * incopatible with your system).
 *
 * @todo Please note that reimport does not work properly if your ink file has includes.
 * Since the reimport only watches the main file for changes.
 * @ingroup unreal
 */
UCLASS(hidecategories=Object)
class INKCPP_API UInkAsset : public UObject
{
	GENERATED_BODY()
	
public:
	UInkAsset();

	// Begin UObject
	/** @private */
	virtual void Serialize(FStructuredArchive::FRecord Record) override;
	// End UObject

	/** @private */
	TArray<char> CompiledStory;

#if WITH_EDITORONLY_DATA
	/** @private */
	UPROPERTY(VisibleAnywhere, Instanced, Category = ImportSettings)
	class UAssetImportData* AssetImportData;

	// Begin UObject
	/** @private */
	virtual void PostInitProperties() override;
	/** @private */
	virtual void GetAssetRegistryTags(TArray<FAssetRegistryTag>& OutTags) const override;
	// End UObject
#endif
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inkcpp_rb-0.1.3 ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkAsset.h
inkcpp_rb-0.1.2 ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkAsset.h
inkcpp_rb-0.1.1 ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkAsset.h
inkcpp_rb-0.1.0 ext/inkcpp_rb/inkcpp/unreal/inkcpp/Source/inkcpp/Public/InkAsset.h