NXK73CXTYPQQKHXAC7W7HMNQG5HP5KTUBF4LW2XQXJMW6PQVA2HAC
K4DRWAY72CGDTYJ52KGZFEZDO5HHXOYRIYR5L2SHXXUF3BPNOWTAC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
return self.rooms[0]
return self.find_room_by_name(user)}pub fn (mut self Rooms) find_room_by_name(name string) ?Room { for room in self.rooms { if room.name == name { return room } } return error('room name \"$name\" not found')
return self.find_room_by_name(user)
}
pub fn (mut self Rooms) find_room_by_name(name string) ?Room {
for room in self.rooms {
if room.name == name {
return room
return error('room name \"$name\" not found')