public static void Register(string username, string password) { var register = new Auth { Type = AuthType.Register, Username = username, Password = password }; Send(register); }
public static void Login(string username, string password) { var login = new Auth { Type = AuthType.Login, Username = username, Password = password }; Send(login); }