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

Method SetStaticValue

Script/Interop/Bridge/FieldBridge.cs:10–19  ·  view source on GitHub ↗
(nint InHandle, byte* InName, long InValue)

Source from the content-addressed store, hash-verified

8public 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)

Callers

nothing calls this directly

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected