Ejemplo n.º 1
0
        /// <summary>
        /// In BasicWidget you need implicit call Logout after PreLogout, for possibility make
        /// a bulk transfer of player game inventory to DMarket inventory in one DMarket session.
        /// </summary>
        public void Logout()
        {
            var widgetWaitingForm = GetForm <WidgetWaitingForm>();

            widgetWaitingForm.Hide();

            Model.ClearUserData();
            MarketApi.Logout(Model.BasicAccessToken, Model.MarketAccessToken, OnLogoutCallback, OnErrorCallback);
        }
Ejemplo n.º 2
0
 public void Logout()
 {
     Model.ClearUserData();
     MarketApi.Logout(Model.BasicAccessToken, Model.MarketAccessToken, OnLogoutCallback, OnErrorCallback);
 }