17 public SenderStreamParams(
string workspace,
string type,
string proto, JSONNode
metadata,
bool alert,
string senderID,
string from) : base(workspace, type, proto, metadata, alert)
28 JSONNode jsonRequest = JSON.Parse(
"{}");
29 jsonRequest[
"function"] =
"sender";
30 jsonRequest[
"workspace"] = this.
workspace;
31 jsonRequest[
"senderID"] = this.
senderID;
32 jsonRequest[
"from"] = this.
from;
33 jsonRequest[
"proto"] = this.
proto;
35 jsonRequest[
"type"] = this.
type;
36 jsonRequest[
"alert"] = this.
alert;
SenderStreamParams(string workspace, string type, string proto)
SenderStreamParams(string workspace, string type, string proto, JSONNode metadata, bool alert, string senderID, string from)
Parent class of Receiver/SenderStreamParams with shared information
Parent class to custom sender scripts that will be attached to GameObjects. Several of these can be i...
SenderStreamParams(string workspace, string type)
Contains all the necessary parameters for sender streams except IP and port. Inherits from StreamPara...
override JSONNode toJSON()
Parse to server function. IP, port, and token gets filled in by CoreLink.Control