Пример #1
0
 public void Initialize(
     SalesItem salesItem,
     LimitWatcher limitWatcher
     )
 {
     _salesItem    = salesItem;
     _limitWatcher = limitWatcher;
 }
Пример #2
0
        /// <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
                    )
                );
        }
Пример #3
0
 public void OnClickBuyButton(SalesItem salesItem)
 {
     onChoiceSalesItem.Invoke(salesItem);
     
     gameObject.SetActive(false);
 }