Esempio n. 1
0
        public static void Init()
        {
            ACFolder  = @"j:\AC\";
            ACEFolder = @"c:\ACE\";

            ConfigManager.Initialize(ACEFolder + "Config.json");
            DatManager.Initialize(ACFolder);

            // load the region file from portal.dat
            RegionDesc = DatManager.PortalDat.ReadFromDat <RegionDesc>(0x13000000);
        }
Esempio n. 2
0
 /// <summary>
 /// Static constructor
 /// </summary>
 static LandblockMesh()
 {
     // load the region file from portal.dat
     RegionDesc = DatManager.PortalDat.ReadFromDat <RegionDesc>(0x13000000);
 }