Update 25.10.29

Started by matt · one year ago · 8 replies · 603 views

matt
Facepunch
JoinedApr 2021 Posts273 Score2,450
Update 25.10.29 : news/update-25-10-29
piC0peek
Member
JoinedSep 2021 Posts21 Score3,826
first
Titanovsky
Member
JoinedSep 2021 Posts351 Score5,088
📦
K3rhos
Member
JoinedJul 2023 Posts59 Score680
🔥🔥🔥
The MAZZTer
Member
JoinedJul 2024 Posts22 Score0
I would suggest you be sure to have Stream-based APIs for Storage so it integrates well with other .NET APIs and third-party libraries .

You should also have async/coroutine/whatever methods for reading/writing storage, since it looks like the ones you shared are synchronous. If they are called on the game loop thread (I assume any game scripts you write run there by default) with large files, you could get frame drops. Adding async variants will make the calls more complex (you start calling on one frame but finish on another) but developers can use this to minimize stutter.
garry
Facepunch
JoinedApr 2021 Posts453 Score2,355
OpenRead and OpenWrite give you a stream.

https://sbox.game/api/Sandbox.BaseFileSystem
Aleph
Member
JoinedAug 2022 Posts59 Score755
Happy to see Dark Descent getting a shout out.
elwiz24
Member
JoinedNov 2025 Posts1 Score0
Web_Artur
Member
JoinedDec 2022 Posts14 Score320
 
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.