Updated: May 06, 2022

Configuration settings interface


#include <aoi.h>

typedef struct
    AOResource_t *Settings;
    int32_t (*VerifyValue)(AOResource_t *setting, const void *newvalue);
    int32_t (*VerifyAll)(void);
} AOConfigSettings;

This interface allows DLLs to expose configuration settings that it recognizes, and to receive the values that a configuration file specifies for them. Addons must implement this interface if they want to support configuration settings.