public hostUserEvent(string n, string nl, hostUser usr, hostChar ch, campCampaign camp, string desc)
     : this(n, nl)
 {
     this.Character   = ch;
     this.Campaign    = camp;
     this.Description = desc;
     this.User        = usr;
 }
 public virtual bool attachProfile(hostUser user)
 {
     // if Email exists but not match then fail and handle in caller
     if (user.Email != null)
     {
         if (user.Email != this.Email)
         {
             return(false);
         }
     }
     user.fbAccessToken = this.AccessToken;
     user.fbFirstName   = this.FirstName;
     user.fbSurname     = this.Surname;
     user.fbGender      = this.Gender;
     user.fbID          = this.ID;
     return(true);
 }
Example #3
0
 public hostChar(string n, string nl, hostUser log)
     : this(n, nl)
 {
     //this.Logon = log;
 }