Ejemplo n.º 1
0
        void Start()
        {
            DontDestroyOnLoad(gameObject);
            loggingIn = false;
            connected = false;
            loggedIn = false;

            gameStarted = false;
            rooms = new Rooms();
            socks = (Sockets)gameObject.AddComponent("Sockets");
            socks.SERVER_LOCATION = PlayerPrefs.GetString("IP");
            //	uniClock = new System.Diagnostics.Stopwatch();
            //	dt = NTPTime.getNTPTime(ref uniClock);
        }
Ejemplo n.º 2
0
 public void setStuff(NetworkStream nwsIn, Sockets inSocket)
 {
     nws = nwsIn;
     socks = inSocket;
 }
Ejemplo n.º 3
0
 public ThreadSock(NetworkStream nwsIn, Sockets inSocket)
 {
     nws = nwsIn;
     socks = inSocket;
 }