Ejemplo n.º 1
0
 public static NetworkResponse Parse(MemoryStream dataStream)
 {
     ResponseRegister response = new ResponseRegister ();
     response.status = DataReader.ReadShort (dataStream);
     if (response.status != 0) {
         Debug.Log ("Server error during registration, status = " + response.status);
     }
     return response;
 }
Ejemplo n.º 2
0
        public static NetworkResponse Parse(MemoryStream dataStream)
        {
            ResponseRegister response = new ResponseRegister();

            response.status = DataReader.ReadShort(dataStream);
            if (response.status != 0)
            {
                Debug.Log("Server error during registration, status = " + response.status);
            }
            return(response);
        }