/// <summary>
        /// Constructor that takes a parent plugin
        /// </summary>
        /// <param name="p_Plugin">Loader2013_2Plugin</param>
        public BundleManager(Loader2013_2Plugin p_Plugin) : base(p_Plugin)
        {
            m_Bundles = new ConcurrentDictionary <string, InternalBundleEntry>();

            // Mount bundles, resources, and ebx to the VFS
            FileSystem.Mount(new BundleBackend(), "/bundles");
            FileSystem.Mount(new ResourceBackend(), "/res");
            FileSystem.Mount(new EbxBackend(), "/ebx");
        }
Beispiel #2
0
        /// <summary>
        /// Constructor that takes a parent plugin
        /// </summary>
        /// <param name="p_Plugin">Loader2013_2Plugin</param>
        public SuperbundleManager(Loader2013_2Plugin p_Plugin) : base(p_Plugin)
        {
            // On new superbundle manager creation we want to clear out all previous partitions. As a new superbundle manager only gets created when a new game is loaded
            PartitionRegistry.RemoveAllPartitions();

            // Create and mount the superbundle filesystem
            FileSystem.Mount(new SuperbundleBackend(), "/sb");
            // Create and mount the chunk filesystem
            FileSystem.Mount(new ChunkBackend(), "/chunks");
        }
Beispiel #3
0
 /// <summary>
 /// Constructor that takes a parent plugin
 /// </summary>
 /// <param name="p_Plugin">Loader2013_2Plugin</param>
 public LayoutManager(Loader2013_2Plugin p_Plugin) : base(p_Plugin)
 {
 }
 /// <summary>
 /// Constructor that takes in a parent plugin
 /// </summary>
 /// <param name="p_Plugin">Loader2013_2Plugin</param>
 public ContentManager(Loader2013_2Plugin p_Plugin) : base(p_Plugin)
 {
 }