예제 #1
0
 public void SendCancle(object args)
 {
     Client.AddRequest(new RequestObject("HandShake", "Cancle", args));
 }
예제 #2
0
 public void SendInvite(object args)
 {
     Client.AddRequest(new RequestObject("HandShake", "Invite", args));
 }
예제 #3
0
 public void SendOk(object args)
 {
     Client.AddRequest(new RequestObject("HandShake", "Ok", args));
 }
예제 #4
0
 public void LoginReg(string name, string password, string email)
 {
     Client.AddRequest(new RequestObject("Auth", "Registration",
                                         new object[] { name, password, email }));
 }
예제 #5
0
 public void LoginForgot(string name)
 {
     Client.AddRequest(new RequestObject("Auth", "Forgot", name));
 }
예제 #6
0
 public void LoginGmail(string name)
 {
     Client.AddRequest(new RequestObject("Auth", "Gmail", name));
 }
예제 #7
0
 public void LoginFacebook(string name)
 {
     Client.AddRequest(new RequestObject("Auth", "Facebook", name));
 }
예제 #8
0
 public void SendLogout()
 {
     Client.AddRequest(new RequestObject("Auth", "LogOut", Client.Username));
 }
예제 #9
0
 public void SendLogIn(string name, string password)
 {
     Client.AddRequest(new RequestObject("Auth", "LogIn", new object[] { name, password }));
 }
예제 #10
0
 public void SendRegistration(string name, string password)
 {
     Client.AddRequest(new RequestObject("Auth", "Registration", new object[] { name, password }));
 }
예제 #11
0
 public static void SendMove(object[] args)
 {
     Client.AddRequest(new RequestObject("Game", "Move", args));
 }
예제 #12
0
 public static void SendRefreshClients()
 {
     Client.AddRequest(new RequestObject("Lobby", "refreshClients", "null"));
 }