(nint InHandle, byte* InName, long InValue)
| 8 | public static class FieldBridge |
| 9 | { |
| 10 | [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])] |
| 11 | public static unsafe void SetStaticValue(nint InHandle, byte* InName, long InValue) |
| 12 | { |
| 13 | var Field = GetField(InHandle, InName); |
| 14 | |
| 15 | if (Field != null) |
| 16 | { |
| 17 | Field.SetValue(null, LongToField(InValue, Field.FieldType)); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])] |
| 22 | public static unsafe long GetStaticValue(nint InHandle, byte* InName) |