lua/wrappers/game/lua_quest.cpp
/**
	 * Removes an event listener from the quest.
	 * Currently the quest only has events which should only fire once, 
	 * but if an event listener needs to changed before the event is fire it can be done.
	 *
	 * @param string event_name The event type the listener was listening for.
	 * @param function listener The listener function to remove.
	 * @param table [nil] context The context which the listener was going to 
	 * be called with, this is only optional if the listener was added with no context.
	 * @returns boolean True if the event listener was successfully removed.
	 */
Removes an event listener from the quest.
Currently the quest only has events which should only fire once,
but if an event listener needs to changed before the event is fire it can be done.

@param string event_name The event type the listener was listening for.
@param function listener The listener function to remove.
@param table [nil] context The context which the listener was going to
be called with, this is only optional if the listener was added with no context.
@returns boolean True if the event listener was successfully removed.
Removes an event listener from the quest . Currently the quest only has events which should only fire once but if an event listener needs to changed before the event is fire it can be done . @param string event_name The event type the listener was listening for . @param function listener The listener function to remove . @param table [ nil ] context The context which the listener was going to be called with this is only optional if the listener was added with no context . @returns boolean True if the event listener was successfully removed .
int Quest_remove_event_listener(lua_State *lua)
	{
		Quest *quest = castUData<Quest>(lua, 1);
		if (quest)
		{
			if (lua_isstr(lua, 2) && lua_isfunction(lua, 3))
			{
				lua_pushboolean(lua, am::lua::ui::removeEventListener(lua, quest));
				return 1;
			}
			return LuaState::expectedArgs(lua, "off", "string event_name, function listener");
		}
		return LuaState::expectedContext(lua, "off", "am.quest");
	}
int Quest_remove_event_listener ( lua_State * lua ) { Quest * quest = castUData < Quest > ( lua , 1 ) ; if ( quest ) { if ( lua_isstr ( lua , 2 ) && lua_isfunction ( lua , 3 ) ) { lua_pushboolean ( lua , am :: lua :: ui :: removeEventListener ( lua , quest ) ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Removes an event listener from the quest.
Removes an event listener from the quest .