InsertService
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 23
Removed member index 11
History | Member | |
---|---|---|
311 | SetAdvancedResults(enable: bool, user: bool = false): void | |
311 | SetAssetUrl(assetUrl: string): void | |
311 | SetAssetVersionUrl(assetVersionUrl: string): void | |
311 | SetBaseCategoryUrl(baseSetsUrl: string): void | |
311 | SetBaseSetsUrl(baseSetsUrl: string): void | |
311 | SetCollectionUrl(collectionUrl: string): void | |
311 | SetFreeDecalUrl(freeDecalUrl: string): void | |
311 | SetFreeModelUrl(freeModelUrl: string): void | |
311 | SetTrustLevel(trustLevel: float): void | |
311 | SetUserCategoryUrl(userSetsUrl: string): void | |
311 | SetUserSetsUrl(userSetsUrl: string): void |
History 100
- 626 Change Security of CreateMeshPartAsync from PluginSecurity to None
- 603 Change Tags of GetBaseSets from [Yields] to [Yields, Deprecated]
- 576 Add LoadAssetWithFormat
- 573 Change ReturnType of Insert from void to null
- 573 Change ReturnType of ApproveAssetVersionId from void to null
- 573 Change ReturnType of ApproveAssetId from void to null
- 567 Add GetLocalFileContents
- 553 Add
- 553 Change PreferredDescriptor of loadAsset from to LoadAsset
- 553 Change PreferredDescriptor of GetUserCategories from to GetUserSets
- 553 Change PreferredDescriptor of GetBaseCategories from to GetBaseSets
- 553 Change Default of AllowInsertFreeModels from to false
- 553 Change Default of AllowClientInsertModels from to false
- 486 Change ThreadSafety of AllowInsertFreeModels from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AllowClientInsertModels from ReadOnly to ReadSafe
- 484 Change ReturnType of CreateMeshPartAsync from Instance to MeshPart
- 462 Change ThreadSafety of loadAsset from to Unsafe
- 462 Change ThreadSafety of LoadPackageAssetAsync from to Unsafe
- 462 Change ThreadSafety of LoadPackageAsset from to Unsafe
- 462 Change ThreadSafety of LoadLocalAsset from to Unsafe
- 462 Change ThreadSafety of LoadAssetVersion from to Unsafe
- 462 Change ThreadSafety of LoadAsset from to Unsafe
- 462 Change ThreadSafety of Insert from to Unsafe
- 462 Change ThreadSafety of GetUserSets from to Unsafe
- 462 Change ThreadSafety of GetUserCategories from to Unsafe
- 462 Change ThreadSafety of GetLatestAssetVersionAsync from to Unsafe
- 462 Change ThreadSafety of GetFreeModels from to Unsafe
- 462 Change ThreadSafety of GetFreeDecals from to Unsafe
- 462 Change ThreadSafety of GetCollection from to Unsafe
- 462 Change ThreadSafety of GetBaseSets from to Unsafe
- 462 Change ThreadSafety of GetBaseCategories from to Unsafe
- 462 Change ThreadSafety of CreateMeshPartAsync from to Unsafe
- 462 Change ThreadSafety of ApproveAssetVersionId from to Unsafe
- 462 Change ThreadSafety of ApproveAssetId from to Unsafe
- 462 Change ThreadSafety of AllowInsertFreeModels from to ReadOnly
- 462 Change ThreadSafety of AllowClientInsertModels from to ReadOnly
- 459 Add LoadPackageAssetAsync
- 458 Remove LoadPackageAssetAsync
- 459 Add LoadPackageAssetAsync
- 454 Add CreateMeshPartAsync
- 452 Remove CreateMeshPartAsync
- 453 Add CreateMeshPartAsync
- 353 Add LoadPackageAsset
- 349 Add AllowClientInsertModels
- 319 Change Parameters of loadAsset from (assetId: int) to (assetId: int64)
- 319 Add LoadLocalAsset
- 319 Change Parameters of LoadAssetVersion from (assetVersionId: int) to (assetVersionId: int64)
- 319 Change Parameters of LoadAsset from (assetId: int) to (assetId: int64)
- 319 Change Parameters of GetUserSets from (userId: int) to (userId: int64)
- 319 Change Parameters of GetUserCategories from (userId: int) to (userId: int64)
- 319 Change ReturnType of GetLatestAssetVersionAsync from int to int64
- 319 Change Parameters of GetLatestAssetVersionAsync from (assetId: int) to (assetId: int64)
- 319 Change Parameters of GetCollection from (categoryId: int) to (categoryId: int64)
- 319 Change Parameters of ApproveAssetVersionId from (assetVersionId: int) to (assetVersionId: int64)
- 319 Change Parameters of ApproveAssetId from (assetId: int) to (assetId: int64)
- 311 Remove SetUserSetsUrl
- 311 Remove SetUserCategoryUrl
- 311 Remove SetTrustLevel
- 311 Remove SetFreeModelUrl
- 311 Remove SetFreeDecalUrl
- 311 Remove SetCollectionUrl
- 311 Remove SetBaseSetsUrl
- 311 Remove SetBaseCategoryUrl
- 311 Remove SetAssetVersionUrl
- 311 Remove SetAssetUrl
- 311 Remove SetAdvancedResults
- 259 Change Tags of AllowInsertFreeModels from [NotReplicated] to [NotReplicated, NotBrowsable, Deprecated]
- 224 Add AllowInsertFreeModels
- 208 Change Tags of Insert from [] to [Deprecated]
- 207 Add GetLatestAssetVersionAsync
- 68 Add loadAsset
- 55 Change Tags of GetUserCategories from [Yields] to [Yields, Deprecated]
- 55 Change Tags of GetBaseCategories from [Yields] to [Yields, Deprecated]
- 55 Change Tags of InsertService from [preliminary, NotCreatable, Service] to [NotCreatable, Service]
- 49 Change Tags of ApproveAssetVersionId from [] to [Deprecated]
- 49 Change Tags of ApproveAssetId from [] to [Deprecated]
- 47 Add SetUserSetsUrl
- 47 Add SetUserCategoryUrl
- 47 Add SetTrustLevel
- 47 Add SetFreeModelUrl
- 47 Add SetFreeDecalUrl
- 47 Add SetCollectionUrl
- 47 Add SetBaseSetsUrl
- 47 Add SetBaseCategoryUrl
- 47 Add SetAssetVersionUrl
- 47 Add SetAssetUrl
- 47 Add SetAdvancedResults
- 47 Add LoadAssetVersion
- 47 Add LoadAsset
- 47 Add Insert
- 47 Add GetUserSets
- 47 Add GetUserCategories
- 47 Add GetFreeModels
- 47 Add GetFreeDecals
- 47 Add GetCollection
- 47 Add GetBaseSets
- 47 Add GetBaseCategories
- 47 Add ApproveAssetVersionId
- 47 Add ApproveAssetId
- 47 Add InsertService
Members 23
AllowClientInsertModels
Type | Default | |
---|---|---|
bool | false |
This property is not scriptable. It cannot be accessed by script code.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | true |
History 4
- 553 Change Default of AllowClientInsertModels from to false
- 486 Change ThreadSafety of AllowClientInsertModels from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AllowClientInsertModels from to ReadOnly
- 349 Add AllowClientInsertModels
AllowInsertFreeModels
Type | Default | |
---|---|---|
bool | false |
This property is deprecated. It exists only for backward compatibility, and should not be used for new work.
This property is not replicated. Its interface does not cross the network boundary.
This property is not browsable. It is not visible in Studio's object browser.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | true |
History 5
- 553 Change Default of AllowInsertFreeModels from to false
- 486 Change ThreadSafety of AllowInsertFreeModels from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AllowInsertFreeModels from to ReadOnly
- 259 Change Tags of AllowInsertFreeModels from [NotReplicated] to [NotReplicated, NotBrowsable, Deprecated]
- 224 Add AllowInsertFreeModels
ApproveAssetId
Parameters (1) | ||
---|---|---|
assetId | int64 | |
Returns (1) | ||
null |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
Thread safety | Unsafe |
---|
History 5
- 573 Change ReturnType of ApproveAssetId from void to null
- 462 Change ThreadSafety of ApproveAssetId from to Unsafe
- 319 Change Parameters of ApproveAssetId from (assetId: int) to (assetId: int64)
- 49 Change Tags of ApproveAssetId from [] to [Deprecated]
- 47 Add ApproveAssetId
ApproveAssetVersionId
Parameters (1) | ||
---|---|---|
assetVersionId | int64 | |
Returns (1) | ||
null |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
Thread safety | Unsafe |
---|
History 5
- 573 Change ReturnType of ApproveAssetVersionId from void to null
- 462 Change ThreadSafety of ApproveAssetVersionId from to Unsafe
- 319 Change Parameters of ApproveAssetVersionId from (assetVersionId: int) to (assetVersionId: int64)
- 49 Change Tags of ApproveAssetVersionId from [] to [Deprecated]
- 47 Add ApproveAssetVersionId
CreateMeshPartAsync
Parameters (3) | ||
---|---|---|
meshId | Content | |
collisionFidelity | CollisionFidelity | |
renderFidelity | RenderFidelity | |
Returns (1) | ||
MeshPart |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 6
- 626 Change Security of CreateMeshPartAsync from PluginSecurity to None
- 484 Change ReturnType of CreateMeshPartAsync from Instance to MeshPart
- 462 Change ThreadSafety of CreateMeshPartAsync from to Unsafe
- 454 Add CreateMeshPartAsync
- 452 Remove CreateMeshPartAsync
- 453 Add CreateMeshPartAsync
GetBaseCategories
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetBaseSets should be used instead.
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 4
- 553 Change PreferredDescriptor of GetBaseCategories from to GetBaseSets
- 462 Change ThreadSafety of GetBaseCategories from to Unsafe
- 55 Change Tags of GetBaseCategories from [Yields] to [Yields, Deprecated]
- 47 Add GetBaseCategories
GetBaseSets
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 3
- 603 Change Tags of GetBaseSets from [Yields] to [Yields, Deprecated]
- 462 Change ThreadSafety of GetBaseSets from to Unsafe
- 47 Add GetBaseSets
GetCollection
Parameters (1) | ||
---|---|---|
categoryId | int64 | |
Returns (1) | ||
Array |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of GetCollection from to Unsafe
- 319 Change Parameters of GetCollection from (categoryId: int) to (categoryId: int64)
- 47 Add GetCollection
GetFreeDecals
Parameters (2) | ||
---|---|---|
searchText | string | |
pageNum | int | |
Returns (1) | ||
Array |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of GetFreeDecals from to Unsafe
- 47 Add GetFreeDecals
GetFreeModels
Parameters (2) | ||
---|---|---|
searchText | string | |
pageNum | int | |
Returns (1) | ||
Array |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of GetFreeModels from to Unsafe
- 47 Add GetFreeModels
GetLatestAssetVersionAsync
Parameters (1) | ||
---|---|---|
assetId | int64 | |
Returns (1) | ||
int64 |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 4
- 462 Change ThreadSafety of GetLatestAssetVersionAsync from to Unsafe
- 319 Change ReturnType of GetLatestAssetVersionAsync from int to int64
- 319 Change Parameters of GetLatestAssetVersionAsync from (assetId: int) to (assetId: int64)
- 207 Add GetLatestAssetVersionAsync
GetLocalFileContents
Parameters (1) | ||
---|---|---|
contentId | string | |
Returns (1) | ||
string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
GetUserCategories
Parameters (1) | ||
---|---|---|
userId | int64 | |
Returns (1) | ||
Array |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetUserSets should be used instead.
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 5
- 553 Change PreferredDescriptor of GetUserCategories from to GetUserSets
- 462 Change ThreadSafety of GetUserCategories from to Unsafe
- 319 Change Parameters of GetUserCategories from (userId: int) to (userId: int64)
- 55 Change Tags of GetUserCategories from [Yields] to [Yields, Deprecated]
- 47 Add GetUserCategories
GetUserSets
Parameters (1) | ||
---|---|---|
userId | int64 | |
Returns (1) | ||
Array |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of GetUserSets from to Unsafe
- 319 Change Parameters of GetUserSets from (userId: int) to (userId: int64)
- 47 Add GetUserSets
Insert
Parameters (1) | ||
---|---|---|
instance | Instance | |
Returns (1) | ||
null |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
Thread safety | Unsafe |
---|
LoadAsset
Parameters (1) | ||
---|---|---|
assetId | int64 | |
Returns (1) | ||
Instance |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
LoadAssetVersion
Parameters (1) | ||
---|---|---|
assetVersionId | int64 | |
Returns (1) | ||
Instance |
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
History 3
- 462 Change ThreadSafety of LoadAssetVersion from to Unsafe
- 319 Change Parameters of LoadAssetVersion from (assetVersionId: int) to (assetVersionId: int64)
- 47 Add LoadAssetVersion
LoadAssetWithFormat
Parameters (2) | ||
---|---|---|
assetId | int64 | |
format | string | |
Returns (1) | ||
Objects |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
LoadLocalAsset
Parameters (1) | ||
---|---|---|
assetPath | string | |
Returns (1) | ||
Instance |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of LoadLocalAsset from to Unsafe
- 319 Add LoadLocalAsset
LoadPackageAsset
Parameters (1) | ||
---|---|---|
url | Content | |
Returns (1) | ||
Objects |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of LoadPackageAsset from to Unsafe
- 353 Add LoadPackageAsset
LoadPackageAssetAsync
Parameters (1) | ||
---|---|---|
url | Content | |
Returns (1) | ||
Objects |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 4
- 462 Change ThreadSafety of LoadPackageAssetAsync from to Unsafe
- 459 Add LoadPackageAssetAsync
- 458 Remove LoadPackageAssetAsync
- 459 Add LoadPackageAssetAsync
loadAsset
Parameters (1) | ||
---|---|---|
assetId | int64 | |
Returns (1) | ||
Instance |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. LoadAsset should be used instead.
This function yields. It will block the calling thread until completion.
Thread safety | Unsafe |
---|
Removed members 11
SetAdvancedResults
Parameters (2) | Default | |
---|---|---|
enable | bool | |
user | bool | false |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetAdvancedResults
- 47 Add SetAdvancedResults
SetAssetUrl
Parameters (1) | ||
---|---|---|
assetUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetAssetUrl
- 47 Add SetAssetUrl
SetAssetVersionUrl
Parameters (1) | ||
---|---|---|
assetVersionUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetAssetVersionUrl
- 47 Add SetAssetVersionUrl
SetBaseCategoryUrl
Parameters (1) | ||
---|---|---|
baseSetsUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetBaseCategoryUrl
- 47 Add SetBaseCategoryUrl
SetBaseSetsUrl
Parameters (1) | ||
---|---|---|
baseSetsUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetBaseSetsUrl
- 47 Add SetBaseSetsUrl
SetCollectionUrl
Parameters (1) | ||
---|---|---|
collectionUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetCollectionUrl
- 47 Add SetCollectionUrl
SetFreeDecalUrl
Parameters (1) | ||
---|---|---|
freeDecalUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetFreeDecalUrl
- 47 Add SetFreeDecalUrl
SetFreeModelUrl
Parameters (1) | ||
---|---|---|
freeModelUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetFreeModelUrl
- 47 Add SetFreeModelUrl
SetTrustLevel
Parameters (1) | ||
---|---|---|
trustLevel | float | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetTrustLevel
- 47 Add SetTrustLevel
SetUserCategoryUrl
Parameters (1) | ||
---|---|---|
userSetsUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetUserCategoryUrl
- 47 Add SetUserCategoryUrl
SetUserSetsUrl
Parameters (1) | ||
---|---|---|
userSetsUrl | string | |
Returns (1) | ||
void |
Security | LocalUserSecurity |
---|
History 2
- 311 Remove SetUserSetsUrl
- 47 Add SetUserSetsUrl