Detailsentries the board should handle by entering a number in the Details field
intthese can be anything you would like as long as they are int and there are less than 64 of them.
Detailsfield as seen in the inspector for you Leaderboard Object. This tells our system how many details it should read from Steam when reading a user's data. If you leave it at 0 we will not try to read detail values, if you enter a value larger than 64 errors will occur.
Detailsyou can add additional data to the leaderboard entry in the form of an attachment. This is simply a single file stored in the user's remote storage and linked to the leaderboard entry.
myDatais a JSON serializable object and that callback is a suitable method or delegate with a signature like
void Callback(LeaderbaordUGCSet_t result, bool IOError);this will create a new file named attachmentName in the user's remote storage and then attach it to the user's entry on this leaderboard.
void Callback(LeaderboardScoreUploaded_t result, bool IOError)that will be invoked when the process is complete.
int detailArraythis is commonly used to store additional data about the user's entry.
UploadScoreversion only they do so with the "Force Update" option meaning that even if the score provided is not as good as the current score Steam will still apply it.
ELeaderboardUploadScoreMethod.k_ELeaderboardUploadScoreMethodKeepBestthis will cause the system to keep the best score. You would never upload with
ELeaderboardUploadScoreMethod.k_ELeaderboardUploadScoreMethodNonethe 3rd option is to Force Update, forcing the board to take whatever you give it;
ELeaderboardUploadScoreMethod.k_ELeaderboardUploadScoreMethodForceUpdatethis is generally only used to "reset" a board.