Beispiel #1
0
 public void SetPredicting(UserClient client)
 {
     client.SetID(-1);
     client.SetUsername(UniqueName());
     client.SetPass("");
     client.SetLearning(false);
     AddToPredicting(client);
 }
Beispiel #2
0
        public void SetLearning(UserClient target, String name, String pass, int userID)
        {
            UserClient temp = GetClientByName(target.GetName());

            temp.SetPass(pass);
            temp.SetID(userID);
            temp.SetUsername(name);
            temp.SetLearning(true);
            AddToLearning(temp);
        }