public static GameMapMovementRequestMessage deserialize(Utils.Objects.Packet sender) { List<int> path = new List<int>(); int nCells = sender.ReadShort(); for (int i = 0; i < nCells; ++i) path.Add(sender.ReadCell()); return new GameMapMovementRequestMessage(path, sender.ReadInt()); }