Example #1
0
 public static IEnumerable <PlayerClient> FindAllWithName(string name, StringComparison comparison)
 {
     if (!string.IsNullOrEmpty(name))
     {
         ServerManagement serverManagement  = ServerManagement.Get();
         ServerManagement serverManagement1 = serverManagement;
         if (serverManagement)
         {
             return(serverManagement1.FindPlayerClientsByName(name, comparison));
         }
     }
     return(EmptyArray <PlayerClient> .emptyEnumerable);
 }