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));
    }
    private void pcSessionStarted(PCSessionStartOperation operation, HttpResponse httpResponse)
    {
        PCSessionStartResponse pCSessionStartResponse = operation.PCSessionStartResponse;

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