Exemplo n.º 1
0
 public SDownloadEventResult(DownloadEventType eventType, SDownloadFileResult fileResult, SDownloadModuleConfig info, string error)
 {
     Error      = error;
     Info       = info;
     FileResult = fileResult;
     EventType  = eventType;
 }
Exemplo n.º 2
0
 public SDownloadEventResult(DownloadEventType eventType, SDownloadFileResult fileResult, SGameUpdaterDownloadConfig info, string error)
 {
     this.error      = error;
     this.info       = info;
     this.fileResult = fileResult;
     this.eventType  = eventType;
 }
Exemplo n.º 3
0
 public SDownloadEventResult(DownloadEventType eventType, SDownloadModuleConfig info)
     : this(eventType, new SDownloadFileResult(), info, string.Empty)
 {
 }
Exemplo n.º 4
0
 public SDownloadEventResult(DownloadEventType eventType, string error)
     : this(eventType, new SDownloadFileResult(), new SDownloadModuleConfig(), error)
 {
 }
Exemplo n.º 5
0
 public SDownloadEventResult(DownloadEventType eventType, SDownloadFileResult fileResult)
     : this(eventType, fileResult, new SDownloadModuleConfig(), string.Empty)
 {
 }
Exemplo n.º 6
0
 public SDownloadEventResult(DownloadEventType eventType, SGameUpdaterDownloadConfig info)
     : this(eventType, new SDownloadFileResult(), info, string.Empty)
 {
 }
Exemplo n.º 7
0
 public SDownloadEventResult(DownloadEventType eventType, string error)
     : this(eventType, new SDownloadFileResult(), new SGameUpdaterDownloadConfig(), error)
 {
 }
Exemplo n.º 8
0
 public SDownloadEventResult(DownloadEventType eventType, SDownloadFileResult fileResult)
     : this(eventType, fileResult, new SGameUpdaterDownloadConfig(), string.Empty)
 {
 }
Exemplo n.º 9
0
 public SWebDownloadEvent(DownloadEventType type, params object[] objs)
 {
     EventType = type;
     this.objs = objs;
 }
Exemplo n.º 10
0
 public DownloadEvent(DownloadEventType eventType, DownloadConfig config, object param = null)
 {
     this.eventType = eventType;
     this.config    = config;
     this.param     = param;
 }