Repository navigation
Replies: 4 comments
|
To suggest another change, renaming |
|
Codec Serialisation Support Suggestions by @forgetmenot13579 #164 |
|
We're already using ASM, so why not get funky with it for the partial syncing API? void syncXXXX(MyAwesomeData dataOne, SomeDataClass dataTwo) {
// Update the state of this component based on the contents of `dataOne` and `dataTwo`
}Classes implementing
I'd note that yes, these sync methods can have multiple arguments. This is especially useful for updating single entries in a larger map via a method like We would then use ASM to create classes derived from these component classes with two changes:
From there, we'll create an instance of this new class and discard the original. We would need to either enforce implementation of This implementation will allow users of CCA to simply call their |
|
With 1.20.5 coming this week, I think the content of the V6 is more or less settled. I am still open to minor (possibly breaking) changes while we are in beta phase so I will keep this thread open for a little bit, but codecified components and partial syncs will have to be postponed. |
Uh oh!
There was an error while loading. Please reload this page.
Cardinal Components API V3 came out almost two and a half years ago, with very few breaking changes ever since. However, as time went on, some opportunities for improvements appeared - some of which may constitute rather large paradigm shifts.
This discussion is here to discuss the various possibilities, opportunities and pitfalls for such an update.
Here are some ideas :
Also some things I would like to shove in there :
Paging @UpcraftLP, @forgetmenot13579
All reactions