Exemplo n.º 1
0
    public void RemoveLink(string firstId, OnRequestResponse <RequestAnswerSimple> callback)
    {
        LinkRequestData data = new LinkRequestData
        {
            firstId = firstId
        };

        StartCoroutine(LaunchRocket <RequestAnswerSimple>(data, "/link/remove", callback));
    }
Exemplo n.º 2
0
    public void AreConnected(string firstId, string secondId, OnRequestResponse <RequestAnswerConnected> callback)
    {
        LinkRequestData data = new LinkRequestData
        {
            firstId  = firstId,
            secondId = secondId
        };

        StartCoroutine(LaunchRocket <RequestAnswerConnected>(data, "/document/connected", callback));
    }
Exemplo n.º 3
0
    public void CreateLink(string firstId, string secondId, OnRequestResponse <RequestAnswerSimple> callback)
    {
        LinkRequestData data = new LinkRequestData
        {
            firstId  = firstId,
            secondId = secondId
        };

        StartCoroutine(LaunchRocket <RequestAnswerSimple>(data, "/link/create", callback));
    }