|
| override Type | BindToType (string assemblyName, string typeName) |
| |
Definition at line 5 of file GameSerializationBinder.cs.
◆ BindToType()
| override Type GameSerializationBinder.BindToType |
( |
string |
assemblyName, |
|
|
string |
typeName |
|
) |
| |
|
inline |
Definition at line 9 of file GameSerializationBinder.cs.
10 {
11 try
12 {
13 return base.BindToType(assemblyName, typeName);
14 }
15 catch (Exception ex)
16 {
17 Core.
Instance.
ui.Say(
"Possible Mod Error, please contact the mod auther.");
19 Debug.LogError(ex.Message);
20 Debug.LogError(assemblyName +
"/" + typeName);
22 {
25 }
26 if (typeName.StartsWith("Quest"))
27 {
29 }
30 if (typeName.StartsWith("Zone"))
31 {
33 }
35 }
36 }
static Dictionary< string, string > fallbackTypes
References Debug, ModUtil.fallbackTypes, Core.Instance, and Core.ui.
◆ Instance
The documentation for this class was generated from the following file: