void ChatManagerImplementation::initiateRooms() { gameRooms.setNullValue(NULL); ChatRoom* mainRoom = createRoom("SWG"); mainRoom->setPrivate(); gameRooms.put("SWG", mainRoom); core3Room = createRoom(server->getGalaxyName(), mainRoom); core3Room->setPrivate(); mainRoom->addSubRoom(core3Room); groupRoom = createRoom("group", core3Room); groupRoom->setPrivate(); core3Room->addSubRoom(groupRoom); guildRoom = createRoom("guild", core3Room); guildRoom->setPrivate(); core3Room->addSubRoom(guildRoom); auctionRoom = createRoom("Auction", core3Room); core3Room->addSubRoom(auctionRoom); generalRoom = createRoom("General", core3Room); core3Room->addSubRoom(generalRoom); }