示例#1
0
 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);
 }
示例#2
0
 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();
 }