Beispiel #1
0
 public static bool ValidateUserId(string uId)
 {
     if (GAValidator.ValidateString(uId, false))
     {
         return(true);
     }
     Debug.Log("Validation fail - user id: id cannot be (null), empty or above 64 characters.");
     return(false);
 }
Beispiel #2
0
 public static bool ValidateFacebookId(string facebookId)
 {
     if (GAValidator.ValidateString(facebookId, false))
     {
         return(true);
     }
     Debug.Log((object)"Validation fail - facebook id: id cannot be (null), empty or above 64 characters.");
     return(false);
 }