public void Load(string effectName) { if (cfg == null) { cfg = ConfigElement.GetAll(typeof(EffectConfig)); } ConfigElement.ParseFile(cfg, "effects/" + effectName + ".properties", this); }
public bool Load(string path) { return(ConfigElement.ParseFile(Server.levelConfig, path, this)); }