/// <summary> /// </summary> /// <param name="salesItem"></param> public void OnBuyGacha( SalesItem salesItem ) { Debug.Log("GachaDirector::OnBuyGacha"); StartCoroutine( ShowcaseController.Buy( _client, _session, _gachaSetting.showcaseNamespaceName, _gachaSetting.showcaseModelName, salesItem.DisplayItemId, _gachaSetting.onIssueBuyStampSheet, _gachaSetting.onError, _config.Select(item => new EzConfig { Key = item.Key, Value = item.Value }).ToList() ) ); }
/// <summary> /// </summary> /// <param name="salesItem"></param> public void OnBuyMoney( SalesItem salesItem ) { Debug.Log("SceneDirector::OnBuyMoney"); StartCoroutine( ShowcaseController.Buy( _client, _session, _moneyStoreDiscountSetting.showcaseNamespaceName, _moneyStoreDiscountSetting.showcaseModelName, salesItem.DisplayItemId, _moneyStoreDiscountSetting.onIssueBuyStampSheet, _moneyStoreDiscountSetting.onError, _config.Select(item => new EzConfig { Key = item.Key, Value = item.Value }).ToList(), salesItem.ContentsId ) ); }