adding missing sync logic
This commit is contained in:
parent
e02096f34c
commit
39c7eb316e
3 changed files with 15 additions and 2 deletions
|
@ -57,6 +57,17 @@ namespace Sledgemapper.Api.Commands
|
|||
var note = JsonSerializer.Deserialize<Note>(mapUpdate.Object);
|
||||
mapSession.NewNote(note);
|
||||
break;
|
||||
case "L":
|
||||
var line = JsonSerializer.Deserialize<Line>(mapUpdate.Object);
|
||||
mapSession.NewLine(line);
|
||||
break;
|
||||
case "R":
|
||||
var room = JsonSerializer.Deserialize<Room>(mapUpdate.Object);
|
||||
mapSession.NewRoom(room);
|
||||
break;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue