protected Node m_Node; //[A]ddress #endregion Fields #region Constructors //used by conf protected EndPoint(IGlue glue) { if (glue == null) glue = ExecutionContext.Application.Glue; m_Glue = (IGlueImplementation)glue; }
protected EndPoint(IGlue glue, Node node, Binding binding) { if (glue == null) glue = ExecutionContext.Application.Glue; m_Glue = (IGlueImplementation)glue; m_Node = node; m_Binding = binding ?? m_Glue.GetNodeBinding(node); }
public JokeCalculatorClient(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public KerbulatorGUI(IGlue glue, bool inEditor, bool drawMainButton) { this.glue = glue; this.inEditor = inEditor; this.drawMainButton = drawMainButton; ChangeState(false); functionDir = Application.persistentDataPath + "/Kerbulator"; // Sometimes, Application.persistentDataPath returns an empty string. // To not completely crash, create a KerbulatorFunctions directory in the users home dir if(functionDir == "/Kerbulator") { string homePath = (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX) ? Environment.GetEnvironmentVariable("HOME") : Environment.ExpandEnvironmentVariables("%HOMEDRIVE%%HOMEPATH%"); functionDir = homePath +"/KerbulatorFunctions"; } Debug.Log("Function dir: "+ functionDir); editFunctionContent = maneuverTemplate; if(!Directory.Exists(functionDir)) { Directory.CreateDirectory(functionDir); } // Load icons kerbulatorIcon = glue.GetTexture("kerbulator"); editIcon = glue.GetTexture("edit"); runIcon = glue.GetTexture("run"); nodeIcon = glue.GetTexture("node"); saveIcon = glue.GetTexture("save"); deleteIcon = glue.GetTexture("delete"); Scan(); kalc = new Kerbulator(functionDir); }
public TelemetryReceiverClient(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public ClientEndPoint(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public ClientEndPoint(IGlue glue, string node, Binding binding = null) : base(glue, new Node(node), binding) { ctor(); }
/// <summary> /// constructor /// </summary> /// <param name="glue"></param> /// <param name="node"></param> /// <param name="binding"></param> public AuthServiceClient(IGlue glue, string node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public LoginServiceClient(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public JokeContractClient(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public TestContractAClient(IGlue glue, string node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public RegistrationServiceClient(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public MessageServiceClient(IGlue glue, string node, Binding binding = null) : base(glue, node, binding) { ctor(); }
public ProcessController(IGlue glue, Node node, Binding binding = null) : base(glue, node, binding) { ctor(); }