Ejemplo n.º 1
0
        private static bool IsServerOfSettingsRunning(ServerSettings serverSettings)
        {
            KeyValuePair <string, SDaysTDieServer> keyValuePair = SDaysTDieServersByUserIds.FirstOrDefault(x => x.Value.ServerSettings.WorldGenSeed == serverSettings.WorldGenSeed);

            return(keyValuePair.Key != "" && keyValuePair.Key != null);
        }
Ejemplo n.º 2
0
 private static bool IsServerCountOfUserExceeding(ServerSettings serverSettings)
 {
     return(SDaysTDieServersByUserIds.ContainsKey(serverSettings.UserUuid));
 }