public virtual bool Autoload(ref string name) { return mod.Properties.Autoload; }
private void AutoloadGlobalWall(Type type) { GlobalWall globalWall = (GlobalWall)Activator.CreateInstance(type); globalWall.mod = this; string name = type.Name; if (globalWall.Autoload(ref name)) { AddGlobalWall(name, globalWall); } }