MCPcopy Create free account
hub / github.com/SpecialKO/SpecialK / SK_Unity_InControl_SetDeviceStyle

Function SK_Unity_InControl_SetDeviceStyle

src/plugins/unity.cpp:2554–2575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2552 Il2cpp::thread_detach (Il2cpp::thread_current ());
2553 SK_Thread_CloseSelf ();
2554
2555 return 0;
2556 }, L"[SK] il2cpp Temporary Thread");
2557 }
2558}
2559
2560static void SK_Unity_InControl_SetDeviceStyle (MonoObject* device)
2561{
2562 if (device == nullptr)
2563 return;
2564
2565 if (SK_Unity_GlyphEnumVal == -1)
2566 return;
2567
2568 static auto
2569 image = SK_Unity_MonoAssemblies.assemblyInControl;
2570 if (image == nullptr)
2571 return;
2572
2573 static auto
2574 method = GetClassMethod (image, "InControl", "InputDevice", "set_DeviceStyle", 1);
2575 if (! method)
2576 return;
2577
2578 void* params [1] = { &SK_Unity_GlyphEnumVal };

Calls 1

GetClassMethodFunction · 0.70

Tested by

no test coverage detected