コード例 #1
0
            public void OnConnected(SteamClient.ConnectedCallback e)
            {
                Log.Debug("Connection Callback: {0}", e.Result);

                if (e.Result == EResult.OK)
                {
                    Bot._userLogOn();
                }
                else
                {
                    Log.Error("Failed to connect to Steam Community, trying again...");
                    Bot.SteamClient.Connect();
                }
            }