LobbyServer.RpcFile.FileClient.GetConf C# (CSharp) Method

GetConf() public method

public GetConf ( string name, bool create ) : ConfigFile
name string
create bool
return ConfigFile
        public ConfigFile GetConf(string name, bool create)
        {
            Log.Info("FileClient", "GetConf: " + name);
            if (_Files.ContainsKey(name)) return _Files[name];
            else
            {
                Log.Debug("FileClient", "The file does not exist!");
                if (!create || name.Length <= 0) return null;
                else
                {
                    string dir = GetClientDir();
                    ConfigFile F = new ConfigFile(name, dir, true);
                    _Files.Add(name, F);
                    return F;
                }
            }
        }

Same methods

FileClient::GetConf ( string name, string WorldName, string CharName, bool create ) : ConfigFile