equal
deleted
inserted
replaced
159 end |
159 end |
160 |
160 |
161 save : function (Room, forced : boolean, savestate : boolean) : boolean |
161 save : function (Room, forced : boolean, savestate : boolean) : boolean |
162 freeze : function (Room, live : boolean) : FrozenRoom, { string : StateEntry } |
162 freeze : function (Room, live : boolean) : FrozenRoom, { string : StateEntry } |
163 end |
163 end |
|
164 |
|
165 local record lib |
|
166 new_room : function (jid : string, config : { string : any }) : Room |
|
167 restore_room : function (Room.FrozenRoom, { string : Room.StateEntry }) : Room |
|
168 |
|
169 room_mt : metatable |
|
170 end |
|
171 |
|
172 return lib |