public string ConfigGet(string key) { ConfigGet operation = new ConfigGet(); operation.ConfigKey = key; ODocument document = _connection.ExecuteOperation(operation); return(document.GetField <string>(key)); }
public static void LoadExperience() { var maxLevel = (int)ConfigGet.ConfigGetLong(Settings.GamePath + @"\Data\Experience.txt", "MaxLevel"); Data = new List <long>(); Data.Add(0); for (var n = 1; n <= maxLevel; n++) { Data.Add(ConfigGet.ConfigGetLong(Settings.GamePath + @"\Data\Experience.txt", n + "")); } }