public static BuildableTranslation FromEdit(BuildableEdit edit) { var t = new BuildableTranslation(); t.name = edit.name; t.set = edit.set; return(t); }
public BuildableEdit Clone() { BuildableEdit b = new BuildableEdit(id, indoorsFile, iconFile, price, _icon, _mapName, _location, _pack); b.conditions = conditions; b.file = file; b.info = info; b.name = name; b.position = position; b.removeEmpty = removeEmpty; b.removeWarps = removeWarps; b.retainWarps = retainWarps; b.sourceArea = sourceArea; b.type = type; b._map = _map; return(b); }