(data: WindowManagerData)
| 44 | } |
| 45 | |
| 46 | deserialize(data: WindowManagerData) { |
| 47 | if (typeof data != 'object') // accepts empty data |
| 48 | data = {}; |
| 49 | this.#chatWindows.deserialize(data.chatWindows); |
| 50 | this.#namedWindows.deserialize(data.windows); |
| 51 | } |
| 52 | |
| 53 | serialize(): WindowManagerData { |
| 54 | return { |
nothing calls this directly
no test coverage detected