public void SendCancle(object args) { Client.AddRequest(new RequestObject("HandShake", "Cancle", args)); }
public void SendInvite(object args) { Client.AddRequest(new RequestObject("HandShake", "Invite", args)); }
public void SendOk(object args) { Client.AddRequest(new RequestObject("HandShake", "Ok", args)); }
public void LoginReg(string name, string password, string email) { Client.AddRequest(new RequestObject("Auth", "Registration", new object[] { name, password, email })); }
public void LoginForgot(string name) { Client.AddRequest(new RequestObject("Auth", "Forgot", name)); }
public void LoginGmail(string name) { Client.AddRequest(new RequestObject("Auth", "Gmail", name)); }
public void LoginFacebook(string name) { Client.AddRequest(new RequestObject("Auth", "Facebook", name)); }
public void SendLogout() { Client.AddRequest(new RequestObject("Auth", "LogOut", Client.Username)); }
public void SendLogIn(string name, string password) { Client.AddRequest(new RequestObject("Auth", "LogIn", new object[] { name, password })); }
public void SendRegistration(string name, string password) { Client.AddRequest(new RequestObject("Auth", "Registration", new object[] { name, password })); }
public static void SendMove(object[] args) { Client.AddRequest(new RequestObject("Game", "Move", args)); }
public static void SendRefreshClients() { Client.AddRequest(new RequestObject("Lobby", "refreshClients", "null")); }