Beispiel #1
0
 static object HarmonyOptions(HarmonyDeviceOptions o)
 {
     if (o.Device != null && o.Command != null)
     {
         Harmony.HarmonyDeviceCommand(HARMONY_SLUG, o.Device, o.Command).GetAwaiter().GetResult();
     }
     if (o.Activity != null)
     {
         Harmony.HarmonyActivityCommand(HARMONY_SLUG, o.Activity).GetAwaiter().GetResult();
     }
     return(true);
 }