refactoring, file packet

This commit is contained in:
2023-10-12 16:21:04 +09:00
parent 08207c9eec
commit 044ace6552
13 changed files with 247 additions and 37 deletions

View File

@@ -16,9 +16,16 @@ namespace TAPClient
string input = Console.ReadLine();
switch (input.ToLower())
{
case "":
break;
case "rcl":
client.RequireClientList();
break;
case "df":
Console.Write("File path: ");
string path = Console.ReadLine();
client.RequireFile(path);
break;
default:
client.SendMessage(input);
break;