Skip to content

newgroundsiodotnet.components.requests.loader.loaderreferralurlrequest

GlitchyPSIX edited this page Mar 30, 2025 · 4 revisions

LoaderReferralUrlRequest

Namespace: NewgroundsIODotNet.Components.Requests.Loader

Request to execute a Referral component request.

public class LoaderReferralUrlRequest : NewgroundsIODotNet.Components.Interfaces.INgioComponentRequest

Inheritance ObjectLoaderReferralUrlRequest
Implements INgioComponentRequest

Properties

Component

public string Component { get; }

Property Value

String

RequiresSecureCall

public bool RequiresSecureCall { get; }

Property Value

Boolean

Parameters

Component's parameters.

public Dictionary<string, object> Parameters { get; }

Property Value

Dictionary<String, Object>

Remarks:

Do NOT modify the "redirect" parameter manually, as it will not return a JSON response if not false and the library only handles JSON responses.

Echo

public object Echo { get; set; }

Property Value

Object

Host

Host currently running the game

public string Host { get; set; }

Property Value

String

LogStat

Whether to log this referral load in Stats

public bool LogStat { get; set; }

Property Value

Boolean

ReferralName

Name of the referral

public string ReferralName { get; set; }

Property Value

String

Constructors

LoaderReferralUrlRequest(Dictionary<String, Object>, Object)

Use this constructor only if you know what you're doing.

public LoaderReferralUrlRequest(Dictionary<string, object> parameters, object echo)

Parameters

parameters Dictionary<String, Object>
Manually provided component parameters

echo Object
NGIO Echo response

LoaderReferralUrlRequest(String, String, Boolean)

public LoaderReferralUrlRequest(string host, string referralName, bool logStat)

Parameters

host String

referralName String

logStat Boolean

Clone this wiki locally