Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS support. #36

Open
wants to merge 2 commits into
base: vpm
Choose a base branch
from
Open

iOS support. #36

wants to merge 2 commits into from

Conversation

bdragon28
Copy link

Add basic iOS support.

This does not yet handle migrating. I'm not sure what the best way to do this is, given the data structure change is in SharedObject.

It's probably possible to scan through the objects with reflection, but if not, it might be necessary to add migration code to all types to initialize the fields.

Probably best to initialize it from the Quest values.

This does not yet handle migrating. I'm not sure what the best way to do this is, given the data structure change is in SharedObject.

It's probably possible to scan through the objects with reflection, but if not, it might be necessary to add migration code to all types.
Copy link

github-actions bot commented Aug 25, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@bdragon28
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

* Rename the two-parameter Setup() to Upgrade() to describe better what it does.
* Mark it abstract and implement it everywhere, to do a one-time copy of all of the Quest objects to iOS.
* Document a bug in the Type_Light upgrade path, which was never actually run due to a typo.
@bdragon28
Copy link
Author

I added a migration path. I didn't get all clever with reflection, but went through every class and added migration code, for maintainability's sake.

@bdragon28 bdragon28 changed the title [WIP] iOS support. iOS support. Dec 4, 2024
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