Skip to content

Added pin progress support - #1119

Open
W0lf4llo wants to merge 1 commit into
LBPUnion:mainfrom
W0lf4llo:feature/lbp-pins
Open

Added pin progress support#1119
W0lf4llo wants to merge 1 commit into
LBPUnion:mainfrom
W0lf4llo:feature/lbp-pins

Conversation

@W0lf4llo

Copy link
Copy Markdown
Contributor

Summary of what's been done

This added pin progress synchronization for LBP2, LBP3, and LBP Vita,

Specific changes made:

  • Pin progress is now uploaded to lighthouse and stored in the database
  • Saves the users progress, so if they lose their profile, or switch from LBP2 to LBP3 without transferring their profile, their uploaded pins will follow if synced with the server.
  • As stated before.. synced pin progress going from LBP2 to LBP3, but not going backwards.
  • Equipped profile pins are different per game
  • LBP Vita progress is separate from the mainline games.
  • Added database migration for the pin state
  • Added unit tests for pin uploading, merging, profile pins, sparse uploads if any happen, and per game isolation.

What was tested?

  • ProjectLighthouse.Tests | 114 out of 114 passed
  • ProjectLighthouse.Tests.GameApiTests | 151 out of 151 passed
  • ProjectLighthouse.Tests.WebsiteTests | 9 out of 9 passed
  • Finally, I tested the implementation on LBP2 and LBP3 on my PS3.

Why do I want this added?

This allows for an easy future implementation of server sided pins to actually work with the client now. For example, the 2 yay pins will be achievable in the future, the 2 scoreboard pins, having a level team picked can award you a pin, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant