Showing the changes to libraries/networking/src/UserActivityLoggerScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -89,17 +89,19 @@ void UserActivityLoggerScriptingInterface::doLogAction(QString action, QJsonObje · 88 unmodified lines | ||
| 89 | 89 | Q_ARG(QJsonObject, details)); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | −void UserActivityLoggerScriptingInterface::commercePurchaseSuccess(QString marketplaceID, int cost, bool firstPurchaseOfThisItem) { | |
| 92 | +void UserActivityLoggerScriptingInterface::commercePurchaseSuccess(QString marketplaceID, QString contentCreator, int cost, bool firstPurchaseOfThisItem) { | |
| 93 | 93 | QJsonObject payload; |
| 94 | 94 | payload["marketplaceID"] = marketplaceID; |
| 95 | + payload["contentCreator"] = contentCreator; | |
| 95 | 96 | payload["cost"] = cost; |
| 96 | 97 | payload["firstPurchaseOfThisItem"] = firstPurchaseOfThisItem; |
| 97 | 98 | doLogAction("commercePurchaseSuccess", payload); |
| 98 | 99 | } |
| 99 | 100 | |
| 100 | −void UserActivityLoggerScriptingInterface::commercePurchaseFailure(QString marketplaceID, int cost, bool firstPurchaseOfThisItem, QString errorDetails) { | |
| 101 | +void UserActivityLoggerScriptingInterface::commercePurchaseFailure(QString marketplaceID, QString contentCreator, int cost, bool firstPurchaseOfThisItem, QString errorDetails) { | |
| 101 | 102 | QJsonObject payload; |
| 102 | 103 | payload["marketplaceID"] = marketplaceID; |
| 104 | + payload["contentCreator"] = contentCreator; | |
| 103 | 105 | payload["cost"] = cost; |
| 104 | 106 | payload["firstPurchaseOfThisItem"] = firstPurchaseOfThisItem; |
| 105 | 107 | payload["errorDetails"] = errorDetails; |