Method
GetStaticValue
(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
Tested by
no test coverage detected