include "Engine/Asset/Reference.fbs";

namespace Flat.Bigfoot;

table InnerTable
{
    asset_a_ref: HardReference (native_inline, bigfoot_ref: "::Bigfoot::AssetA");
	asset_a_refs: [HardReference] (native_inline, bigfoot_ref: "::Bigfoot::AssetA");

    any_asset: HardReference (native_inline, bigfoot_ref: "::Bigfoot::AssetBase");
    any_assets: [SoftReference] (native_inline, bigfoot_ref: "::Bigfoot::AssetBase");
}

table AssetC
{
    inner_table: InnerTable (required);

    asset_b_ref: HardReference (native_inline, bigfoot_ref: "::Bigfoot::AssetB");
    asset_b_refs: [SoftReference] (native_inline, bigfoot_ref: "::Bigfoot::AssetB");
}

root_type AssetC;