示例#1
0
        private void OnLoginKey(SteamUser.LoginKeyCallback callback)
        {
            // Save unique ID to use with SteamCommunity
            kraxbot.UniqueID = callback.UniqueID;

            // Save key to file
            File.WriteAllTextAsync("loginkey", callback.LoginKey);
            kraxbot.AcceptNewLoginKey(callback);
            Kraxbot.Log("Saved login key");
        }