From 2b7c0cfb344c3c430f52c4aeef1e05c83da62f91 Mon Sep 17 00:00:00 2001 From: Levi Lindsey <4317587+levilindsey@users.noreply.github.com> Date: Tue, 15 Jun 2021 20:00:19 -0700 Subject: Update File.store_var description to mention which properties of an object are included. --- doc/classes/File.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/File.xml b/doc/classes/File.xml index ea3b82dc54..92b1c85309 100644 --- a/doc/classes/File.xml +++ b/doc/classes/File.xml @@ -486,6 +486,7 @@ Stores any Variant value in the file. If [code]full_objects[/code] is [code]true[/code], encoding objects is allowed (and can potentially include code). + [b]Note:[/b] Not all properties are included. Only properties that are configured with the [constant PROPERTY_USAGE_STORAGE] flag set will be serialized. You can add a new usage flag to a property by overriding the [method Object._get_property_list] method in your class. You can also check how property usage is configured by calling [method Object._get_property_list]. See [enum PropertyUsageFlags] for the possible usage flags. -- cgit v1.2.3