Skip to content

ExportLayout

namespace Griff.Runtime;
public static class ExportLayout

Layout of an exported game: the player executable sits next to a game folder.

public const string GameFolder

Folder next to the player holding project.griff and Assets.

public const string Marker

Marks a folder as created by export, so re-exporting may safely replace it.

public const string ModulesFolder

The modules a game’s project uses (see GameModule), their running assemblies only, inside the game folder: its host loads them (Load) before it reads the game.

public const string ScriptsAssembly

Precompiled scripts, inside the game folder.

public const string WebFileList

For a game exported for the web: the list of the game folder’s files (paths relative to it, ‘/’ between folders, one a line), inside it. A browser can’t list a folder, so the web player fetches what this names.