Beispiel #1
0
        private static void HudUpdate(Hud __instance, ConversationUi ____activeConversationUi)
        {
            if (!Input.GetKey("left ctrl"))
            {
                return;
            }

            if (__instance.State == HudState.Conversation && ____activeConversationUi != null && !____activeConversationUi.IsDialogChoiceActive)
            {
                f_advanceTimeoutTimer.SetValue(____activeConversationUi, 0f);
                ____activeConversationUi.OnAdvanceLineClick();
            }
            else if (__instance.State == HudState.Message)
            {
                __instance.AdvanceMessage();
            }
        }