コード例 #1
0
 /// <summary>
 /// Creates a mutable load order link cache by combining an existing immutable load order cache,
 /// plus a set of mods to be put at the end of the load order and allow to be mutable.
 /// </summary>
 /// <param name="immutableBaseCache">LoadOrderCache to use as the immutable base</param>
 /// <param name="mutableMods">Set of mods to place at the end of the load order, which are allowed to be modified afterwards</param>
 /// <returns>LinkPackage attached to given LoadOrder</returns>
 public static MutableLoadOrderLinkCache <IOblivionMod, IOblivionModGetter> ToMutableLinkCache(
     this LoadOrder <IOblivionModGetter> immutableBaseCache,
     params IOblivionMod[] mutableMods)
 {
     return(immutableBaseCache.ToMutableLinkCache <IOblivionMod, IOblivionModGetter>(mutableMods));
 }
コード例 #2
0
 /// <summary>
 /// Creates a mutable load order link cache by combining an existing immutable load order cache,
 /// plus a set of mods to be put at the end of the load order and allow to be mutable.
 /// </summary>
 /// <param name="immutableBaseCache">LoadOrderCache to use as the immutable base</param>
 /// <param name="mutableMods">Set of mods to place at the end of the load order, which are allowed to be modified afterwards</param>
 /// <returns>LinkPackage attached to given LoadOrder</returns>
 public static MutableLoadOrderLinkCache <IFallout4Mod, IFallout4ModGetter> ToMutableLinkCache(
     this LoadOrder <IModListing <IFallout4ModGetter> > immutableBaseCache,
     params IFallout4Mod[] mutableMods)
 {
     return(immutableBaseCache.ToMutableLinkCache <IFallout4Mod, IFallout4ModGetter>(mutableMods));
 }