示例#1
0
 public bool OpenSteamOverlay(string url)
 {
     if (MySteam.IsOverlayEnabled)
     {
         MySteam.OpenOverlayUrl(url);
         return(true);
     }
     return(false);
 }
        void Static_ServerDisconnected(Lidgren.Network.NetConnection connection)
        {
            MySteam.RefreshSessionTicket();

            if (m_waitDialog != null)
            {
                m_waitDialog.CloseScreen();
                m_waitDialog = null;
            }
            MyMultiplayerPeers.Static.ServerDisconnected -= m_serverDisconnectedHandler;
            //ShowNetworkError();
        }