Edit of asset "Godot Optional" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Godot Optional | |
Description |
Introduces to Godot types inspired by the Rust programming language. - Option explicitly denotes that a value can be a null and must be handled - Result explicitly denotes that an operation can fail and must be handled - Custom Errors that carry with them details about the exception, including a cause and display message! It also acts as a place to have a centralized list of errors specific to your application, as GlobalScope.Error doesn't cover most cases. - TimedVars that keep track of when they were created, and can delete themselves after a set amount of time. - Enum structs (experimental): Enums that aren't just integers, but also carry user defined data with them! Good for state handling! Examples, documentation, and playground (see examples/misc) also included! PRs are welcome!! |
Introduces to Godot types inspired by the Rust programming language. - Option explicitly denotes that a value can be a null and must be handled - Result explicitly denotes that an operation can fail and must be handled - Custom Errors that carry with them details about the exception, including a cause and display message! It also acts as a place to have a centralized list of errors specific to your application, as GlobalScope.Error doesn't cover most cases. - TimedVars that keep track of when they were created, and can delete themselves after a set amount of time. - Enum structs (experimental): Enums that aren't just integers, but also carry user defined data with them! Good for state handling! Examples, documentation, and playground (see examples/misc) also included! PRs are welcome!! |
Category | Scripts | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/WhoStoleMyCoffee/godot-optional | |
Issues Url | https://github.com/WhoStoleMyCoffee/godot-optional/issues | |
Godot version | Godot 4.2 | |
Version String | 3.0 | |
Download Commit | 5ae3ca920e8d91d5604b530cf2e3e1650f0d35e2 | 5ae3ca920e8d91d5604b530cf2e3e1650f0d35e2 |
Download Url (Computed) | https://github.com/WhoStoleMyCoffee/godot-optional/archive/5ae3ca920e8d91d5604b530cf2e3e1650f0d35e2.zip | https://github.com/WhoStoleMyCoffee/godot-optional/archive/5ae3ca920e8d91d5604b530cf2e3e1650f0d35e2.zip |
Icon Url |
https://raw.githubusercontent.com/WhoStoleMyCoffee/godot-optional/main/icon.png
|