Exemple #1
0
    public void BtnSinglePlayer()
    {
        Game.RTM.p2pServer.Start();

        Game.RTM.p2pClient.Connect();


        SocketPakage.WorldPackage wp = new SocketPakage.WorldPackage();
        Game.RTM.p2pClient.SendMessage(1001, wp);


        //Game.RTM.tcpClient.Connect();
        //SocketPakage.WorldPackage wp=new SocketPakage.WorldPackage();
        //Game.RTM.p2pClient.SendMessage(1001,wp);
    }
Exemple #2
0
	public void BtnSinglePlayer()
	{
		Game.RTM.p2pServer.Start();

		Game.RTM.p2pClient.Connect();


		SocketPakage.WorldPackage wp=new SocketPakage.WorldPackage();
		Game.RTM.p2pClient.SendMessage(1001,wp);


		//Game.RTM.tcpClient.Connect();
		//SocketPakage.WorldPackage wp=new SocketPakage.WorldPackage();
		//Game.RTM.p2pClient.SendMessage(1001,wp);

	}