示例#1
0
    private void init(BGIRequestResult requestResult, float inHttpTimeOut, RequestType inType)
    {
        requestBody             = requestResult;
        type                    = inType;
        httpTimeOut             = inHttpTimeOut;
        requestSuccessed        = requestResult.requestSuccessed;
        requestSuccessedTexture = requestResult.requestSuccessedTexture;

        requestFail = requestResult.requestFail;
    }
示例#2
0
 public void dispose()
 {
     if (client != null)
     {
         client.Dispose();
     }
     resultarr               = null;
     client                  = null;
     idle                    = true;
     requestBody             = null;
     requestFail             = null;
     requestSuccessedTexture = null;
     requestSuccessed        = null;
 }