Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | AddOccupantsToList (int x, int y, List< int > occupantsList) |
void | AddOccupantsToList (Point tilePosition, List< int > occupants) |
bool | HasRoomQuick (int npcID) |
bool | HasRoom (int npcID, out Point roomPosition) |
void | SetRoom (int npcID, int x, int y) |
void | SetRoom (int npcID, Point pt) |
void | KickOut (NPC n) |
void | KickOut (int npcType) |
void | DisplayRooms () |
void | Save (BinaryWriter writer) |
void | Load (BinaryReader reader) |
void | Clear () |
byte | GetHouseholdStatus (NPC n) |
bool | CanNPCsLiveWithEachOther (int npc1ByType, NPC npc2) |
bool | CanNPCsLiveWithEachOther (NPC npc1, NPC npc2) |
bool | CanNPCsLiveWithEachOther_ShopHelper (NPC npc1, NPC npc2) |
Static Public Attributes | |
static object | EntityCreationLock = new object() |
Private Attributes | |
List< Tuple< int, Point > > | _roomLocationPairs = new List<Tuple<int, Point>>() |
bool[] | _hasRoom = new bool[NPCID.Count] |
Definition at line 9 of file TownRoomManager.cs.