Esempio n. 1
0
    /// <summary>
    /// Called when PlayFab login completed.
    /// </summary>
    /// <param name="inventory">User inventory.</param>
    /// <param name="displayName">User display name.</param>
    /// <param name="currency">User currrency amount.</param>
    /// <param name="accountLevel">User account level.</param>
    /// <param namhttp://open.spotify.com/app/radioe="accountExp">User account experience points.</param>
    void OnPlayFabLoginCompleted(List <ItemInstance> inventory, string displayName, int currency, int accountLevel, int accountExp, bool boughtShe)
    {
        //this.inventory = inventory;
        this.currencyAmount = currency;

        this.displayName = displayName;

        this.accountLevel = accountLevel;
        this.accountExp   = accountExp;

        this.boughtShe = boughtShe;

        OnLoginCompleted();

        playFabManager.GetGameNews(21);
    }