private void pcSessionStartedError(PCSessionStartOperation operation, HttpResponse httpResponse) { Service.Get <EventDispatcher>().DispatchEvent(default(IAPServiceErrors.SessionStartError)); }
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)); }