parent
64a5071861
commit
11ae7830d4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -166,7 +166,9 @@ public class InappInfo : MonoBehaviour, IDetailedStoreListener
|
||||||
{
|
{
|
||||||
if (_success)
|
if (_success)
|
||||||
{
|
{
|
||||||
ServerInfo.Ins.m_ServerData.Add_ShopBuyCount(m_Data.n_ShopItemID);
|
var sdata = ServerInfo.Ins.m_ServerData;
|
||||||
|
sdata.Add_ShopBuyCount(m_Data.n_ShopItemID);
|
||||||
|
sdata.Add_MissionCount(ePurpose.BUY_PAID_COUNT_ACC);
|
||||||
var inappid = m_PurchaseEventArgs.purchasedProduct.definition.id;
|
var inappid = m_PurchaseEventArgs.purchasedProduct.definition.id;
|
||||||
ServerInfo.Ins.Write_UnityInApp(inappid, () =>
|
ServerInfo.Ins.Write_UnityInApp(inappid, () =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1301,6 +1301,8 @@ public partial class ServerData
|
||||||
void Add_ShopRandomBagItem(int shopid, int bagid, Action afterbuy)
|
void Add_ShopRandomBagItem(int shopid, int bagid, Action afterbuy)
|
||||||
{
|
{
|
||||||
Add_ShopBuyCount(shopid);
|
Add_ShopBuyCount(shopid);
|
||||||
|
Add_MissionCount(ePurpose.BUY_PRODUCT, shopid);
|
||||||
|
Add_MissionCount(ePurpose.BUY_PRODUCT_ALL);
|
||||||
var bag = table_randombag.Ins.Get_DataList(bagid);
|
var bag = table_randombag.Ins.Get_DataList(bagid);
|
||||||
var obtainlist = new List<ItemSimpleData>();
|
var obtainlist = new List<ItemSimpleData>();
|
||||||
for (int j = 0; j < bag.Count; j++)
|
for (int j = 0; j < bag.Count; j++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue