diff --git a/Client/Assets/1_Script/MainCtrl.cs b/Client/Assets/1_Script/MainCtrl.cs index d809dab3..7ff3eef7 100644 --- a/Client/Assets/1_Script/MainCtrl.cs +++ b/Client/Assets/1_Script/MainCtrl.cs @@ -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 { diff --git a/Client/Assets/1_Script/System/Http/Protocol.cs b/Client/Assets/1_Script/System/Http/Protocol.cs index af03b3b0..4c1b0258 100644 --- a/Client/Assets/1_Script/System/Http/Protocol.cs +++ b/Client/Assets/1_Script/System/Http/Protocol.cs @@ -67,12 +67,14 @@ public class LoginResp : Request public string nickname { get; set; } public ulong gold { get; set; } public ulong cash { get; set; } + public bool new_user { get; set; } public List dynamic_data { get; set; } public List deck_unit { get; set; } public List deck_info { get; set; } public List equipment { get; set; } - public List consumableItem { get; set; } - public List etcItem { get; set; } + public List consumable_item { get; set; } + public List etc_item { get; set; } + public List reset_shop_item { get; set; } public void Request(LoginReq loginReq, Action onRequestFinished, Action errorRequestFinished) { @@ -301,4 +303,19 @@ public class EtcItem public long etc_item_data_id { get; set; } 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; } } \ No newline at end of file