데일리 상품 반환 세팅
This commit is contained in:
parent
fddcbfa695
commit
512632fdc9
|
|
@ -133,7 +133,11 @@ public class MainCtrl : MonoBehaviour
|
|||
Statics.gold = data.gold;
|
||||
Statics.cash = data.cash;
|
||||
|
||||
GameManager.Instance.NextScene(GameManager.eScene.Game);
|
||||
if(data.new_user) //신규 유저
|
||||
GameManager.Instance.NextScene(GameManager.eScene.Play);
|
||||
else
|
||||
GameManager.Instance.NextScene(GameManager.eScene.Game);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -67,12 +67,14 @@ public class LoginResp : Request<LoginResp>
|
|||
public string nickname { get; set; }
|
||||
public ulong gold { get; set; }
|
||||
public ulong cash { get; set; }
|
||||
public bool new_user { get; set; }
|
||||
public List<DynamicData> dynamic_data { get; set; }
|
||||
public List<DeckUnitInfo> deck_unit { get; set; }
|
||||
public List<DeckInfo> deck_info { get; set; }
|
||||
public List<Equipment> equipment { get; set; }
|
||||
public List<ConsumableItem> consumableItem { get; set; }
|
||||
public List<EtcItem> etcItem { get; set; }
|
||||
public List<ConsumableItem> consumable_item { get; set; }
|
||||
public List<EtcItem> etc_item { get; set; }
|
||||
public List<ResetShopItem> reset_shop_item { get; set; }
|
||||
|
||||
public void Request(LoginReq loginReq, Action<LoginResp> onRequestFinished, Action errorRequestFinished)
|
||||
{
|
||||
|
|
@ -302,3 +304,18 @@ public class EtcItem
|
|||
|
||||
public int count { get; set; }
|
||||
}
|
||||
|
||||
public class ResetShopItem
|
||||
{
|
||||
public long id { get; set; }
|
||||
|
||||
public long reset_shop_item_data_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public long shop_index { get; set; }
|
||||
public eBuyType buy_type { get; set; }
|
||||
public int buy { get; set; }
|
||||
public long reward { get; set; }
|
||||
public int buy_count { get; set; }
|
||||
public int count { get; set; }
|
||||
public DateTime end_date { get; set; }
|
||||
}
|
||||
Loading…
Reference in New Issue