mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
[FileAccess] Return error codes from store_* methods.
This commit is contained in:
parent
56a7dba10b
commit
a4b17e7852
30 changed files with 279 additions and 138 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
|
||||
virtual Error resize(int64_t p_length) override { return ERR_UNAVAILABLE; }
|
||||
virtual void flush() override {}
|
||||
virtual void store_buffer(const uint8_t *p_src, uint64_t p_length) override; ///< store an array of bytes
|
||||
virtual bool store_buffer(const uint8_t *p_src, uint64_t p_length) override; ///< store an array of bytes
|
||||
|
||||
virtual bool file_exists(const String &p_path) override { return false; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue