From 9b52f1fdd493774d619b1e5e829ffc3e090bdd97 Mon Sep 17 00:00:00 2001 From: Robert Paciorek Date: Thu, 10 Aug 2023 16:10:37 +0000 Subject: [PATCH] increase CashCurrency and GameCurrency --- README.md | 2 +- src/Controllers/Common/ContentController.cs | 12 ++++++------ src/Controllers/Common/ProfileController.cs | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index dea4efd..cab274e 100644 --- a/README.md +++ b/README.md @@ -111,5 +111,5 @@ Then run School of Dragons. - GetAnnouncementsByUser (returns no announcements, but that might be sufficient) - GetAverageRatingForRoom (return max rating) - GetUserActivityByUserID (returns an empty array) -- GetUserGameCurrency (return 1000 gems and 1000 coins) +- GetUserGameCurrency (return 65536 gems and 65536 coins) - SetAchievementByEntityIDs (returns a static achievement) diff --git a/src/Controllers/Common/ContentController.cs b/src/Controllers/Common/ContentController.cs index eaf538a..78cc670 100644 --- a/src/Controllers/Common/ContentController.cs +++ b/src/Controllers/Common/ContentController.cs @@ -632,8 +632,8 @@ public class ContentController : Controller { UserGameCurrency = new UserGameCurrency { UserID = Guid.Parse(viking.Id), UserGameCurrencyID = 1, // TODO: user's wallet ID? - CashCurrency = 1000, - GameCurrency = 1000, + CashCurrency = 65536, + GameCurrency = 65536, } }; return Ok(response); @@ -670,8 +670,8 @@ public class ContentController : Controller { UserGameCurrency = new UserGameCurrency { UserID = Guid.Parse(viking.Id), UserGameCurrencyID = 1, // TODO: user's wallet ID? - CashCurrency = 1000, - GameCurrency = 1000, + CashCurrency = 65536, + GameCurrency = 65536, } }; return Ok(response); @@ -800,8 +800,8 @@ public class ContentController : Controller { public IActionResult GetUserGameCurrency([FromForm] string userId) { // TODO: This is a placeholder return Ok(new UserGameCurrency { - CashCurrency = 1000, - GameCurrency = 1000, + CashCurrency = 65536, + GameCurrency = 65536, UserGameCurrencyID = 0, UserID = Guid.Parse(userId) }); diff --git a/src/Controllers/Common/ProfileController.cs b/src/Controllers/Common/ProfileController.cs index 038ed4c..cdfd7d5 100644 --- a/src/Controllers/Common/ProfileController.cs +++ b/src/Controllers/Common/ProfileController.cs @@ -168,8 +168,8 @@ public class ProfileController : Controller { AchievementCount = 0, MythieCount = 0, AnswerData = new UserAnswerData { UserID = viking.Id }, - GameCurrency = 1000, - CashCurrency = 1000, + GameCurrency = 65536, + CashCurrency = 65536, ActivityCount = 0, BuddyCount = 0, UserGradeData = new UserGrade { UserGradeID = 0 }