We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typed-screeps/src/memory.ts
Line 15 in ae85cfd
Pretty self explanatory. Directly encouraged by the docs this is needed for allowing for custom serialization
The text was updated successfully, but these errors were encountered:
No, it actually doesn't. It is trying to explain to you how access to Memory works :) Essentially, on first access in a tick, it will do a JSON parse of the raw memory and assign it to the variable. If you want to do the "memory hack", you could do something like https://github.com/Jomik/screeps-ai/blob/27a5edce0ac7920f5b4feb04c3dd6808527d3509/packages/bot/src/utils/memory-hack.ts#L9
Memory
I suppose the proper keyword would be let, but I think it is better to be very explicit if you mess with Memory, as it can really screw you over.
let
Sorry, something went wrong.
No branches or pull requests
typed-screeps/src/memory.ts
Line 15 in ae85cfd
Pretty self explanatory. Directly encouraged by the docs this is needed for allowing for custom serialization
The text was updated successfully, but these errors were encountered: