MCPcopy Create free account
hub / github.com/crazytuzi/UnrealCSharp / MakeGenericType2

Method MakeGenericType2

Script/Interop/Bridge/TypeBridge.cs:183–198  ·  view source on GitHub ↗
(nint InGeneric, nint InKeyType, nint InValueType)

Source from the content-addressed store, hash-verified

181 }
182
183 [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])]
184 public static nint MakeGenericType2(nint InGeneric, nint InKeyType, nint InValueType)
185 {
186 if (HandleData.GetObject(InGeneric) is Type Generic)
187 {
188 if (HandleData.GetObject(InKeyType) is Type Key)
189 {
190 if (HandleData.GetObject(InKeyType) is Type Value)
191 {
192 return HandleData.AllocImplementation(Generic.MakeGenericType(Key, Value));
193 }
194 }
195 }
196
197 return 0;
198 }
199
200 [UnmanagedCallersOnly]
201 public static unsafe nint BoxBool(int* InValue)

Callers

nothing calls this directly

Calls 3

AllocImplementationMethod · 0.80
GetObjectMethod · 0.45
MakeGenericTypeMethod · 0.45

Tested by

no test coverage detected