private int InitRaceInfo() { List <String> tmp = new List <string>(); raceData = new MainDataClass(); raceData.SET_RA_KEY(this.Key); /* DBからレース情報読み込み */ int ret = db.TextReader_Col(Key.Substring(0, 8), "RA", 0, ref tmp, Key); if (ret == 0) { return(0); } raceData.setData(ref tmp); if (!(raceData.getRaceGrade() == "" || raceData.getRaceGrade() == "特別" || raceData.getRaceGrade() == "一般")) { /* 重賞レースの場合、レース名に加える */ raceData.setRaceName(tmp[7] + "(" + tmp[16] + ")"); } racename.Text = raceData.getRaceName(); return(1); }
internal MainBankClass(SaveFile sv) { this.sv = sv; this.MainData = new MainDataClass(sv); this.Flags = new FlagClass(sv); this.Party = new PartyClass(sv); }