User:NXTBoy/Instance: Difference between revisions

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


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

Latest revision as of 07:18, 8 May 2012