Skip to content

NewgroundsIO.components.Loader.loadOfficialUrl

PsychoGoldfishNG edited this page Aug 18, 2022 · 17 revisions

File: /components/Loader/loadOfficialUrl.cs
Extends: NewgroundsIO.BaseComponent
Loads the official URL where the latest version of your app can be found (as defined in your "Official URLs" settings), and logs a referral to your API stats.

Public Properties

log_stat

Type: (bool)
Set this to false to skip logging this as a referral event.

redirect

Type: (bool)
Set this to false to get a JSON response containing the URL instead of doing an actual redirect.

Public Methods

loadOfficialUrl

constructor loadOfficialUrl()

clone

NewgroundsIO.components.Loader.loadOfficialUrl clone(NewgroundsIO.components.Loader.loadOfficialUrl cloneTo = null)

Clones the properties of this object to another (or new) object.

Parameters:

Returns NewgroundsIO.components.Loader.loadOfficialUrl
The object that was cloned to.

Clone this wiki locally