User:NXTBoy/Instance: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
No edit summary
>NXTBoy
More info copied from Anaminus' mockup
Line 2: Line 2:
|name=Instance
|name=Instance
|methods=
|methods=
{{{{{method}}}  |Instance|Clone            |This does something}}
{{{{{method}}}  |Instance|ClearAllChildren  |Removes all of this object's children.}}
{{{{{method}}}  |Instance|FindFirstChild    |This does something}}
{{{{{method}}}  |Instance|Clone            |Returns a copy of this object and all its children.}}
{{{{{method}}}  |Instance|GetChildren      |This does something}}
{{{{{method}}}  |Instance|Destroy          |Removes this object and all of its children, indicating that this object is no longer used.}}
{{{{{method}}}  |Instance|GetFullName      |This does something}}
{{{{{method}}}  |Instance|FindFirstChild    |Returns the first child of this object whose name matches the first argument.}}
{{{{{method}}}  |Instance|IsAncestorOf      |This does something}}
{{{{{method}}}  |Instance|GetChildren      |Returns a table of this object's children.}}
{{{{{method}}}  |Instance|IsDescendantOf    |This does something}}
{{{{{method}}}  |Instance|GetDebugId        |Returns a unique identifier for this object.}}
{{{{{method}}}  |Instance|Remove            |This does something}}
{{{{{method}}}  |Instance|GetFullName      |Returns a string that shows this object's hierarchical path.}}
{{{{{method}}}  |Instance|IsA              |Used to check this object's class or a class it inherits from.}}
{{{{{method}}}  |Instance|IsAncestorOf      |Returns whether this object is an ancestor of another object.}}
{{{{{method}}}  |Instance|IsDescendantOf    |Returns whether this object is a descendant of another object.}}
{{{{{method}}}  |Instance|Remove            |Use ClearAllChildren or Destroy instead.}}
{{{{{method}}}  |Instance|children          |Use GetChildren instead.}}
{{{{{method}}}  |Instance|clone            |Use Clone instead.}}
{{{{{method}}}  |Instance|destroy          |Use Destroy instead.}}
{{{{{method}}}  |Instance|findFirstChild    |Use FindFirstChild instead.}}
{{{{{method}}}  |Instance|getChildren      |Use GetChildren instead.}}
{{{{{method}}}  |Instance|isA              |Use IsA instead.}}
{{{{{method}}}  |Instance|isDescendantOf    |Use IsDescendantOf instead}}
{{{{{method}}}  |Instance|remove            |Use ClearAllChildren or Destroy instead.}}
|properties=
|properties=
{{{{{property}}}|Instance|Name              |This does something}}
{{{{{property}}}|Instance|Archivable        |Determines whether this object will be saved when the game is saved.}}
{{{{{property}}}|Instance|Parent            |This does something}}
{{{{{property}}}|Instance|ClassName        |The string name of this object's most derived class.}}
{{{{{property}}}|Instance|archivable        |This does something}}
{{{{{property}}}|Instance|DataCost          |The amount of data units it takes to save this object with Data Persistence.}}
{{{{{property}}}|Instance|className        |This does something}}
{{{{{property}}}|Instance|Name              |A string that identifies this object.}}
{{{{{property}}}|Instance|Parent            |The Instance that is directly above this object in the tree.}}
{{{{{property}}}|Instance|RobloxLocked      |Controls the protection of this object.}}
{{{{{property}}}|Instance|className        |Use ClassName instead.}}
|events=
|events=
{{{{{event}}}  |Instance|AncestryChanged  |This does something}}
{{{{{event}}}  |Instance|AncestryChanged  |Fired after the Parent of this object and any of this object's ancestors change.}}
{{{{{event}}}  |Instance|Changed          |This does something}}
{{{{{event}}}  |Instance|Changed          |Fired after the value of a Property in this object changes.}}
{{{{{event}}}  |Instance|ChildAdded        |This does something}}
{{{{{event}}}  |Instance|ChildAdded        |Fired after a child is added to this object.}}
{{{{{event}}}  |Instance|ChildRemoved      |This does something}}
{{{{{event}}}  |Instance|ChildRemoved      |Fired after a child is removed from this object.}}
{{{{{event}}}  |Instance|DescendantAdded  |This does something}}
{{{{{event}}}  |Instance|DescendantAdded  |Fired after an Instance is parented to this object, or any of this object's descendants.}}
{{{{{event}}}  |Instance|DescendantRemoving|This does something}}
{{{{{event}}}  |Instance|DescendantRemoving|Fired before an Instance is unparented from this object, or any of this object's descendants.}}
{{{{{event}}}  |Instance|childAdded        |Use ChildAdded instead.}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>


{{User:NXTBoy/object documentation/main|Instance}}
{{User:NXTBoy/object documentation/main|Instance}}

Revision as of 07:07, 8 May 2012