//================================================================================
// MacroAPI.
//================================================================================

class MacroAPI extends UIEventManager
	Native;

enum EMacroErrorType {
	MERR_NONE,
	MERR_INVALID,
	MERR_LIMIT_WORLDCHAT
};

// Export UMacroAPI::execRequestMacroList(FFrame&, void* const)
native static function RequestMacroList();

// Export UMacroAPI::execRequestUseMacro(FFrame&, void* const)
native static function RequestUseMacro(ItemID cID);

// Export UMacroAPI::execRequestDeleteMacro(FFrame&, void* const)
native static function RequestDeleteMacro(ItemID cID);

// Export UMacroAPI::execRequestMakeMacro(FFrame&, void* const)
native static function bool RequestMakeMacro(ItemID cID, string Name, string IconName, int IconNum, int IconSkillId, string Description, array<string> CommandList);