Пример #1
0
 private void DoLoadErrorCallback(string message, string systemId, LoadErrorType type = LoadErrorType.Unknown)
 {
     if (OnLoadError != null)
     {
         OnLoadError(this, new RomErrorArgs(message, systemId, type));
     }
 }
Пример #2
0
 public LoadError(LoadErrorType type, string config, string record, string field, object extra)
 {
     Type   = type;
     Config = config;
     Record = record;
     Field  = field;
     Extra  = extra;
 }
Пример #3
0
 public LoadError(LoadErrorType type, string config, string record, string field, object extra)
 {
     Type = type;
     Config = config;
     Record = record;
     Field = field;
     Extra = extra;
 }
Пример #4
0
 private void DoLoadErrorCallback(string message, string systemId, string path, bool det, LoadErrorType type = LoadErrorType.Unknown)
 {
     OnLoadError?.Invoke(this, new RomErrorArgs(message, systemId, path, det, type));
 }
Пример #5
0
 public RomErrorArgs(string message, string systemId, string path, bool?det, LoadErrorType type)
     : this(message, systemId, type)
 {
     Deterministic = det;
     RomPath       = path;
 }
Пример #6
0
 // TODO: think about naming here, what to pass, a lot of potential good information about what went wrong could go here!
 public RomErrorArgs(string message, string systemId, LoadErrorType type)
 {
     Message           = message;
     AttemptedCoreLoad = systemId;
     Type = type;
 }
Пример #7
0
 public LoadException(LoadErrorType errorType, Loader loader, string message, Exception inner)
     : base(message, inner)
 {
     m_errorType = errorType;
     m_loader    = loader;
 }
Пример #8
0
 public LoadException(LoadErrorType errorType, Loader loader)
 {
     m_errorType = errorType;
     m_loader    = loader;
 }
Пример #9
0
		public LoadException(LoadErrorType errorType, Loader loader, string message, Exception inner)
			: base(message, inner)
		{
			m_errorType = errorType;
			m_loader = loader;
		}
Пример #10
0
		public LoadException(LoadErrorType errorType, Loader loader)
		{
			m_errorType = errorType;
			m_loader = loader;
		}