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); }
/// <summary> /// Static constructor /// </summary> static LandblockMesh() { // load the region file from portal.dat RegionDesc = DatManager.PortalDat.ReadFromDat <RegionDesc>(0x13000000); }