increase CashCurrency and GameCurrency

This commit is contained in:
Robert Paciorek 2023-08-10 16:10:37 +00:00 committed by Spirtix
parent 947b2cb4a3
commit 9b52f1fdd4
3 changed files with 9 additions and 9 deletions

View File

@ -111,5 +111,5 @@ Then run School of Dragons.
- GetAnnouncementsByUser (returns no announcements, but that might be sufficient) - GetAnnouncementsByUser (returns no announcements, but that might be sufficient)
- GetAverageRatingForRoom (return max rating) - GetAverageRatingForRoom (return max rating)
- GetUserActivityByUserID (returns an empty array) - GetUserActivityByUserID (returns an empty array)
- GetUserGameCurrency (return 1000 gems and 1000 coins) - GetUserGameCurrency (return 65536 gems and 65536 coins)
- SetAchievementByEntityIDs (returns a static achievement) - SetAchievementByEntityIDs (returns a static achievement)

View File

@ -632,8 +632,8 @@ public class ContentController : Controller {
UserGameCurrency = new UserGameCurrency { UserGameCurrency = new UserGameCurrency {
UserID = Guid.Parse(viking.Id), UserID = Guid.Parse(viking.Id),
UserGameCurrencyID = 1, // TODO: user's wallet ID? UserGameCurrencyID = 1, // TODO: user's wallet ID?
CashCurrency = 1000, CashCurrency = 65536,
GameCurrency = 1000, GameCurrency = 65536,
} }
}; };
return Ok(response); return Ok(response);
@ -670,8 +670,8 @@ public class ContentController : Controller {
UserGameCurrency = new UserGameCurrency { UserGameCurrency = new UserGameCurrency {
UserID = Guid.Parse(viking.Id), UserID = Guid.Parse(viking.Id),
UserGameCurrencyID = 1, // TODO: user's wallet ID? UserGameCurrencyID = 1, // TODO: user's wallet ID?
CashCurrency = 1000, CashCurrency = 65536,
GameCurrency = 1000, GameCurrency = 65536,
} }
}; };
return Ok(response); return Ok(response);
@ -800,8 +800,8 @@ public class ContentController : Controller {
public IActionResult GetUserGameCurrency([FromForm] string userId) { public IActionResult GetUserGameCurrency([FromForm] string userId) {
// TODO: This is a placeholder // TODO: This is a placeholder
return Ok(new UserGameCurrency { return Ok(new UserGameCurrency {
CashCurrency = 1000, CashCurrency = 65536,
GameCurrency = 1000, GameCurrency = 65536,
UserGameCurrencyID = 0, UserGameCurrencyID = 0,
UserID = Guid.Parse(userId) UserID = Guid.Parse(userId)
}); });

View File

@ -168,8 +168,8 @@ public class ProfileController : Controller {
AchievementCount = 0, AchievementCount = 0,
MythieCount = 0, MythieCount = 0,
AnswerData = new UserAnswerData { UserID = viking.Id }, AnswerData = new UserAnswerData { UserID = viking.Id },
GameCurrency = 1000, GameCurrency = 65536,
CashCurrency = 1000, CashCurrency = 65536,
ActivityCount = 0, ActivityCount = 0,
BuddyCount = 0, BuddyCount = 0,
UserGradeData = new UserGrade { UserGradeID = 0 } UserGradeData = new UserGrade { UserGradeID = 0 }