Save and open oo docs

This commit is contained in:
yflory
2018-03-28 19:35:49 +02:00
parent d5dce6ac22
commit fd1b4189be
5 changed files with 148 additions and 33 deletions

View File

@@ -66,6 +66,12 @@ module.exports.install = function(server, port, callbackFunction) {
console.log("Received: " + message);
data = JSON.parse(message);
if (data.type === "isSaveLock") {
//return void sendData(conn, {type: "saveLock", saveLock: false});
}
if (data.type === "saveChanges") {
//return void sendData(conn, {type: 'savePartChanges', changesIndex: 0});
}
if (data.type !== 'auth') { return; }
console.log("Response auth");