Beispiel #1
0
            public static bool Prefix(ref KeyMinigame __instance)
            {
                PlayerControl localPlayer = PlayerControl.LocalPlayer;

                __instance.ECHAPHLBHDC = (localPlayer != null) ? localPlayer.PlayerId % 10 : 0;
                __instance.Slots[__instance.ECHAPHLBHDC].CIAMDNLJPBO();
                return(false);
            }
            public static void Postfix(ref KeyMinigame __instance)
            {
                PlayerControl localPlayer = PlayerControl.LocalPlayer;

                __instance.ECHAPHLBHDC = (int)((localPlayer != null) ? localPlayer.PlayerId % 10 : 0);
            }