public ModContentPack(DirectoryInfo directory, int loadOrder, string name) { this.rootDirInt = directory; this.loadOrder = loadOrder; this.nameInt = name; this.audioClips = new ModContentHolder <AudioClip>(this); this.textures = new ModContentHolder <Texture2D>(this); this.strings = new ModContentHolder <string>(this); this.assemblies = new ModAssemblyHandler(this); }
public ModContentPack(DirectoryInfo directory, string packageId, string packageIdPlayerFacing, int loadOrder, string name) { rootDirInt = directory; this.loadOrder = loadOrder; nameInt = name; packageIdInt = packageId.ToLower(); packageIdPlayerFacingInt = packageIdPlayerFacing; audioClips = new ModContentHolder <AudioClip>(this); textures = new ModContentHolder <Texture2D>(this); strings = new ModContentHolder <string>(this); assetBundles = new ModAssetBundlesHandler(this); assemblies = new ModAssemblyHandler(this); InitLoadFolders(); }