Haze.Pck/PckExtensions.cs
/// <summary>
/// Adds entry from PckArchiveEntry with a new resPath.
/// </summary>
/// <param name="resPath">The resPath to entry. It should start with res://</param>
Adds entry from PckArchiveEntry with a new resPath.
Adds entry from PckArchiveEntry with a new resPath .
public static void Add(this PckPacker source, string resPath, PckArchiveEntry entry)
        {
            if (source is null)
                throw new ArgumentNullException(nameof(source));
            source.Add(new PckPackerEntryEntry(resPath, entry));
        }
public static void Add ( this PckPacker source , string resPath , PckArchiveEntry entry ) { if ( source is null ) throw new ArgumentNullException ( nameof ( source ) ) ; source . Add ( new PckPackerEntryEntry ( resPath , entry ) ) ; }
Adds entry from PckArchiveEntry with a new resPath.
Adds entry from PckArchiveEntry with a new resPath .
PckPacker
this
resPath
string
The resPath to entry. It should start with res.
The resPath to entry . It should start with res .
entry
PckArchiveEntry