mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this way for not implemented methods. Instead, each platform should override them to provide the context they want. Fixes #82439.
This commit is contained in:
@@ -449,7 +449,7 @@
|
||||
<description>
|
||||
Returns a string that is unique to the device.
|
||||
[b]Note:[/b] This string may change without notice if the user reinstalls/upgrades their operating system or changes their hardware. This means it should generally not be used to encrypt persistent data as the data saved before an unexpected ID change would become inaccessible. The returned string may also be falsified using external programs, so do not rely on the string returned by [method get_unique_id] for security purposes.
|
||||
[b]Note:[/b] Returns an empty string on Web, as this method isn't implemented on this platform yet.
|
||||
[b]Note:[/b] Returns an empty string and prints an error on Web, as this method cannot be implemented on this platform.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_user_data_dir" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user