Release Notes for 424

Notes for Release 424

25 Likes

Client Difference Log

API Changes

Added Class AssetManagerService : Instance [NotCreatable] [Service] [NotReplicated]
	Added Function int64 AssetManagerService:AddNewPlace() {RobloxScriptSecurity} [Yields]
	Added Function void AssetManagerService:DeleteAlias(string aliasName) {RobloxScriptSecurity} [Yields]
	Added Function int64 AssetManagerService:GetMeshId(string aliasName) {RobloxScriptSecurity}
	Added Function int64 AssetManagerService:GetTextureId(string aliasName) {RobloxScriptSecurity}
	Added Function void AssetManagerService:InsertImage(int64 assetId) {RobloxScriptSecurity}
	Added Function void AssetManagerService:InsertMesh(string aliasName, bool insertWithLocation) {RobloxScriptSecurity}
	Added Function void AssetManagerService:InsertPackage(int64 packageId) {RobloxScriptSecurity}
	Added Function void AssetManagerService:OpenPlace(int64 placeId) {RobloxScriptSecurity}
	Added Function void AssetManagerService:RemovePlace(int64 placeId) {RobloxScriptSecurity} [Yields]
	Added Function void AssetManagerService:RenamePlace(int64 placeId, string newName) {RobloxScriptSecurity} [Yields]
	Added Function void AssetManagerService:ShowPackageDetails(int64 packageId) {RobloxScriptSecurity}
	Added Function void AssetManagerService:UpdateAllPackages(int64 packageId) {RobloxScriptSecurity}
	Added Function void AssetManagerService:ViewPackageOnWebsite(int64 packageId) {RobloxScriptSecurity}

Added Class BulkImportService : Instance [NotCreatable] [Service] [NotReplicated]
	Added Function void BulkImportService:LaunchBulkImport(int assetTypeToImport) {RobloxScriptSecurity}
	Added Function void BulkImportService:ShowBulkImportView() {RobloxScriptSecurity}
	Added Event BulkImportService.BulkImportFinished(int state) {RobloxScriptSecurity}
	Added Event BulkImportService.BulkImportStarted() {RobloxScriptSecurity}

Added Property float BasePart.Mass  [ReadOnly] [NotReplicated]

Added Function void MarketplaceService:PromptRobloxPurchase(int64 assetId, bool equipIfPurchased) {RobloxScriptSecurity}
Added Function bool SessionService:SessionExists(string sid) {RobloxScriptSecurity}

Added Event MarketplaceService.PromptRobloxPurchaseRequested(int64 assetId, bool equipIfPurchased) {RobloxScriptSecurity}

Changed the parameters of Function MarketplaceService:PerformPurchase 
	from: (Enum<InfoType> infoType, int64 productId, int expectedPrice, string requestId)
	  to: (Enum<InfoType> infoType, int64 productId, int expectedPrice, string requestId, bool isRobloxPurchase)

Moved Function LaunchBulkImport
	from: Class StudioService
	  to: Class BulkImportService

Moved Function ShowBulkImportView
	from: Class StudioService
	  to: Class BulkImportService

Moved Event BulkImportFinished
	from: Class StudioService
	  to: Class BulkImportService

Removed Tag [CustomLuaState] from Function BasePart:GetMass

(Click here for a syntax highlighted version!)

14 Likes

Mass being a property of Parts is cool. I imagine that’ll fire the Changed event, right?

9 Likes

Sounds a bit like the asset marketplace :eyes:

4 Likes

Actually I’m not sure. Since its a read-only property, the value might just be derived from the size and physical properties of the part.

Roblox has to manually raise the Changed event on the C++ end in order for it to be fired to Lua.

6 Likes

Now I’m curious. What non-roblox purchases can be prompted? It isn’t even RobloxScriptSecurity?

Still interesting to see non-roblox being migrated into this function.

4 Likes

image
Is this just Premium, or will we be able to create our own game subscriptions? Would be really awesome if it were the latter. :pray:

5 Likes

Judging by the fact that a plethora of subscription methods for MarketplaceService were added in 393 (one change in 396 to adopt a better function, IsPlayerSubscribed, over GetSubscriptionStatus) and that PromptPremiumPurchase is a separate function to these, it would be safe to assume at this time that we are getting a third monetisation route in the future which is to create subscription-based items.

5 Likes

When comparing function parameter changes, my differ doesn’t list the security of the function that was changed. Rest assured, that function does have its security set to {RobloxScriptSecurity}.

1 Like

I really wonder when Subscriptions will be enabled to Developers, we have been waiting for so long~

Anxiously and excited

5 Likes