does getRooms() return the rooms of the map?

Post Reply
Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

does getRooms() return the rooms of the map?

Post by Filion »

GetRooms() from the Documantation:
Returns the list of all rooms in the map in an area in roomid - room name format.
I think that it returns every room created in the map and is not area specific.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: does GetRooms return the rooms of the map?

Post by Heiko »

Yes. It returns all room ids in the entire map. This function is meant to be used to export your map db e. g. export the map to a SQL db for map merging scripts between different users etc..

Post Reply