Esempio n. 1
0
        void UpdateHudState()
        {
            HudState prevState = HudState;

            HudState = (HudState)(MyAPIGateway.Session.Config?.HudState ?? (int)HudState.HINTS);
            HudStateChanged?.Invoke(prevState, HudState);
        }
 private static void HudManagerSetHudActive([HarmonyArgument(0)] bool isActive)
 {
     HudStateChanged?.SafeInvoke(HudManager.Instance, new HudStateChangedEventArgs(isActive), nameof(HudStateChanged));
 }