![nd img K2 SubmitModRatingAsync](img/nd_img_K2_SubmitModRatingAsync.png)
diff --git a/Doc/documentation.html b/Doc/documentation.html index 2834255d..6c26f6fc 100644 --- a/Doc/documentation.html +++ b/Doc/documentation.html @@ -822,8 +822,10 @@
void K2_SubmitModRatingAsync(FModioModID Mod, EModioRating Rating, FOnErrorOnlyDelegate Callback)
+Submits a rating for a mod on behalf of the current user. Submit a neutral rating to effectively clear a rating already submitted by a user. Submitting other values will overwrite any existing rating submitted by this user.
+initialized-sdk
+authenticated-user
+no-rate-limiting
+Target |
+Modio Subsystem Object Reference |
+
Mod |
+The mod the user is rating |
+
Rating |
+The rating the user wishes to submit |
+
Callback |
++ |
GenericError::SDKNotInitialized |
+SDK not initialized |
+
UserDataError::InvalidUser |
+No authenticated user |
+
NetworkError |
+Couldn’t connect to mod.io servers |
+
EntityNotFoundError |
+Specified mod could not be found |
+
Cancels any running internal operations, frees SDK resources, and invokes any pending callbacks with Modio::GenericError::OperationCanceled . This function will NOT block while the deinitialization occurs.
Target |
+Modio Subsystem Object Reference |
+
Report |
+Information about the content being reported and a description of the report. |
+
Callback |
+Callback providing a status code to indicate successful submission of the report. |
+
NetworkError |
+Couldn’t Connect to mod.io servers |
+
InvalidArgsError |
+Required information in the report did not pass validation |
+
Fetches the currently authenticated Mod.io user profile if there is one associated with the current platform user