Пример #1
0
 private void pcSessionStartedError(PCSessionStartOperation operation, HttpResponse httpResponse)
 {
     Service.Get <EventDispatcher>().DispatchEvent(default(IAPServiceErrors.SessionStartError));
 }
Пример #2
0
    public APICall <PCSessionStartOperation> PCStartSession(PCSessionStartRequest session)
    {
        PCSessionStartOperation operation = new PCSessionStartOperation(session);

        return(new APICall <PCSessionStartOperation>(clubPenguinClient, operation));
    }
Пример #3
0
    private void pcSessionStarted(PCSessionStartOperation operation, HttpResponse httpResponse)
    {
        PCSessionStartResponse pCSessionStartResponse = operation.PCSessionStartResponse;

        Service.Get <EventDispatcher>().DispatchEvent(new IAPServiceEvents.SessionStarted(pCSessionStartResponse.SessionId, pCSessionStartResponse.SessionSummary));
    }