mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Character and typo fixes
This commit is contained in:
@@ -94,7 +94,7 @@ Query available items
|
||||
*********************
|
||||
|
||||
Once the API has connected, query SKUs using ``querySkuDetails()``. You must successfully complete
|
||||
a SKU query before before calling the ``purchase()`` or ``queryPurchases()`` functions,
|
||||
a SKU query before calling the ``purchase()`` or ``queryPurchases()`` functions,
|
||||
or they will return an error. ``querySkuDetails()`` takes two parameters: an array
|
||||
of SKU name strings, and a string specifying the type of SKU being queried.
|
||||
The SKU type string should be ``"inapp"`` for normal in-app purchases or ``"subs"`` for subscriptions.
|
||||
|
||||
@@ -184,7 +184,7 @@ The response event will be a dictionary with the following fields:
|
||||
"invalid_ids": [ list of requested IDs that were invalid ],
|
||||
"ids": [ list of IDs that were valid ],
|
||||
"titles": [ list of valid product titles (corresponds with list of valid IDs) ],
|
||||
"descriptions": [ list of valid product descriptions ] ,
|
||||
"descriptions": [ list of valid product descriptions ],
|
||||
"prices": [ list of valid product prices ],
|
||||
"localized_prices": [ list of valid product localized prices ],
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ optionally overriding any :js:attr:`EngineConfig` parameters.
|
||||
});
|
||||
|
||||
This snippet of code automatically loads and initializes the engine before starting the game.
|
||||
It uses the given configuration to to load the engine. The :js:meth:`engine.startGame <Engine.prototype.startGame>`
|
||||
It uses the given configuration to load the engine. The :js:meth:`engine.startGame <Engine.prototype.startGame>`
|
||||
method is asynchronous and returns a ``Promise``. This allows your control code to track if
|
||||
the game was loaded correctly without blocking execution or relying on polling.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user