Public Member Functions | |
| CHotel (Critter& npc, array< uint >& locks, uint price, uint rentTime) | |
| void | Set (Critter& npc, array< uint >& locks, uint price, uint rentTime) |
| Assigns new properties to hotel. | |
| uint | GetId () |
| void | SaveData () |
| Stores info about players that are assigned to locks. | |
| void | InitRooms (Map@ map) |
| CRoom@ | GetFreeRoom () |
| void | Print () |
Public Attributes | |
| uint | ownerId |
| array< CRoom@> | rooms |
| array< uint > | locks |
| uint | Price |
| uint | RentTime |
| void Set | ( | Critter& | npc, | |
| array< uint >& | locks, | |||
| uint | price, | |||
| uint | rentTime | |||
| ) |
Assigns new properties to hotel.
| uint GetId | ( | ) |
| void SaveData | ( | ) |
Stores info about players that are assigned to locks.
| void InitRooms | ( | Map@ | map | ) |
| CRoom@ GetFreeRoom | ( | ) |
| void Print | ( | ) |
| uint ownerId |
| array<uint> locks |
| uint Price |
| uint RentTime |
1.7.1