コード例 #1
0
 private void OnGameOverlayActivated(GameOverlayActivated_t a_callback)
 {
     if (a_callback.m_bActive == 0)
     {
         this.RequestSteamInventory();
     }
 }
コード例 #2
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive != 0)
     {
         OnOverlayActivated();
     }
 }
コード例 #3
0
 // Token: 0x0600174C RID: 5964 RVA: 0x000869AA File Offset: 0x00084DAA
 private void onGameOverlayActivated(GameOverlayActivated_t callback)
 {
     if (callback.m_bActive == 0)
     {
         this.refreshInventory();
     }
 }
コード例 #4
0
ファイル: MenuManager.cs プロジェクト: lowprofile-dev/Magnet
 void OnSteamGameOverlay(GameOverlayActivated_t callback)
 {
     if (callback.m_bActive != 0 && GlobalVariables.Instance.GameState == GameStateEnum.Playing)
     {
         PauseResumeGame();
     }
 }
コード例 #5
0
 private static void OnOverlayActivated(GameOverlayActivated_t callback)
 {
     OverlayActive.Value = callback.m_bActive != 0;
     if (!OverlayActive)
     {
         _overlayTimer = 0.2f;
     }
 }
コード例 #6
0
 static void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive == 1)
     {
         if (overlordReference.getGameState() == Game1.GameState.Game)
         {
             overlordReference.getGameClass().Pause();
         }
     }
 }
コード例 #7
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive != 0)
     {
         Debug.Log("Steam Overlay has been activated");
     }
     else
     {
         Debug.Log("Steam Overlay has been closed");
     }
 }
コード例 #8
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive != 0)
     {
         Debug.Log("Steam overlay is open");
     }
     else
     {
         Debug.Log("Steam overlay is closed");
     }
 }
コード例 #9
0
 void OpenSteamOverlay(GameOverlayActivated_t overlay)
 {
     if (overlay.m_bActive != 0)
     {
         Time.timeScale = 0f;
     }
     else
     {
         Time.timeScale = 1f;
     }
 }
コード例 #10
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive != 0)
     {
         Time.timeScale = 0;
     }
     else
     {
         Time.timeScale = 1;
     }
 }
コード例 #11
0
 // Token: 0x06000780 RID: 1920 RVA: 0x000A654C File Offset: 0x000A474C
 public static void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (SteamHelper.active)
     {
         if (pCallback.m_bActive != 0)
         {
             Game1.paused = !Game1.IsMultiplayer;
             return;
         }
         Game1.paused = false;
     }
 }
コード例 #12
0
ファイル: SteamHelper.cs プロジェクト: avere001/sprinklers
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (this.active)
     {
         if (pCallback.m_bActive != 0)
         {
             Game1.paused = !Game1.IsMultiplayer;
             return;
         }
         Game1.paused = false;
     }
 }
コード例 #13
0
 private void OnGameOverlayActivated(GameOverlayActivated_t dfghbnjnm)
 {
     if (dfghbnjnm.m_bActive != 0)
     {
         Debug.Log("yes");
         FindObjectOfType <Player>().TakeDamage(3000f, transform);
     }
     else
     {
         Debug.Log("Yes(no)");
     }
 }
コード例 #14
0
 private static void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive == 0)
     {
         // GameOverlay is not active.
         SteamOverlayActive = false;
     }
     else
     {
         // GameOverlay is active.
         SteamOverlayActive = true;
     }
 }
コード例 #15
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (pCallback.m_bActive != 0)
     {
         result.Value = false;
         Fsm.Event(active);
     }
     else
     {
         result.Value = true;
         Fsm.Event(notActive);
     }
 }
コード例 #16
0
ファイル: SteamHelper.cs プロジェクト: s-yi/StardewValley
 private void onGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (active)
     {
         if (pCallback.m_bActive != 0)
         {
             Game1.paused = ((!Game1.IsMultiplayer) ? true : false);
         }
         else
         {
             Game1.paused = false;
         }
     }
 }
コード例 #17
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     if (!this.active)
     {
         return;
     }
     if ((int)pCallback.m_bActive != 0)
     {
         Game1.paused = !Game1.IsMultiplayer;
     }
     else
     {
         Game1.paused = false;
     }
 }
コード例 #18
0
    void OverlayActivate(GameOverlayActivated_t overlayAct)
    {
        if (overlayAct.m_bActive != 0)
        {
            //activated
            overlayOpen = true;
        }
        else
        {
            //deactivated
            overlayOpen = false;
        }

        //overlay was toggled
        overlayToggle = true;
    }
コード例 #19
0
    private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
    {
        if (pCallback.m_bActive != 0)
        {
            Debug.Log("Steam Overlay has been activated");


            //  ManagerPause.Pause = true;
        }
        else
        {
            Debug.Log("Steam Overlay has been closed");


            //    ManagerPause.Pause = false;
        }
    }
コード例 #20
0
    private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
    {
        if (pCallback.m_bActive != 0)
        {
            if (SteamManager.Initialized)
            {
                if (!ManagerPause.Pause)
                {
                    if (backHud.Callback != null)
                    {
                        backHud.Callback();
                    }
                }
            }

            Debug.LogError("Steam Overlay has been activated");
            Cursor.visible = true;
        }
        else
        {
            Debug.LogError("Steam Overlay has been closed");
        }
    }
コード例 #21
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     ActivateMenu();
 }
コード例 #22
0
 // Token: 0x0600862E RID: 34350 RVA: 0x002EFD34 File Offset: 0x002EDF34
 private void ICJIHLEJMDB(GameOverlayActivated_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_bActive != 0)
     {
     }
 }
コード例 #23
0
 // Token: 0x060085F5 RID: 34293 RVA: 0x002EFD34 File Offset: 0x002EDF34
 private void MLLFDFFJDFA(GameOverlayActivated_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_bActive != 0)
     {
     }
 }
コード例 #24
0
 // Token: 0x06008610 RID: 34320 RVA: 0x002EFD34 File Offset: 0x002EDF34
 private void MIFCCDEFKNN(GameOverlayActivated_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_bActive != 0)
     {
     }
 }
コード例 #25
0
 void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     Debug.Log("[" + GameOverlayActivated_t.k_iCallback + " - GameOverlayActivated] - " + pCallback.m_bActive);
 }
コード例 #26
0
 private void OnGameOverlayActivated(GameOverlayActivated_t pCallback)
 {
     bSteamOverlayActive = (pCallback.m_bActive == 1);
     Debug.Log("Steam overlay active " + pCallback.m_bActive);
 }
コード例 #27
0
ファイル: CoreSocialModule.cs プロジェクト: egshels/Sources
 public void OnOverlayActivated(GameOverlayActivated_t result)
 {
     //IL_0005: Unknown result type (might be due to invalid IL or missing references)
     Main.instance.IsMouseVisible = (result.m_bActive == 1);
 }
コード例 #28
0
 static void onOverlay(GameOverlayActivated_t t)
 {
     Log.trace("Steam overlay toggled.");
 }
コード例 #29
0
 public void OnOverlayActivated(GameOverlayActivated_t result)
 {
     Main.instance.IsMouseVisible = result.m_bActive == 1;
 }
コード例 #30
0
 // Token: 0x0600863C RID: 34364 RVA: 0x002EFD34 File Offset: 0x002EDF34
 private void EHDLHBEEHFB(GameOverlayActivated_t IAFAANLMOAG)
 {
     if (IAFAANLMOAG.m_bActive != 0)
     {
     }
 }