#include <house.h>
Inheritance diagram for cHouse:

Public Methods | |
| cHouse () | |
| void | deedhouse (NXWSOCKET s, P_ITEM pi) |
| void | deedhouse (P_CHAR owner) |
| Turn a house into a deed if posible. | |
| bool | isInsideHouse (P_ITEM pi) |
| bool | isInsideHouse (P_CHAR pc) |
| bool | isInsideHouse (Location where) |
| bool | isInsideHouse (int x, int y, int z) |
| bool | inHouse (P_ITEM pi) |
| bool | inHouse (P_CHAR pc) |
| bool | inHouse (Location where) |
| bool | inHouse (int x, int y) |
| void | remove () |
| bool | isPublicHouse () |
| void | setPublicState (bool state) |
| void | togglePublicState () |
| std::vector< SERIAL >::iterator | getHouseFriends () |
| std::vector< SERIAL >::iterator | getHouseCoOwners () |
| std::vector< SERIAL >::iterator | getHouseBans () |
| void | addFriend (P_CHAR newfriend) |
| void | removeFriend (P_CHAR newfriend) |
| bool | isFriend (P_CHAR pc) |
| Checks if somebody is on the friends list. | |
| std::vector< SERIAL > | getHouseFriendsList () |
| void | addCoOwner (P_CHAR newCoOwner) |
| void | removeCoOwner (P_CHAR newCoOwner) |
| bool | isCoOwner (P_CHAR pc) |
| Checks if somebody is on the friends list. | |
| std::vector< SERIAL > | getHouseCoOwnerList () |
| void | addBan (P_CHAR newBanned) |
| void | removeBan (P_CHAR newBanned) |
| bool | isBanned (P_CHAR pc) |
| Checks if somebody is on the friends list. | |
| std::vector< SERIAL > | getHouseBannedList () |
| SI32 | getCurrentZPosition (P_CHAR pc) |
| void | createHouse (UI32 houseNumber) |
| void | transfer (SERIAL newOwner) |
| void | save (ofstream *output) |
| void | load (cStringFile &input) |
Private Attributes | |
| LOGICAL | publicHouse |
| std::vector< SERIAL > | friends |
| std::vector< SERIAL > | coowners |
| std::vector< SERIAL > | banned |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Turn a house into a deed if posible.
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Checks if somebody is on the friends list.
|
|
|
Checks if somebody is on the friends list.
|
|
|
Checks if somebody is on the friends list.
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|