A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/room/query_weather_class


Name: query_weather_class - get the weather class from a room

Syntax:
	#include <room2.h>
	int query_weather_class()

Description:
	The query_weather_class call gets the weather and climate conditions,
	set with set_weather, from a room.

Return value:
	The return value is an integer between 0 and 99, the lower order number
	is the weather class, the higher order number is the climate class.
	Possible values for those classes are defined in
	/include/room_defines.h and are described in the set_weather manual.

Examples:
	int class;
	class=query_weather_class(); 

See also:


This page was generated in LPC

Imprint / Impressum