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;
Parent class to custom sender scripts that will be attached to GameObjects. Several of these can be i...
Contains all the necessary parameters for sender streams except IP and port. Inherits from StreamPara...
SenderStreamParams(string workspace, string type)
SenderStreamParams(string workspace, string type, string proto, JSONNode metadata, bool alert, string senderID, string from)
override JSONNode toJSON()
Parse to server function. IP, port, and token gets filled in by CoreLink.Control.
SenderStreamParams(string workspace, string type, string proto)
Parent class of Receiver/SenderStreamParams with shared information.