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

Method GetStaticValue

Script/Interop/Bridge/FieldBridge.cs:21–32  ·  view source on GitHub ↗
(nint InHandle, byte* InName)

Source from the content-addressed store, hash-verified

19 }
20
21 [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])]
22 public static unsafe long GetStaticValue(nint InHandle, byte* InName)
23 {
24 var Field = GetField(InHandle, InName);
25
26 if (Field != null)
27 {
28 return FieldToLong(Field.GetValue(null));
29 }
30
31 return 0;
32 }
33
34 private static unsafe FieldInfo? GetField(nint InHandle, byte* InName)
35 {

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.80

Tested by

no test coverage detected