DataCost (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Sduke524
No edit summary
>Legend26
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 3: Line 3:
|object=Instance
|object=Instance
|description=How much saving this instance with [[SaveInstance (Method)|SaveInstance]] will add to [[DataComplexity]]
|description=How much saving this instance with [[SaveInstance (Method)|SaveInstance]] will add to [[DataComplexity]]
|type = [[int]]
|type = {{type|int}}
|protected = true
}}</onlyinclude>
}}</onlyinclude>
{{clear floats}}
{{clear floats}}

Latest revision as of 20:03, 6 April 2012

DataCost
Type int
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.