Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cPacketWeather Class Reference

Set Weather. More...

#include <packets.h>

Inheritance diagram for cPacketWeather:

cServerPacket cPacket List of all members.

Private Methods

 cPacketWeather ()

Private Attributes

BYTE type
 type ( see note )

BYTE n
 number of weather effects on screen

BYTE temp
 temperature


Detailed Description

Set Weather.

Author:
Endymion
Since:
0.83
Note:
0x65
Temperature has no effect at present
Remarks:
maximum number of weather effects on screen is 70
If it is raining, you can add snow by setting the num to the num of rain currently going, plus the number of snow you want
Attention:
Weather messages are only displayed when weather starts
Note:
Weather will end automatically after 6 minutes without any weather change packets
Remarks:
You can totally end weather (to display a new message) by teleporting
Note:
weather type: 0x00="It starts to rain" 0x01="A fierce storm approaches." 0x02="It begins to snow" 0x03="A storm is brewing.", 0xFF=None (turns off sound effects), 0xFE=(no effect?? Set temperature?) 0x78,0x20,0x4F,0x4E = reset, never tested


Constructor & Destructor Documentation

cPacketWeather::cPacketWeather   [private]
 


Member Data Documentation

BYTE cPacketWeather::n [private]
 

number of weather effects on screen

BYTE cPacketWeather::temp [private]
 

temperature

BYTE cPacketWeather::type [private]
 

type ( see note )


The documentation for this class was generated from the following files: SourceForge.net Logo