Esempio n. 1
0
    private void Start()
    {
        Application.runInBackground = true;

        _clientIO     = GetComponent <ClientIO>();
        _currentFrame = -1;

        NetworkTransport.Init();

        ConnectToMaster();
    }
Esempio n. 2
0
 public static bool ID_Uniq(int id)
 {
     return(ClientIO.ID_Validation_Uniq(id));
 }
Esempio n. 3
0
 public static void deletLineClient(string del)
 {
     ClientIO.deletLine(del);
 }
Esempio n. 4
0
 public static void Delete_lastLineClient()
 {
     ClientIO.Delete_lastLine();
 }
Esempio n. 5
0
 public static List <Client> SearchClient(int id)
 {
     return(ClientIO.SearchRecord(id));
 }
Esempio n. 6
0
 public static List <Client> SearchClient(string name)
 {
     return(ClientIO.SearchRecord(name));
 }
Esempio n. 7
0
 public static List <Client> ListAllClients()
 {
     return(ClientIO.ListClient());
 }
Esempio n. 8
0
        //public static List<Client> searchBinaryClient(int id)
        //{
        //    return ClientIO.searchBinary(id);
        //}

        public static void saveClient(Client client)
        {
            ClientIO.saveRecord(client);
        }
Esempio n. 9
0
 public static List <Client> GetClient_binary()
 {
     return(ClientIO.GetClients_binary());
 }
Esempio n. 10
0
        //public static List<Client> deserializationClient()
        //{
        //    return ClientIO.deserializationObject();
        //}

        public static void writeClient_binary(Client c)
        {
            ClientIO.writeBinaryClient(c);
        }
Esempio n. 11
0
 public static void serializationClient(Client client)
 {
     ClientIO.serializationObject(client);
 }