コード例 #1
0
    protected override void ParseData(SqliteDataReader reader)
    {
        if (reader == null || !reader.HasRows)
        {
            return;
        }

        mBattleStateMap = new Dictionary <string, StateInfo>();
        StateInfo kInfo;

        while (reader.Read())
        {
            kInfo       = new StateInfo();
            kInfo.state = GetReaderString(reader, "state");
            kInfo.value = DBTextResource.ParseBT(GetReaderString(reader, "value"));
            mBattleStateMap.Add(kInfo.state, kInfo);
        }
    }