Download Now
Forums

    Reference AssetBuildRequested

    Declared in Codebot.Render.Assets.pas on line 121

    AssetBuildRequested returns true if the program was started with --build-dat. The dat file is then built from the assets folder, a message is written, and ExitCode is set to zero if it worked and one if not. The caller must end the program without running it.
    A file name may follow the switch to say where the dat file is written. Without one it is written beside the program, and a name which is not a full path is beside the program too. With no key nothing is built and ExitCode is one.
    function AssetBuildRequested: Boolean;