示例#1
0
文件: HITVM.cs 项目: Daribon/FreeSO
        private HITResourceGroup LoadHitGroup(string HITPath, string EVTPath, string HSMPath)
        {
            var events = new EVT(EVTPath);
            var hitfile = new HITFile(HITPath);
            HSM hsmfile = null;
            if (HSMPath != null) hsmfile = new HSM(HSMPath);

            return new HITResourceGroup()
            {
                evt = events,
                hit = hitfile,
                hsm = hsmfile
            };
        }
示例#2
0
 public Hot(string Filepath, HSM myAsm)
 {
     AsmNames = myAsm;
     LoadFrom(File.ReadAllBytes(Filepath));
 }