GodotcordStoreManager

A wrapper of the Discord Game SDK Store Manager.

Description

A wrapper of the Discord Game SDK Store Manager.

   
void fetch_skus()
Array get_skus()
void fetch_entitlements()
Array fetch_entitlements()
bool fetch_entitlements(sku_id : int)
void start_purchase(sku_id : int)

Method Descriptions

  • void fetch_skus()

  • Array get_skus()

  • void fetch_entitlements()

Refetches the entitlements of the local user


  • Array fetch_entitlements()

Returns the entitlements of the local user.


  • bool fetch_entitlements(sku_id : int)

Returns whether the local user has an entitlement for the sku sku_id.


  • void start_purchase(sku_id : int)

Opens the discord client and starts a purchase dialog for the sku sku_id.