GetBadgeGenDataV4 July 11, 2023 03:29PM |
Registered: 9 months ago Posts: 3 |
GetBadgeGenDataV4() +--belt{ | +-- url {string} -> "//cdn2.project-gc.com/images/badgegen/bgv2/belts/belt27.png" - url to belt image | +--points {number} -> 306.68 - current belt points | +--info table { | | +-- 1 { | | | +-- cnt {string} "2117" | | | +-- text {string} "One point per 100 caches found." | | | +-- points {number} 21 | | | } | | +-- 2 .. "2 points per event hosted; maximum of 30 points." | | + ... | | +-- 18 {table} -> Belt information table | | } | +-- next {number} -> 316 - points for next belt | } +--countryBadges { | +-- 1 { | | +-- badge {string} -> "The Croatia cacher" - badge name | | +-- country {string} -> "Croatia" - country name | | +-- tooltip {string} -> "The Croatia cacher: Awarded for finding caches in a percentage of states in Croatia MiaFu has 100% (2 of 2 states) and has the best badge available" - badge tool tip | | +-- left {boolean/number} -> 'false' / 75 - for Diamond (100%) contain 'false' for others contain percentage for next level | | +-- addons {table} { | | | +-- 1 {string} -> "ftf" - list of extra addons - ftf in this case can be empty | | | +-- 2 {string} -> "leapday" - list of extra addons - leapday in this case | | | } | | +-- quality {string} -> "D" - badge quality "B" "S" "G" "P" "R" "Sa" "E" "D" | | +-- url {string} -> "/dimages/badgegen-v4-countrybadge.php?country=HR&quality=D" - badge url | | +-- numRegions {number} -> 2 - total number of regions | | +-- percent {number} -> 100 - country coverage | | +-- logged {string} -> "2" - number of logged regions. do not know why string | | } | +-- 2 {next country, same as before} - repeats for all country | } +--badges { +-- The Long-Distance Cacher { | +-- badge {string} -> "The Long-Distance Cacher" - badge name | +-- current {number} -> 9549 / 'nil' - current badge value, 'nil' if not exist - for example home coordinates not defined | +-- awarded {string} -> "Awarded for finding a cache 6400 km or further away from home" - description | +-- next {boolean/number} -> "10000" - next available badge / false if not available | +-- tooltip {string} -> "The Long-Distance Cacher - Emerald Awarded for finding a cache 6400 km or further away from home MiaFu has 9549 km and needs 10000 to go up a level" - tooltip | +-- addons {table} { | | +-- 1 {string} -> "ftf" - list of extra addons - ftf in this case can be empty | | +-- 2 {string} -> "leapday" - list of extra addons - leapday in this case | | } | +-- url {string} -> "//cdn2.project-gc.com/dimages/badgegen-v4-badge.php?icon=TheLongDistanceCacher&quality=E" - badge url | +-- diamond {number} -> "10000" - amount for diamond | +-- quality {string} -> "E" - badge quality "X" "B" "S" "G" "P" "R" "Sa" "E" "D" "D2" "D3" (Diamond 2x) X=none | +-- this* {number} -> "6000" - actual level Note*: not populated for Emerald and Diamond | } +-- The Large Cacher { | {same structure for next badges} | }
Re: GetBadgeGenDataV4 July 19, 2023 02:52PM |
Registered: 9 months ago Posts: 3 |
Re: GetBadgeGenDataV4 July 20, 2023 04:10PM |
Registered: 8 years ago Posts: 21,395 |
Re: GetBadgeGenDataV4 July 20, 2023 04:25PM |
Registered: 9 months ago Posts: 3 |