Sakuno.KanColle.Amatsukaze.Game.Services.Records.DevelopmentRecords.DevelopmentRecords C# (CSharp) Method

DevelopmentRecords() private method

private DevelopmentRecords ( SQLiteConnection rpConnection ) : Sakuno.KanColle.Amatsukaze.Game.Models.Raw
rpConnection System.Data.SQLite.SQLiteConnection
return Sakuno.KanColle.Amatsukaze.Game.Models.Raw
        internal DevelopmentRecords(SQLiteConnection rpConnection) : base(rpConnection)
        {
            DisposableObjects.Add(ApiService.Subscribe("api_req_kousyou/createitem", r =>
            {
                var rFuelConsumption = int.Parse(r.Parameters["api_item1"]);
                var rBulletConsumption = int.Parse(r.Parameters["api_item2"]);
                var rSteelConsumption = int.Parse(r.Parameters["api_item3"]);
                var rBauxiteConsumption = int.Parse(r.Parameters["api_item4"]);

                InsertRecord((RawEquipmentDevelopment)r.Data, rFuelConsumption, rBulletConsumption, rSteelConsumption, rBauxiteConsumption);
            }));
        }