-
Notifications
You must be signed in to change notification settings - Fork 0
newgroundsiodotnet.components.requests.loader.loaderreferralurlrequest
GlitchyPSIX edited this page Mar 30, 2025
·
4 revisions
Namespace: NewgroundsIODotNet.Components.Requests.Loader
Request to execute a Referral component request.
public class LoaderReferralUrlRequest : NewgroundsIODotNet.Components.Interfaces.INgioComponentRequest
Inheritance Object → LoaderReferralUrlRequest
Implements INgioComponentRequest
public string Component { get; }
public bool RequiresSecureCall { get; }
Component's parameters.
public Dictionary<string, object> Parameters { get; }
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.
public object Echo { get; set; }
Host currently running the game
public string Host { get; set; }
Whether to log this referral load in Stats
public bool LogStat { get; set; }
Name of the referral
public string ReferralName { get; set; }
Use this constructor only if you know what you're doing.
public LoaderReferralUrlRequest(Dictionary<string, object> parameters, object echo)
parameters
Dictionary<String, Object>
Manually provided component parameters
echo
Object
NGIO Echo response
public LoaderReferralUrlRequest(string host, string referralName, bool logStat)
host
String
referralName
String
logStat
Boolean