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

Added Static typings #277

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

TheYellowArchitect
Copy link
Contributor

@TheYellowArchitect TheYellowArchitect commented Sep 14, 2024

The only non-static typing in this PR is the handling of _record_input_props as its just 1 line and solves #250
As for the version bump for each PR, I suggest implementing git hooks which automatically upgrade those values after each PR, because that is the only conflict here (I resolved it, but this has version 1.8.4 just like #276 but I guess if both are merged its good, I will resolve merge conflicts if any)

_auth_input_props.push_back(pe)
for picked_property in input_properties:
picked_property_entry = _property_cache.get_entry(picked_property)
_record_input_props.push_back(picked_property_entry)
Copy link
Contributor Author

@TheYellowArchitect TheYellowArchitect Sep 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that _record_input_props is set here outside authority. Solves #250 and its tested to work locally, as intended in all my other PRs. After all, it is not set anywhere if not here, and before this commit, _record_input_props is the same as _auth_input_props for exclusively the authority player, which makes _record_input_props obsolete to _auth_input_props.

And as mentioned elsewhere, this change is how _auth_state_props and _record_state_props works, so I see this as a bugfix

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.

2 participants