#if defined _emotions_included
	#endinput
#endif
#define _emotions_included

#include <emotions_const>

/**
 * Retrieves info (MenuData_s) about a menu by index.
 *
 * @param index                 Item index in the array
 * @param temp_menu             Array data
 *
 * @return                      Error code
*/
native emotions_menu_getinfo(index, temp_menu[MenuData_s]);

/**
 * Retrieves info (EmotionData_s) about a emotion by index.
 *
 * @param index                 Item index in the array
 * @param temp_emotion          Array data
 *
 * @return                      Error code
*/
native emotions_emotion_getinfo(index, temp_emotion[EmotionData_s]);

/**
 * Find a emotion index by key.
 *
 * @param emotion_key               Emotion key
 *
 * @return                          emotion index on success, -1 on error
*/
native emotions_emotion_find_index(emotion_key[MAX_EMOTION_KEY_LENGTH]);

/**
 * Handler for menu.
 *
 * @param id		Player id
 * @param menu      Menu id
 * @param item      Item id
 *
 * @return          PLUGIN_CONTINUE to let a player to use emotion
 *                  PLUGIN_HANDLED or higher to prevent a player to use emotion
 */
forward emotions_menu_handler(id, menu, item);

/**
 * Callback for menu.
 *
 * @param id		Player id
 * @param menu      Menu id
 * @param item      Item id
 *
 * @return          ITEM_IGNOREAD to let a player to use item
 *                  ITEM_DISABLED or higher to prevent use item
 */
forward emotions_menu_callback(id, menu, item);