31 lines
557 B
C#
31 lines
557 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|