/// <summary>
 /// Set last id of given reward from a <c>SequenceReward</c>
 /// </summary>
 /// <param name="reward">to set last id for</param>
 /// <param name="reward">the last id to to mark as given</param>
 protected override void _setLastSeqIdxGiven(SequenceReward seqReward, int idx)
 {
     string rewardJson = seqReward.toJSONObject().ToString();
     rewardStorage_SetLastSeqIdxGiven(rewardJson, idx);
 }
 /// <summary>
 /// Get last id of given reward from a <c>SequenceReward</c>
 /// </summary>
 /// <param name="reward">to query</param>
 /// <returns>last index of sequence reward given</returns>
 protected override int _getLastSeqIdxGiven(SequenceReward seqReward)
 {
     string rewardJson = seqReward.toJSONObject().ToString();
     return rewardStorage_GetLastSeqIdxGiven(rewardJson);
 }