ASCU_ALL/DataClient/Struct/Struct.cs

46 lines
782 B
C#
Raw Normal View History

2021-06-06 20:52:44 +05:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataClient.Struct
{
public struct server
{
public string name;
public string ip;
public int port;
public string dir;
public server(string Ip, int Port, string Dir)
{
name = "default";
ip = Ip;
port = Port;
dir = Dir;
}
public server(string Name, string Ip, int Port, string Dir)
{
name = Name;
ip = Ip;
port = Port;
dir = Dir;
}
}
public class NetStatus
{
public enum Status
{
wait = 0,
in_progress = 1,
complete = 2
}
public uint fullSize = 0;
public uint size = 0;
public Status stat = Status.wait;
}
2021-06-08 20:57:54 +05:00
2021-06-06 20:52:44 +05:00
}