private void RequestForVerifyCodeCallback(HttpResponse _httpResponse)
 {
     if (_httpResponse.err_code == 0)
     {
         m_responder.OnResult(_httpResponse.err_msg);
     }
     else
     {
         m_responder.OnFault(_httpResponse.err_msg);
     }
 }
 private void IdBindingResponse(HttpResponse _httpResponse)
 {
     if (_httpResponse.err_code == 0)
     {
         m_responder.OnResult(_httpResponse.err_msg);
     }
     else
     {
         m_responder.OnFault(_httpResponse.err_msg);
     }
 }
 private void LoginCallback(HttpResponse _httpResponse)
 {
     if (_httpResponse.err_code == 0)
     {
         m_responder.OnResult(_httpResponse.err_msg);
     }
     else
     {
         m_responder.OnFault(_httpResponse.err_msg);
     }
 }
示例#4
0
 private void GameSessionCallback(GameSessionResponse _sessionResponse)
 {
     if ((_sessionResponse as HttpResponse).err_code == 0)
     {
         m_responder.OnResult(_sessionResponse.game_sessions_info);
     }
     else
     {
         m_responder.OnFault(_sessionResponse.err_msg);
     }
 }