예제 #1
0
        public void MakeRequest(Game.Requests.BaseRequest baseRequest, FluorineFx.Messaging.Api.Service.IPendingServiceCallback callback)
        {
            lock (PendingCallbacks)
                _pendingCallbacks.Add(callback);

            int sequence = _sequence++;

            _netConnection.Call(baseRequest.Target, callback, "/" + sequence, baseRequest.BuildContent(sequence, out sequence));
            _sequence = sequence;
        }