//<<<<<<< HEAD
 //    public void send(int x, int y) {
 //
 //        packet = new GamePacket(request_id);
 //        packet.addInt32 (x);
 //        packet.addInt32 (y);
 //=======
 public void send(string x, string y)
 {
     packet = new GamePacket(request_id);
     packet.addString(x);
     packet.addString(y);
     //>>>>>>> Dong
 }
//<<<<<<< HEAD
//	public void send(int x, int y) {
//
//		packet = new GamePacket(request_id);
//		packet.addInt32 (x);
//		packet.addInt32 (y);
//=======
	public void send(string x, string y) {

		packet = new GamePacket(request_id);
		packet.addString(x);
		packet.addString(y);
//>>>>>>> Dong
	
	}
Esempio n. 3
0
 public RequestLogin send(string username, string password)
 {
     Debug.Log("sending packet");
     packet = new GamePacket(request_id);
     packet.addString(Constants.CLIENT_VERSION);
     packet.addString(username);
     packet.addString(password);
     return(this);
 }
Esempio n. 4
0
 public RequestLogin send(string username, string password)
 {
     Debug.Log ("sending packet");
     packet = new GamePacket (request_id);
     packet.addString (Constants.CLIENT_VERSION);
     packet.addString (username);
     packet.addString (password);
     return this;
 }