lua/wrappers/game/lua_quest.cpp
/**
	 * Returns true when there is an event listener for the given event name.
	 * @param string event_name The event type to look up.
	 * @returns boolean True if there is any event listener 
	 * that will be trigged by this event type.
	 */
Returns true when there is an event listener for the given event name.
@param string event_name The event type to look up.
@returns boolean True if there is any event listener
that will be trigged by this event type.
Returns true when there is an event listener for the given event name . @param string event_name The event type to look up . @returns boolean True if there is any event listener that will be trigged by this event type .
int Quest_has_event_listener(lua_State *lua)
	{
		Quest *quest = castUData<Quest>(lua, 1);
		if (quest && lua_isstr(lua, 2))
		{
			lua_pushboolean(lua, quest->hasEventListener(lua_tostring(lua, 2)));
			return 1;
		}
		return LuaState::expectedContext(lua, "has_event_listener", "am.quest");
	}
int Quest_has_event_listener ( lua_State * lua ) { Quest * quest = castUData < Quest > ( lua , 1 ) ; if ( quest && lua_isstr ( lua , 2 ) ) { lua_pushboolean ( lua , quest -> hasEventListener ( lua_tostring ( lua , 2 ) ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns true when there is an event listener for the given event name.
Returns true when there is an event listener for the given event name .