Persist.reld

From OHRRPGCE-Wiki
Jump to navigation Jump to search

Persist.reld is a RELOAD document that stores game-specific state data which does not belong in saved games. It is stored at settings_dir/<gamename>/persist.reld.

See also gameconfig.ini which stores key-value pairs of human-readable configuration.

Persist.reld is better suited to structured data that would not fit well in gameconfig.ini. Currently it contains only in-app-purchase information.

Reload Tree structure[edit]

  • persist - the root node
    • purchase_cache - contains information about successful purchases
      • paypal - contains information about paypal purchases
        • zero or more child nodes named for the paypal button ID number
          • count int - the number of times this product has been successfully purchased
      • ouya contains information about OUYA store purchases
        • zero or more child nodes named for the OUYA in-app-purchase product ID number
          • count int - the number of times this product has been successfully purchased