RBX.lua.InsertService (Service): Difference between revisions

no edit summary
>GoldenUrg
(→‎Events: updated links)
>Mr Doom Bringer
No edit summary
Line 1: Line 1:
{{CatUp|Class reference}}
__NOTOC__ {{CatUp|Class reference}}


A service that provides access to free and player-owned sets and models. Loaded models are also added a children of this service.
<div class="tabber">
<div class="tabbertab" title="Info">
{| cellspacing=2 cellpadding=4 border=0 width=100%


{{Service}}
|style="vertical-align:top"|{{:Service:InsertService}}
|style="vertical-align:top"|{{LeftNoticeStart}}


==Functions==
A service that provides access to free and player-owned sets and models. Loaded models are also added a children of this service. All sets and models are loaded from the website.
In addition to the global functions, the InsertService also has these:<br>
''<font color="red"># indicates a locked function. These should NOT be tampered with.</font>''
 
* [[GetBaseCategories (Function)|GetBaseCategories()]]
* [[GetCollection (Function)|GetCollection(int categoryId)]]
* [[GetUserCategories (Function)|GetUserCategories(int userId)]]
* [[Insert (Function)|Insert(Instance model)]]
* [[LoadAsset (Function)|LoadAsset(int assetId)]]
* [[LoadAssetVersion (Function)|LoadAssetVersion(int assetVersionId)]]
* <font color="red">#</font> [[SetAdvancedResults (Function)|SetAdvancedResults(bool enable, bool user)]]
 
==Properties==
In addition to the global properties, the InsertService has no other properties.
 
==Events==
In addition to the global events, the InsertService also has these:
 
* [[InsertError (Event)|InsertError]]
* [[InsertReady (Event)|InsertReady]]
* [[InsertRequest (Event)|InsertRequest]]
* [[InsertRequestAsset (Event)|InsertRequestAsset]]
* [[InsertRequestAssetVersion (Event)|InsertRequestAssetVersion]]


|}
|}
</div>
<div class="tabbertab" title="Methods">
{{:Clone (Function)}}
{{:FindFirstChild (Function)}}
{{:GetChildren (Function)}}
{{:GetFullName (Function)}}
{{:IsA (Function)}}
{{:IsAncestorOf (Function)}}
{{:IsDescendantOf (Function)}}
{{:Remove (Function)}}
{{:GetBaseCategories (Function)}}
{{:GetCollection (Function)}}
{{:GetUserCategories (Function)}}
{{:Insert (Function)}}
{{:LoadAsset (Function)}}
{{:LoadAssetVersion (Function)}}
{{:SetAdvancedResults (Function)}}
</div>
<div class="tabbertab" title="Properties">
{{:Name (Property)}}{{:Parent (Property)}}
{{:Archivable (Property)}}
{{:ClassName (Property)}}
</div>
<div class="tabbertab" title="Events">
{{:AncestryChanged (Event)}}
{{:Changed (Event)/property}}
{{:ChildAdded (Event)}}
{{:ChildRemoved (Event)}}
{{:DescendantAdded (Event)}}
{{:DescendantRemoving (Event)}}
{{:Inserterror (Event)}}
{{:InsertReady (Event)}}
{{:InsertRequest (Event)}}
{{:InsertRequestAsset (Event)}}
{{:InsertRequestAssetVersion (Event)}}
</div>
</div>
[[Category:ROBLOX Lua Services]]
[[Category:ROBLOX Lua Services]]
Anonymous user