상점 완료

This commit is contained in:
Ino 2025-09-25 15:05:11 +09:00
parent 1aab8f3674
commit 38d4c3ed98
8 changed files with 16 additions and 6 deletions

View File

@ -2,7 +2,7 @@
x20", "n_RewardHeart": "40", "n_RewardChatCoin": "20", "n_RewardGacha": "0", "n_BonusGameRefill": "0", "b_AdRemove": "False", "b_InfinityMiniGame": "False", "b_LuckyGameCharge": "False"}, {"s_ID": "package_minigame", "e_InAppInitType": "One1", "e_BuyType": "IAP", "s_Name": "Free ", "n_Price": "9900", "n_Limit": "0", "s_PeakEffective": "", "s_Icon": "shop money icon 2_shop", "s_Items": " x20", "n_RewardHeart": "40", "n_RewardChatCoin": "20", "n_RewardGacha": "0", "n_BonusGameRefill": "0", "b_AdRemove": "False", "b_InfinityMiniGame": "False", "b_LuckyGameCharge": "False"}, {"s_ID": "package_minigame", "e_InAppInitType": "One1", "e_BuyType": "IAP", "s_Name": "Free ", "n_Price": "9900", "n_Limit": "0", "s_PeakEffective": "", "s_Icon": "shop money icon 2_shop", "s_Items": "
+1 +1
", "n_RewardHeart": "0", "n_RewardChatCoin": "0", "n_RewardGacha": "0", "n_BonusGameRefill": "1", "b_AdRemove": "False", "b_InfinityMiniGame": "True", "b_LuckyGameCharge": "False"}, {"s_ID": "package_gacha", "e_InAppInitType": "One2", "e_BuyType": "IAP", "s_Name": " ", "n_Price": "25000", "n_Limit": "0", "s_PeakEffective": "", "s_Icon": "shop money icon 2_shop", "s_Items": " ", "n_RewardHeart": "0", "n_RewardChatCoin": "0", "n_RewardGacha": "0", "n_BonusGameRefill": "1", "b_AdRemove": "False", "b_InfinityMiniGame": "True", "b_LuckyGameCharge": "False"}, {"s_ID": "package_gacha", "e_InAppInitType": "One2", "e_BuyType": "IAP", "s_Name": " ", "n_Price": "25000", "n_Limit": "0", "s_PeakEffective": "", "s_Icon": "shop money icon 2_shop", "s_Items": "
+1 +1

Binary file not shown.

View File

@ -2056,6 +2056,7 @@ MonoBehaviour:
go_openbtn: {fileID: 5762353980434385379} go_openbtn: {fileID: 5762353980434385379}
go_viewbtn: {fileID: 4007246598957671079} go_viewbtn: {fileID: 4007246598957671079}
go_albumbtn: {fileID: 6118212189904897713} go_albumbtn: {fileID: 6118212189904897713}
go_chatbtn: {fileID: 6488644166046883144}
rect: {fileID: 0} rect: {fileID: 0}
--- !u!1 &8512964498684640329 --- !u!1 &8512964498684640329
GameObject: GameObject:

View File

@ -60010,7 +60010,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &1793160175 --- !u!224 &1793160175
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -64078,7 +64078,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -74} m_AnchoredPosition: {x: 0, y: -74.000015}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1912645485 --- !u!114 &1912645485
@ -69341,7 +69341,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -76} m_AnchoredPosition: {x: 0, y: -75.999985}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2037068573 --- !u!114 &2037068573

View File

@ -367,6 +367,7 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
return true; return true;
} }
public bool GachaChargeTime_Reduce() { return m_SaveData.LuckyGameCharge; } public bool GachaChargeTime_Reduce() { return m_SaveData.LuckyGameCharge; }
public bool IsInfinityMiniGame() { return m_SaveData.InfinityMiniGame; }
public class SaveData public class SaveData
{ {

View File

@ -62,6 +62,12 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
break; break;
case "btn_minigame": case "btn_minigame":
if (SaveMgr.Ins.IsInfinityMiniGame())
{
m_Game_Mini.Set();
return;
}
if (SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, false)) if (SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, false))
{ {
SaveMgr.Ins.Add_Money(eMoney.MiniGameHP, -1); SaveMgr.Ins.Add_Money(eMoney.MiniGameHP, -1);

View File

@ -7,7 +7,7 @@ public class ProfileCard : MonoBehaviour
{ {
public Image i_girl, i_openbtn; public Image i_girl, i_openbtn;
public TextMeshProUGUI[] texts; // 0 이름, 1 카운트 public TextMeshProUGUI[] texts; // 0 이름, 1 카운트
public GameObject go_lock, go_openbtn, go_viewbtn, go_albumbtn; public GameObject go_lock, go_openbtn, go_viewbtn, go_albumbtn, go_chatbtn;
public RectTransform rect; public RectTransform rect;
girltabledata m_Data; girltabledata m_Data;
@ -48,6 +48,8 @@ public class ProfileCard : MonoBehaviour
i_openbtn.sprite = UIAtlasMgr.Ins.Get_Sprite(CanOpen() ? "red btn long" : "black btn"); i_openbtn.sprite = UIAtlasMgr.Ins.Get_Sprite(CanOpen() ? "red btn long" : "black btn");
go_viewbtn.SetActive(count == 0); go_viewbtn.SetActive(count == 0);
go_albumbtn.SetActive(count > 0); go_albumbtn.SetActive(count > 0);
//go_chatbtn.SetActive(count > 0);
go_chatbtn.SetActive(false); // 게등위 테스트
} }
bool CanOpen() bool CanOpen()

View File

@ -248,7 +248,7 @@ public class ShopCard : MonoBehaviour
if (m_Data.b_InfinityMiniGame) if (m_Data.b_InfinityMiniGame)
{ {
if (!string.IsNullOrEmpty(msg)) msg += "\n"; if (!string.IsNullOrEmpty(msg)) msg += "\n";
msg += $"수집 게임 무제한 입장을 획득했습니다."; msg += $"미니 게임 무제한 입장을 획득했습니다.";
} }
if (m_Data.b_LuckyGameCharge) if (m_Data.b_LuckyGameCharge)