DataCost (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>SoulStealer9875
No edit summary
>LocalChum
Added link to Data Persistence (minor edit)
Line 7: Line 7:
{{clear floats}}
{{clear floats}}
== Usage ==
== Usage ==
The DataCost of an object is its own DataCost combined with the DataCosts of all its children.  If the DataCosts of all the instances saved to a certain player threaten to exceed 45,000, it will not be able to save. '''Used in Data Persistence.'''
The DataCost of an object is its own DataCost combined with the DataCosts of all its children.  If the DataCosts of all the instances saved to a certain player threaten to exceed 45,000, it will not be able to save. '''Used in [[Data Persistence]].'''
</noinclude>
</noinclude>


[[Category:Properties]]
[[Category:Properties]]

Revision as of 05:06, 25 February 2012

DataCost
Property Integer dataCost
Description How much saving this instance with SaveInstance will add to DataComplexity
Member of Instance

Usage

The DataCost of an object is its own DataCost combined with the DataCosts of all its children. If the DataCosts of all the instances saved to a certain player threaten to exceed 45,000, it will not be able to save. Used in Data Persistence.