public WorldManager(IGameFiles gameFiles, IGameContext gameContext, CameraManager cameraManager, NotificationsCenter notificationsCenter, AreaTableStore areaTableStore) { this.gameFiles = gameFiles; this.gameContext = gameContext; this.cameraManager = cameraManager; this.notificationsCenter = notificationsCenter; this.areaTableStore = areaTableStore; }
public DbcManager(IGameFiles gameFiles, IDatabaseClientFileOpener opener) { this.gameFiles = gameFiles; this.opener = opener; AreaTableStore = new(OpenDbc("AreaTable")); AreaTriggerStore = new(OpenDbc("AreaTrigger")); CreatureDisplayInfoStore = new(OpenDbc("CreatureDisplayInfo")); CreatureDisplayInfoExtraStore = new(OpenDbc("CreatureDisplayInfoExtra")); // for humanoids CreatureModelDataStore = new(OpenDbc("CreatureModelData")); GameObjectDisplayInfoStore = new(OpenDbc("GameObjectDisplayInfo")); ItemDisplayInfoStore = new(OpenDbc("ItemDisplayInfo")); CharSectionsStore = new(OpenDbc("CharSections")); // ChrRacesStore = new(OpenDbc("ChrRaces")); CharacterFacialHairStylesStore = new(OpenDbc("CharacterFacialHairStyles")); CharHairGeosetsStore = new(OpenDbc("CharHairGeosets")); MapStore = new (OpenDbc("Map")); LightIntParamStore = new (OpenDbc("LightIntBand")); LightFloatParamStore = new (OpenDbc("LightFloatBand")); LightParamStore = new (OpenDbc("LightParams"), LightIntParamStore, LightFloatParamStore); LightStore = new (OpenDbc("Light"), LightParamStore); }