Document serialization compiler intrinsics - #72
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2e75ac1293
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| codec separate from the rest of the game logic. See the [Save and Load tutorial](/tutorials/saveload.html) for | ||
| integration with Warcraft III's file API. | ||
| Keep serializable state in a small class and keep persistence policy separate from the rest of the game logic. | ||
| See the [Save and Load tutorial](/tutorials/saveload.html) for integration with Warcraft III's file API. |
There was a problem hiding this comment.
Update the linked tutorial to use the prefixed intrinsics
This integration link sends readers to _tutorials/saveload.md, whose field-mapping section still exclusively documents and demonstrates __wurst_forFields and __wurst_mapFields (lines 68–90). That directly contradicts this section's new API guidance and leaves tutorial users copying the obsolete spellings; update the linked tutorial alongside the manual.
Useful? React with 👍 / 👎.
2e75ac1 to
89a080c
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Documents the compiler-assisted serialization helpers merged in WurstScript#1224.
wurstForFields,wurstMapFields, andwurstNewInstance<T>()declarationsRebased onto current
masterand conflict-free.Validation:
bundle exec jekyll build