@@ -10,6 +10,7 @@ using TaleWorlds.Library;
|
|
10
10
|
[assembly: DefineAsEngineStruct(typeof(Vec3), "rglVec3::Plain_vec")]
|
11
11
|
[assembly: DefineAsEngineStruct(typeof(Vec3i), "rglInt_vec3::Plain_vec")]
|
12
12
|
[assembly: DefineAsEngineStruct(typeof(MatrixFrame), "rglMatrix_frame")]
|
13
|
+
[assembly: DefineAsEngineStruct(typeof(Transformation), "ftlTransformation")]
|
13
14
|
[assembly: DefineAsEngineStruct(typeof(Mat2), "rglMat2")]
|
14
15
|
[assembly: DefineAsEngineStruct(typeof(Mat3), "rglMat3")]
|
15
16
|
[assembly: DefineAsEngineStruct(typeof(Quaternion), "rglQuaternion")]
|
@@ -41,6 +42,8 @@ using TaleWorlds.Library;
|
|
41
42
|
[assembly: InternalsVisibleTo("TaleWorlds.GDK.AutoGenerated")]
|
42
43
|
[assembly: InternalsVisibleTo("UnrealEngine.DotNet")]
|
43
44
|
[assembly: InternalsVisibleTo("UnrealEngine.DotNet.AutoGenerated")]
|
45
|
+
[assembly: InternalsVisibleTo("UnrealEngine.DotNet.GauntletUI")]
|
46
|
+
[assembly: InternalsVisibleTo("UnrealEngine.DotNet.GauntletUI.AutoGenerated")]
|
44
47
|
[assembly: AssemblyCompany("TaleWorlds.DotNet")]
|
45
48
|
[assembly: AssemblyConfiguration("Shipping_Client")]
|
46
49
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
@@ -147,6 +147,10 @@ namespace TaleWorlds.DotNet
|
|
147
147
|
|
148
148
|
public static extern void AddTypes(Dictionary<string, Type> types);
|
149
149
|
|
150
|
+
public static extern void AddConstructorDelegateOfClass<T>();
|
151
|
+
|
152
|
+
public static extern void AddConstructorDelegateOfWeakReferenceClass<T>();
|
153
|
+
|
150
154
|
[LibraryCallback]
|
151
155
|
internal static extern void LoadManagedComponent(string assemblyName, string managedInterface);
|
152
156
|
|
@@ -156,6 +160,10 @@ namespace TaleWorlds.DotNet
|
|
156
160
|
|
157
161
|
internal static extern ConstructorInfo GetConstructorOfClass(string className);
|
158
162
|
|
163
|
+
internal static extern Delegate GetConstructorDelegateOfClass(string className);
|
164
|
+
|
165
|
+
internal static extern Delegate GetConstructorDelegateOfWeakReferenceClass(Type classType);
|
166
|
+
|
159
167
|
[LibraryCallback]
|
160
168
|
internal static extern bool IsClassFieldExists(string className, string fieldName);
|
161
169
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
namespace TaleWorlds.DotNet
|
2
|
+
{
|
3
|
+
public class ManagedDelegate : DotNetObject
|
4
|
+
{
|
5
|
+
public delegate void DelegateDefinition();
|
6
|
+
|
7
|
+
public DelegateDefinition Instance { get; set; }
|
8
|
+
|
9
|
+
public extern ManagedDelegate();
|
10
|
+
|
11
|
+
[LibraryCallback]
|
12
|
+
public extern void InvokeAux();
|
13
|
+
}
|
14
|
+
}
|
@@ -8,7 +8,9 @@ namespace TaleWorlds.DotNet
|
|
8
8
|
|
9
9
|
internal UIntPtr Pointer { get; }
|
10
10
|
|
11
|
-
protected extern NativeObject(
|
11
|
+
protected extern NativeObject();
|
12
|
+
|
13
|
+
internal extern void Construct(UIntPtr pointer);
|
12
14
|
|
13
15
|
extern ~NativeObject();
|
14
16
|
|