Project-GC Lua Sandbox API
Loading...
Searching...
No Matches
GetSouvenirs

Member Function Documentation

◆ GetSouvenirs()

GetSouvenirs ( $profileId,
$params = [] )

Returns an associative array with souvenir data.

Parameters
int$profileId(required) An integer with the users profile id.
array$params(optional) An optional associative array of options for filtering/sorting/limit.
  • order: NEWESTFIRST to sort with the newest finds first, or OLDESTFIRST for the opposite
Returns
array|false An associative array with the data. Fields:
  • (string) date_discovered
  • (string) souvenir_id
  • (string) image_path
  • (string) thumb_path
  • (string) title
  • (string) group