Inherits IWeatherZone.
Public Member Functions | |
CWeatherZone (uint coords_x, uint coords_y, uint type) | |
CWeatherZone (string name) | |
uint | GetID () |
bool | Load () |
bool | Save () |
string | GetName () |
void | SetName (string name) |
uint | GetTimeEvent () |
void | SetTimeEvent (uint id) |
int | GetFlags () |
bool | GetFlag (int flag) |
void | SetFlag (int flag) |
void | UnsetFlag (int flag) |
uint | GetSpeedMove () |
bool | SetSpeedMove (uint speed) |
uint | GetSpeedLevel () |
bool | SetSpeedLevel (uint speed) |
uint | GetSpeedRadius () |
bool | SetSpeedRadius (uint speed) |
uint | GetSubZones () |
bool | SetSubZones (uint subzones) |
bool | SetType (uint type) |
bool | Position (uint coords_x, uint coords_y) |
bool | Move (uint coords_x, uint coords_y) |
bool | Level (uint level) |
bool | Radius (uint radius) |
bool | LoadActions (string& filename) |
void | Action (uint action, uint data1, uint data2) |
void | RunAction (int action) |
void | Update () |
void | UpdateFast (Location@ loc) |
void | Lock () |
void | Unlock () |
uint | GetUpdateTime () |
uint | SetUpdateTime (uint time) |
void | Delete () |
void | Delete (bool fast) |
Public Attributes | |
uint | ID |
Serializator | save |
string | Name |
uint | TimeEvent |
uint | Type |
int | Flags |
int | WorldX |
int | WorldY |
int | DestinationX |
int | DestinationY |
int | SpeedMove |
int | CurrentLevel |
int | WantedLevel |
int | SpeedLevel |
int | CurrentRadius |
int | WantedRadius |
int | SpeedRadius |
int | SubZones |
int | WantedSubZones |
uint | UpdateTime |
uint | NextAction |
array< int > | Actions |
bool | Locked |
uint | locid |
CWeatherZone | ( | uint | coords_x, | |
uint | coords_y, | |||
uint | type | |||
) |
CWeatherZone | ( | string | name | ) |
uint GetID | ( | ) |
Implements IWeatherZone.
bool Load | ( | ) |
Implements IWeatherZone.
bool Save | ( | ) |
Implements IWeatherZone.
string GetName | ( | ) |
Implements IWeatherZone.
void SetName | ( | string | name | ) |
Implements IWeatherZone.
uint GetTimeEvent | ( | ) |
Implements IWeatherZone.
void SetTimeEvent | ( | uint | id | ) |
Implements IWeatherZone.
int GetFlags | ( | ) |
Implements IWeatherZone.
bool GetFlag | ( | int | flag | ) |
Implements IWeatherZone.
void SetFlag | ( | int | flag | ) |
Implements IWeatherZone.
void UnsetFlag | ( | int | flag | ) |
Implements IWeatherZone.
uint GetSpeedMove | ( | ) |
Implements IWeatherZone.
bool SetSpeedMove | ( | uint | speed | ) |
Implements IWeatherZone.
uint GetSpeedLevel | ( | ) |
Implements IWeatherZone.
bool SetSpeedLevel | ( | uint | speed | ) |
Implements IWeatherZone.
uint GetSpeedRadius | ( | ) |
Implements IWeatherZone.
bool SetSpeedRadius | ( | uint | speed | ) |
Implements IWeatherZone.
uint GetSubZones | ( | ) |
Implements IWeatherZone.
bool SetSubZones | ( | uint | subzones | ) |
Implements IWeatherZone.
bool SetType | ( | uint | type | ) |
Implements IWeatherZone.
bool Position | ( | uint | coords_x, | |
uint | coords_y | |||
) |
Implements IWeatherZone.
bool Move | ( | uint | coords_x, | |
uint | coords_y | |||
) |
Implements IWeatherZone.
bool Level | ( | uint | level | ) |
Implements IWeatherZone.
bool Radius | ( | uint | radius | ) |
Implements IWeatherZone.
bool LoadActions | ( | string& | filename | ) |
Implements IWeatherZone.
void Action | ( | uint | action, | |
uint | data1, | |||
uint | data2 | |||
) |
Implements IWeatherZone.
void RunAction | ( | int | action | ) |
void Update | ( | ) |
Implements IWeatherZone.
void UpdateFast | ( | Location@ | loc | ) |
Implements IWeatherZone.
void Lock | ( | ) |
Implements IWeatherZone.
void Unlock | ( | ) |
Implements IWeatherZone.
uint GetUpdateTime | ( | ) |
Implements IWeatherZone.
uint SetUpdateTime | ( | uint | time | ) |
Implements IWeatherZone.
void Delete | ( | ) |
Implements IWeatherZone.
void Delete | ( | bool | fast | ) |
uint ID |
uint TimeEvent |
uint Type |
int Flags |
int WorldX |
int WorldY |
int DestinationX |
int DestinationY |
int SpeedMove |
int CurrentLevel |
int WantedLevel |
int SpeedLevel |
int CurrentRadius |
int WantedRadius |
int SpeedRadius |
int SubZones |
int WantedSubZones |
uint UpdateTime |
uint NextAction |
array<int> Actions |
bool Locked |
uint locid |