You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a certain project I'm working on, I am using session counters that will very quickly go above the 32 bit integer limit. For the purposes of this project, it's important that I have the ability to store an arbitrarily large number. Currently, the only feasible way I could see of making this work while maintaining mod interoperability is to directly patch the class itself.
Additional context
No response
The text was updated successfully, but these errors were encountered:
this would be useful, but would also break all mods that use counters currently, which seems like a bad idea.
you could implement it using two sets of methods (the current ones using int and clamping, and new ones using a different type); but that could get janky and unintuitive.
finally, i'm not that happy with BigIntegers being the default type, since they have more overhead, an arbitrarily large size in memory / on disc, probably worse serialization, and are not a type that's used anywhere else in celeste.
as such, i would recommend implementing this as a mod feature (perhaps along with double sliders) rather than in Everest itself.
I am planning on implementing this myself
Yes
Describe your request
For a certain project I'm working on, I am using session counters that will very quickly go above the 32 bit integer limit. For the purposes of this project, it's important that I have the ability to store an arbitrarily large number. Currently, the only feasible way I could see of making this work while maintaining mod interoperability is to directly patch the class itself.
Additional context
No response
The text was updated successfully, but these errors were encountered: