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