๐Ÿ”Œ Connection Helper (Macros)

Short Description

Small macro helpers and configured constants used for external connections and environment checks.

Long Description

The connection macros file contains a small set of preprocessor macros used by other runtime utilities. This includes global API endpoints and presence checks that are used by tooling at build or runtime.

๐Ÿš€ Features

  • Global API endpoint constant.
  • Helper macros to check compile-time plugin/system flags.

GORGEOUS_API_ENDPOINT

A string constant that holds the default gorgeous API endpoint used by networked tooling. Currently a placeholder for future services.

This is a macro constant; no parameters.

FString Endpoint = TEXT(GORGEOUS_API_ENDPOINT);

GORGEOUS_PLUGIN_INSTALLED(PluginName)

Compile-time macro that evaluates whether a plugin-specific macro for the given plugin is defined. Useful for conditional compilation when optional plugins are present.

Parameter Name Type Description
PluginName macro param Name of the plugin to test (used to build GORGEOUSTHINGS_WITH_<PluginName>).
#if GORGEOUS_PLUGIN_INSTALLED(MyPlugin)
// plugin-specific code
#endif