Эх сурвалжийг харах

1常驻礼包界面+界面动效. 2定义常驻礼包,客户端方面的数据存储.

何晓捷 2 жил өмнө
parent
commit
35ddcd7e3b
50 өөрчлөгдсөн 1336 нэмэгдсэн , 43 устгасан
  1. 0 7
      FGUIProject/assets/Bag/components/ComItemNumBag.xml
  2. 2 1
      FGUIProject/assets/Bag/components/ListSelectorItem.xml
  3. 0 1
      FGUIProject/assets/Bag/package.xml
  4. 0 2
      FGUIProject/assets/EnduringGiftBox/EnduringGiftBoxGold.xml
  5. 0 24
      FGUIProject/assets/EnduringGiftBox/EnduringGiftBoxPower.xml
  6. 71 0
      FGUIProject/assets/EnduringGiftBox/EnduringGiftBoxUI.xml
  7. 18 0
      FGUIProject/assets/EnduringGiftBox/components/ComCurSupply.xml
  8. 8 0
      FGUIProject/assets/EnduringGiftBox/components/ComDiscount.xml
  9. 10 0
      FGUIProject/assets/EnduringGiftBox/components/ComGouMaiGetText.xml
  10. 10 0
      FGUIProject/assets/EnduringGiftBox/components/ComLeftGiftBox.xml
  11. 15 0
      FGUIProject/assets/EnduringGiftBox/components/ComRewardIconItem.xml
  12. BIN
      FGUIProject/assets/EnduringGiftBox/images/hlhdjficon.png
  13. BIN
      FGUIProject/assets/EnduringGiftBox/images/lm_tb_tishi.png
  14. BIN
      FGUIProject/assets/EnduringGiftBox/images/txz_tb_ylq.png
  15. BIN
      FGUIProject/assets/EnduringGiftBox/images/wpk_db_1.png
  16. BIN
      FGUIProject/assets/EnduringGiftBox/images/wpk_db_2.png
  17. BIN
      FGUIProject/assets/EnduringGiftBox/images/wpk_sz_db.png
  18. BIN
      FGUIProject/assets/EnduringGiftBox/images/wpk_sz_db2.png
  19. 19 8
      FGUIProject/assets/EnduringGiftBox/package.xml
  20. 58 0
      GameClient/Assets/Game/HotUpdate/Data/EnduringGiftBoxDataManager.cs
  21. 3 0
      GameClient/Assets/Game/HotUpdate/Data/EnduringGiftBoxDataManager.cs.meta
  22. 8 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox.meta
  23. 74 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuy.cs
  24. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuy.cs.meta
  25. 74 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuyWeek.cs
  26. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuyWeek.cs.meta
  27. 77 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnReceive.cs
  28. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnReceive.cs.meta
  29. 95 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComCurSupply.cs
  30. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComCurSupply.cs.meta
  31. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComDiscount.cs
  32. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComDiscount.cs.meta
  33. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComGouMaiGetText.cs
  34. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComGouMaiGetText.cs.meta
  35. 72 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComLeftGiftBox.cs
  36. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComLeftGiftBox.cs.meta
  37. 92 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComRewardIconItem.cs
  38. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComRewardIconItem.cs.meta
  39. 106 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_EnduringGiftBoxUI.cs
  40. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_EnduringGiftBoxUI.cs.meta
  41. 3 0
      GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox.meta
  42. 70 0
      GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox/EnduringGiftBoxView.cs
  43. 3 0
      GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox/EnduringGiftBoxView.cs.meta
  44. 8 0
      GameClient/Assets/ResIn/UI/EnduringGiftBox.meta
  45. BIN
      GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0!a.png
  46. 96 0
      GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0!a.png.meta
  47. BIN
      GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0.png
  48. 96 0
      GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0.png.meta
  49. BIN
      GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_fui.bytes
  50. 7 0
      GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_fui.bytes.meta

+ 0 - 7
FGUIProject/assets/Bag/components/ComItemNumBag.xml

@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<component size="166,45" overflow="hidden">
-  <displayList>
-    <image id="n1_v5no" name="n1" src="v5notm8" fileName="images/wpk_sz_db_1.png" xy="-21,0" size="208,45"/>
-    <text id="n2_v5no" name="txtNum" xy="29,3" size="107,42" fontSize="30" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="120"/>
-  </displayList>
-</component>

+ 2 - 1
FGUIProject/assets/Bag/components/ListSelectorItem.xml

@@ -5,7 +5,8 @@
     <image id="n2_v5no" name="n2" src="v5notmc" fileName="images/db_jiajian_1.png" xy="23,189"/>
     <text id="n17_cu9w" name="txtSelNum" xy="56,184" size="60,53" fontSize="39" color="#915e15" align="center" autoSize="none" text="0"/>
     <loader id="n11_v5no" name="loaIcon" xy="87,84" pivot="0.5,0.5" anchor="true" size="100,88" fill="scale"/>
-    <component id="n12_v5no" name="comItemNumBag" src="v5notmd" fileName="components/ComItemNumBag.xml" xy="8,120" size="155,45"/>
+    <image id="n18_qqhz" name="n18" src="v5notm8" fileName="images/wpk_sz_db_1.png" xy="8,120" size="155,45"/>
+    <text id="n19_qqhz" name="txtNum" xy="58,122" size="54,42" fontSize="30" color="#ffffff" align="center" vAlign="middle" autoSize="none" text="120"/>
     <component id="n15_cu9w" name="btnReduce" src="cu9wtmf" fileName="components/BtnReduce.xml" xy="-1,188"/>
     <component id="n16_cu9w" name="btnAdd" src="cu9wtmg" fileName="components/BtnAdd.xml" xy="121,189"/>
   </displayList>

+ 0 - 1
FGUIProject/assets/Bag/package.xml

@@ -23,7 +23,6 @@
     <image id="v5notm9" name="wplb_db.png" path="/images/"/>
     <component id="v5notmb" name="ListSelectorItem.xml" path="/components/" exported="true"/>
     <image id="v5notmc" name="db_jiajian_1.png" path="/images/"/>
-    <component id="v5notmd" name="ComItemNumBag.xml" path="/components/" exported="true"/>
     <component id="cu9wtme" name="BtnSub.xml" path="/components/" exported="true"/>
     <component id="cu9wtmf" name="BtnReduce.xml" path="/components/" exported="true"/>
     <component id="cu9wtmg" name="BtnAdd.xml" path="/components/" exported="true"/>

+ 0 - 2
FGUIProject/assets/EnduringGiftBox/EnduringGiftBoxGold.xml

@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<component size="962,970"/>

+ 0 - 24
FGUIProject/assets/EnduringGiftBox/EnduringGiftBoxPower.xml

@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<component size="1080,1118">
-  <displayList>
-    <image id="n0_qqhz" name="n0" src="qqhze" fileName="images/diban.png" xy="23,261" group="n7_qqhz"/>
-    <image id="n1_qqhz" name="n1" src="qqhza" fileName="images/kaikou.png" xy="37,62" group="n7_qqhz"/>
-    <image id="n3_qqhz" name="n3" src="qqhz4" fileName="images/tape.png" xy="-1,577" group="n7_qqhz"/>
-    <image id="n6_qqhz" name="n6" src="qqhzb" fileName="images/heart.png" xy="208,57" group="n7_qqhz" rotation="-0.5"/>
-    <image id="n5_qqhz" name="n5" src="qqhz5" fileName="images/small_paper.png" xy="261,405" group="n7_qqhz"/>
-    <image id="n2_qqhz" name="n2" src="qqhz6" fileName="images/paper.png" xy="30,366" group="n7_qqhz"/>
-    <image id="n8_qqhz" name="n8" src="qqhzp" fileName="images/cz_tl_juese.png" xy="23,-27" group="n7_qqhz"/>
-    <group id="n7_qqhz" name="n7" xy="-1,-27" size="1080,1105"/>
-    <text id="n9_qqhz" name="n9" xy="481,164" size="444,154" group="n17_qqhz" fontSize="32" color="#915e15" align="center" autoSize="none" text="是否花费20粉钻购买60体力?&#xA;体力每5分钟恢复1点&#xA;(今日剩余购买次数:8/8)"/>
-    <component id="n12_qqhz" name="btnCancel" src="qqhzs" fileName="components/BtnCancel.xml" xy="362,327" group="n17_qqhz"/>
-    <component id="n14_qqhz" name="btnSub" src="qqhzu" fileName="components/BtnSub.xml" xy="648,327" group="n17_qqhz"/>
-    <group id="n17_qqhz" name="n17" xy="362,164" size="563,238"/>
-    <image id="n16_qqhz" name="n16" src="qqhzg" fileName="images/cz_lb_db.png" xy="69,475" group="n18_qqhz"/>
-    <group id="n18_qqhz" name="n18" xy="69,475" size="940,231"/>
-    <text id="n15_qqhz" name="n15" xy="151,434" size="753,48" fontSize="28" color="#a67975" autoSize="none" text="除了上述购买体力的途径,我们还提供了更多的优惠礼包选择"/>
-    <image id="n19_qqhz" name="n19" src="qqhz8" fileName="images/lm_dt_tsdb_2.png" xy="749,485"/>
-    <text id="n20_qqhz" name="n20" xy="780,490" size="216,39" rotation="-0.7" fontSize="28" color="#cc6960" align="center" leading="0" autoSize="none" text="今日剩余1/1"/>
-    <component id="n21_qqhz" name="n21" src="qqhzy" fileName="components/BtnBuy.xml" xy="725,566"/>
-    <text id="n22_qqhz" name="n22" xy="743,644" size="248,39" fontSize="28" color="#c69652" align="center" leading="0" autoSize="none" text="可获得120会员积分"/>
-  </displayList>
-</component>

+ 71 - 0
FGUIProject/assets/EnduringGiftBox/EnduringGiftBoxUI.xml

@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="1080,1118">
+  <displayList>
+    <image id="n0_qqhz" name="n0" src="qqhze" fileName="images/diban.png" xy="23,260" group="n7_qqhz"/>
+    <graph id="n30_qqhz" name="holderPaoMax" xy="4,59" size="401,298" group="n7_qqhz"/>
+    <image id="n1_qqhz" name="n1" src="qqhza" fileName="images/kaikou.png" xy="37,61" group="n7_qqhz"/>
+    <image id="n3_qqhz" name="n3" src="qqhz4" fileName="images/tape.png" xy="-1,576" group="n7_qqhz"/>
+    <image id="n6_qqhz" name="n6" src="qqhzb" fileName="images/heart.png" xy="208,56" group="n7_qqhz" rotation="-0.5"/>
+    <graph id="n31_qqhz" name="holderPaoMin" xy="528,260" size="353,221" group="n7_qqhz"/>
+    <image id="n5_qqhz" name="n5" src="qqhz5" fileName="images/small_paper.png" xy="261,404" group="n7_qqhz"/>
+    <image id="n2_qqhz" name="n2" src="qqhz6" fileName="images/paper.png" xy="30,365" group="n7_qqhz"/>
+    <graph id="n29_qqhz" name="holderBaby" xy="23,-28" size="467,503" group="n7_qqhz"/>
+    <graph id="n33_qqhz" name="holderFg" xy="454,283" size="295,196" group="n7_qqhz"/>
+    <group id="n7_qqhz" name="n7" xy="-1,-28" size="1080,1105"/>
+    <image id="n27_qqhz" name="n27" src="qqhzq" fileName="images/zsx_flower1.png" xy="224,300" group="n17_qqhz"/>
+    <text id="n9_qqhz" name="txtPrompt" xy="481,163" size="444,154" group="n17_qqhz" fontSize="32" color="#915e15" align="center" autoSize="none" text="是否花费20粉钻购买60体力?&#xA;体力每5分钟恢复1点&#xA;(今日剩余购买次数:8/8)"/>
+    <component id="n12_qqhz" name="btnCancel" src="qqhzs" fileName="components/BtnCancel.xml" xy="362,326" group="n17_qqhz"/>
+    <component id="n14_qqhz" name="btnSub" src="qqhzu" fileName="components/BtnSub.xml" xy="648,326" group="n17_qqhz"/>
+    <group id="n17_qqhz" name="n17" xy="224,163" size="799,238" group="n26_qqhz"/>
+    <text id="n15_qqhz" name="txtPromptExt" xy="151,433" size="753,48" group="n26_qqhz" fontSize="28" color="#a67975" autoSize="none" text="除了上述购买体力的途径,我们还提供了更多的优惠礼包选择"/>
+    <component id="n24_qqhz" name="curSupply" src="qqhz11" fileName="components/ComCurSupply.xml" xy="69,475" group="n26_qqhz"/>
+    <component id="n25_qqhz" name="weekSupply" src="qqhz11" fileName="components/ComCurSupply.xml" xy="69,709" group="n26_qqhz"/>
+    <group id="n26_qqhz" name="n26" xy="69,163" size="954,777"/>
+    <image id="n28_qqhz" name="btnBack" src="qqhz2" fileName="images/back.png" xy="497,1064"/>
+  </displayList>
+  <transition name="t1">
+    <item time="0" type="Alpha" target="n0_qqhz" tween="true" startValue="0" endValue="1" duration="15"/>
+    <item time="0" type="Alpha" target="n12_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n14_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n15_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n1_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n24_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n25_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n27_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n28_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n29_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n2_qqhz" tween="true" startValue="0" endValue="1" duration="15"/>
+    <item time="0" type="Alpha" target="n33_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n3_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n5_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n6_qqhz" value="0"/>
+    <item time="0" type="Alpha" target="n9_qqhz" value="0"/>
+    <item time="0" type="Rotation" target="n0_qqhz" tween="true" startValue="-2" endValue="0" duration="15"/>
+    <item time="0" type="XY" target="n1_qqhz" tween="true" startValue="6,96" endValue="37,61" duration="12"/>
+    <item time="0" type="XY" target="n2_qqhz" tween="true" startValue="-25,400" endValue="30,365" duration="15"/>
+    <item time="9" type="Alpha" target="n33_qqhz" tween="true" startValue="0.7" endValue="1" duration="5"/>
+    <item time="12" type="Alpha" target="n1_qqhz" tween="true" startValue="0.2" endValue="1" duration="11"/>
+    <item time="12" type="Alpha" target="n29_qqhz" tween="true" startValue="0.4" endValue="1" duration="13"/>
+    <item time="12" type="Alpha" target="n6_qqhz" tween="true" startValue="0.6" endValue="1" duration="9"/>
+    <item time="12" type="XY" target="n29_qqhz" tween="true" startValue="36,-5" endValue="23,-28" duration="12"/>
+    <item time="13" type="Alpha" target="n5_qqhz" tween="true" startValue="0.5" endValue="1" duration="8"/>
+    <item time="14" type="Alpha" target="n33_qqhz" tween="true" startValue="1" endValue="0.2" duration="11"/>
+    <item time="14" type="Alpha" target="n9_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="15" type="Alpha" target="n12_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="15" type="Alpha" target="n14_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="15" type="Alpha" target="n28_qqhz" value="0.75"/>
+    <item time="17" type="Alpha" target="n24_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="18" type="Alpha" target="n15_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="18" type="Alpha" target="n27_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="19" type="Alpha" target="n3_qqhz" tween="true" startValue="0.7" endValue="1" duration="6"/>
+    <item time="20" type="Alpha" target="n25_qqhz" tween="true" startValue="0.7" endValue="1" duration="8"/>
+    <item time="21" type="Alpha" target="n28_qqhz" value="1"/>
+    <item time="25" type="Alpha" target="n30_qqhz" tween="true" startValue="0.5" endValue="1" duration="18"/>
+    <item time="25" type="Alpha" target="n31_qqhz" tween="true" startValue="0" endValue="1" duration="18"/>
+    <item time="25" type="Visible" target="n33_qqhz" value="false"/>
+    <item time="43" type="Alpha" target="n30_qqhz" tween="true" startValue="1" endValue="0" duration="24"/>
+    <item time="43" type="Alpha" target="n31_qqhz" tween="true" startValue="1" endValue="0" duration="24"/>
+    <item time="68" type="Visible" target="n30_qqhz" value="false"/>
+    <item time="68" type="Visible" target="n31_qqhz" value="false"/>
+  </transition>
+</component>

+ 18 - 0
FGUIProject/assets/EnduringGiftBox/components/ComCurSupply.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="940,231">
+  <displayList>
+    <image id="n0_qqhz" name="n0" src="qqhzg" fileName="images/cz_lb_db.png" xy="0,0" size="940,231"/>
+    <image id="n1_qqhz" name="n1" src="qqhz8" fileName="images/lm_dt_tsdb_2.png" xy="680,9"/>
+    <text id="n2_qqhz" name="txtLrc" xy="669,169" size="248,39" fontSize="28" color="#c69652" align="right" leading="0" autoSize="none" text="剩余1天"/>
+    <text id="n3_qqhz" name="txtUrc" xy="711,15" size="216,39" rotation="-0.5" fontSize="28" color="#cc6960" align="center" leading="0" autoSize="none" text="今日剩余1/1"/>
+    <component id="n4_qqhz" name="btnBuy" src="qqhzy" fileName="components/BtnBuy.xml" xy="656,90"/>
+    <component id="n5_qqhz" name="btnCurReceive" src="qqhzv" fileName="components/BtnReceive.xml" xy="656,90"/>
+    <component id="n28_qqhz" name="comLeftGiftBox" src="qqhz1q" fileName="components/ComLeftGiftBox.xml" xy="25,22"/>
+    <text id="n15_qqhz" name="txtTitle" xy="290,15" size="275,47" font="SourceHanSerifCN-SemiBold" fontSize="28" color="#cc9974" align="center" autoSize="none" text="体力超值返利包"/>
+    <text id="n22_qqhz" name="txtWeekPrompt" xy="294,46" size="266,39" font="FZKTJW--GB1-0" fontSize="26" color="#bda5a8" align="center" autoSize="none" text="连续七天每日获得"/>
+    <image id="n23_qqhz" name="txtWeekPromptTag" src="qqhz1p" fileName="images/lm_tb_tishi.png" xy="530,48"/>
+    <list id="n18_qqhz" name="n18" xy="231,83" size="402,132" layout="flow_vt" overflow="scroll" scroll="horizontal" colGap="35" defaultItem="ui://bdi1qe15qqhz1g" align="center">
+      <item/>
+    </list>
+  </displayList>
+</component>

+ 8 - 0
FGUIProject/assets/EnduringGiftBox/components/ComDiscount.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="78,77">
+  <displayList>
+    <image id="n0_qqhz" name="n0" src="qqhz3" fileName="images/tb_zk.png" xy="-3,-2"/>
+    <text id="n1_qqhz" name="txtDiscountNum" xy="8,6" size="57,44" font="SourceHanSerifCN-SemiBold" fontSize="32" color="#fffceb" align="center" autoSize="none" text="1.5"/>
+    <text id="n2_qqhz" name="n2" xy="18,36" size="38,34" font="SourceHanSerifCN-SemiBold" fontSize="24" color="#fffceb" align="center" autoSize="none" text="折"/>
+  </displayList>
+</component>

+ 10 - 0
FGUIProject/assets/EnduringGiftBox/components/ComGouMaiGetText.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="194,57">
+  <displayList>
+    <image id="n0_qqhz" name="n0" src="qqhzi" fileName="images/cz_gmjd_db.png" xy="0,1" group="n4_qqhz"/>
+    <text id="n1_qqhz" name="n1" xy="15,-6" size="170,39" group="n4_qqhz" fontSize="28" color="#ffffff" align="center" autoSize="none" text="购买即得"/>
+    <image id="n2_qqhz" name="n2" src="qqhz10" fileName="images/lm_tb.png" xy="56,27" group="n4_qqhz"/>
+    <text id="n3_qqhz" name="txtGetGold" xy="93,22" size="76,39" group="n4_qqhz" fontSize="28" color="#ffffff" autoSize="none" text="200"/>
+    <group id="n4_qqhz" name="n4" xy="0,-6" size="194,67"/>
+  </displayList>
+</component>

+ 10 - 0
FGUIProject/assets/EnduringGiftBox/components/ComLeftGiftBox.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="204,188">
+  <displayList>
+    <image id="n0_qqhz" name="n0" src="qqhzf" fileName="images/cz_lbicon_db.png" xy="10,0" group="n7_qqhz"/>
+    <image id="n1_qqhz" name="n1" src="qqhz1n" fileName="images/hlhdjficon.png" xy="47,42" size="120,104" group="n7_qqhz"/>
+    <component id="n6_qqhz" name="comDiscount" src="qqhz1o" fileName="components/ComDiscount.xml" xy="0,2" group="n7_qqhz"/>
+    <component id="n8_qqhz" name="n8" src="qqhz1r" fileName="components/ComGouMaiGetText.xml" xy="10,127" group="n7_qqhz"/>
+    <group id="n7_qqhz" name="n7" xy="0,0" size="204,186"/>
+  </displayList>
+</component>

+ 15 - 0
FGUIProject/assets/EnduringGiftBox/components/ComRewardIconItem.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="132,132">
+  <controller name="c1" pages="0,NotGet,1,Get" selected="0"/>
+  <displayList>
+    <image id="n5_qqhz" name="bagYellow" src="qqhz1e" fileName="images/wpk_db_1.png" xy="0,0" size="132,132"/>
+    <image id="n0_nd17" name="bagBlue" src="qqhz1a" fileName="images/wpk_db_2.png" xy="0,0" size="132,132"/>
+    <loader id="n3_vixc" name="loaIcon" xy="66,66" pivot="0.5,0.5" anchor="true" size="80,80" aspect="true" url="ui://xz8kxrecng0i27" fill="scaleFree"/>
+    <image id="n6_qqhz" name="bagYellowEx" src="qqhz1f" fileName="images/wpk_sz_db.png" xy="7,95" size="118,31"/>
+    <image id="n1_nd17" name="bagBlueEx" src="qqhz1b" fileName="images/wpk_sz_db2.png" xy="7,95" size="118,31"/>
+    <text id="n2_nd17" name="num" xy="9,85" size="116,44" font="ui://eg2y0ldpa0cftks" fontSize="32" color="#ffffff" align="center" autoSize="none" text="120"/>
+    <image id="n4_itts" name="showRreceives" src="qqhz1c" fileName="images/txz_tb_ylq.png" xy="71,-1">
+      <gearDisplay controller="c1" pages="1"/>
+    </image>
+  </displayList>
+</component>

BIN
FGUIProject/assets/EnduringGiftBox/images/hlhdjficon.png


BIN
FGUIProject/assets/EnduringGiftBox/images/lm_tb_tishi.png


BIN
FGUIProject/assets/EnduringGiftBox/images/txz_tb_ylq.png


BIN
FGUIProject/assets/EnduringGiftBox/images/wpk_db_1.png


BIN
FGUIProject/assets/EnduringGiftBox/images/wpk_db_2.png


BIN
FGUIProject/assets/EnduringGiftBox/images/wpk_sz_db.png


BIN
FGUIProject/assets/EnduringGiftBox/images/wpk_sz_db2.png


+ 19 - 8
FGUIProject/assets/EnduringGiftBox/package.xml

@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packageDescription id="bdi1qe15">
   <resources>
-    <component id="qqhz0" name="EnduringGiftBoxGold.xml" path="/"/>
-    <component id="qqhz1" name="EnduringGiftBoxPower.xml" path="/"/>
+    <component id="qqhz1" name="EnduringGiftBoxUI.xml" path="/" exported="true"/>
     <image id="qqhz2" name="back.png" path="/images/"/>
     <image id="qqhz3" name="tb_zk.png" path="/images/"/>
     <image id="qqhz4" name="tape.png" path="/images/"/>
@@ -28,12 +27,24 @@
     <image id="qqhzo" name="ch_db_gy.png" path="/images/"/>
     <image id="qqhzp" name="cz_tl_juese.png" path="/images/"/>
     <image id="qqhzq" name="zsx_flower1.png" path="/images/"/>
-    <component id="qqhzs" name="BtnCancel.xml" path="/components/"/>
-    <component id="qqhzu" name="BtnSub.xml" path="/components/"/>
-    <component id="qqhzv" name="BtnReceive.xml" path="/components/"/>
-    <component id="qqhzy" name="BtnBuy.xml" path="/components/"/>
-    <component id="qqhzz" name="BtnBuyWeek.xml" path="/components/"/>
+    <component id="qqhzs" name="BtnCancel.xml" path="/components/" exported="true"/>
+    <component id="qqhzu" name="BtnSub.xml" path="/components/" exported="true"/>
+    <component id="qqhzv" name="BtnReceive.xml" path="/components/" exported="true"/>
+    <component id="qqhzy" name="BtnBuy.xml" path="/components/" exported="true"/>
+    <component id="qqhzz" name="BtnBuyWeek.xml" path="/components/" exported="true"/>
     <image id="qqhz10" name="lm_tb.png" path="/images/"/>
+    <component id="qqhz11" name="ComCurSupply.xml" path="/components/" exported="true"/>
+    <image id="qqhz1a" name="wpk_db_2.png" path="/images/"/>
+    <image id="qqhz1b" name="wpk_sz_db2.png" path="/images/"/>
+    <image id="qqhz1c" name="txz_tb_ylq.png" path="/images/"/>
+    <image id="qqhz1e" name="wpk_db_1.png" path="/images/"/>
+    <image id="qqhz1f" name="wpk_sz_db.png" path="/images/"/>
+    <component id="qqhz1g" name="ComRewardIconItem.xml" path="/components/" exported="true"/>
+    <image id="qqhz1n" name="hlhdjficon.png" path="/images/" exported="true"/>
+    <component id="qqhz1o" name="ComDiscount.xml" path="/components/" exported="true"/>
+    <image id="qqhz1p" name="lm_tb_tishi.png" path="/images/" exported="true"/>
+    <component id="qqhz1q" name="ComLeftGiftBox.xml" path="/components/" exported="true"/>
+    <component id="qqhz1r" name="ComGouMaiGetText.xml" path="/components/" exported="true"/>
   </resources>
-  <publish name=""/>
+  <publish name="" path="../GameClient/Assets/ResIn/UI/EnduringGiftBox" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 58 - 0
GameClient/Assets/Game/HotUpdate/Data/EnduringGiftBoxDataManager.cs

@@ -0,0 +1,58 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using ET;
+
+
+namespace GFGGame
+{
+    public class EnduringGiftBoxDataManager
+    {
+        //礼包配置id,状态:0未购买,1未领取,2已领取
+        public static Dictionary<int, int> GiftBoxStateDic = new Dictionary<int, int>();
+
+        //礼包配置id,剩余购买次数
+        public static Dictionary<int, int> GiftBoxResidueNumDic = new Dictionary<int, int>();
+
+        //当天体力剩余购买次数
+        public static int PowerResidueNum = 0;
+
+        //当天金币剩余购买次数
+        public static int GoldResidueNum = 0;
+
+
+        public static void InitData()
+        {
+            GiftBoxResidueNumDic.Clear();
+            GiftBoxResidueNumDic.Clear();
+            PowerResidueNum = 0;
+            GoldResidueNum = 0;
+        }
+
+        public static void UpdateGiftBoxState(int giftCfgId, int state)
+        {
+            GiftBoxStateDic[giftCfgId] = state;
+        }
+
+        public static void UpdateGiftBoxResidueNum(int giftCfgId, int num)
+        {
+            GiftBoxStateDic[giftCfgId] = num;
+        }
+
+        public static void UpdatePowerResidueNum(int num)
+        {
+            PowerResidueNum = num;
+        }
+
+        public static void UpdateGoldResidueNum(int num)
+        {
+            GoldResidueNum = num;
+        }
+
+        public static void UpdateGiftBoxStateAndResidueNum(int giftCfgId, int state, int num)
+        {
+            GiftBoxStateDic[giftCfgId] = state;
+            GiftBoxStateDic[giftCfgId] = num;
+        }
+    }
+}

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Data/EnduringGiftBoxDataManager.cs.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: 00a12a0641534482967aa174115c7771
+timeCreated: 1685012546

+ 8 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d8e2a53b3c5ac6e4191829c6ec31bf6c
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 74 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuy.cs

@@ -0,0 +1,74 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_BtnBuy
+    {
+        public GButton target;
+        public GTextField m_txtNewPrice;
+        public GTextField m_txtOldPrice;
+        public const string URL = "ui://bdi1qe15qqhzy";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "BtnBuy";
+        private static UI_BtnBuy _proxy;
+
+        public static UI_BtnBuy Create(GObject gObject = null)
+        {
+            var ui = new UI_BtnBuy();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_BtnBuy Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_BtnBuy();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtNewPrice = (GTextField)comp.GetChild("txtNewPrice");
+            m_txtOldPrice = (GTextField)comp.GetChild("txtOldPrice");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtNewPrice = null;
+            m_txtOldPrice = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuy.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 420206d4073deee4e8e39b5f3eb7a13c
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 74 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuyWeek.cs

@@ -0,0 +1,74 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_BtnBuyWeek
+    {
+        public GButton target;
+        public GTextField m_txtNewPrice;
+        public GTextField m_txtOldPrice;
+        public const string URL = "ui://bdi1qe15qqhzz";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "BtnBuyWeek";
+        private static UI_BtnBuyWeek _proxy;
+
+        public static UI_BtnBuyWeek Create(GObject gObject = null)
+        {
+            var ui = new UI_BtnBuyWeek();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_BtnBuyWeek Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_BtnBuyWeek();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtNewPrice = (GTextField)comp.GetChild("txtNewPrice");
+            m_txtOldPrice = (GTextField)comp.GetChild("txtOldPrice");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtNewPrice = null;
+            m_txtOldPrice = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnBuyWeek.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 8584c254b25753546836274796dcdd0c
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 77 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnReceive.cs

@@ -0,0 +1,77 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_BtnReceive
+    {
+        public GButton target;
+        public GImage m_received;
+        public GImage m_receive;
+        public GTextField m_txtRec;
+        public const string URL = "ui://bdi1qe15qqhzv";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "BtnReceive";
+        private static UI_BtnReceive _proxy;
+
+        public static UI_BtnReceive Create(GObject gObject = null)
+        {
+            var ui = new UI_BtnReceive();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_BtnReceive Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_BtnReceive();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_received = (GImage)comp.GetChild("received");
+            m_receive = (GImage)comp.GetChild("receive");
+            m_txtRec = (GTextField)comp.GetChild("txtRec");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_received = null;
+            m_receive = null;
+            m_txtRec = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_BtnReceive.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2684fe10b61ad624ab7f479ccfbded90
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 95 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComCurSupply.cs

@@ -0,0 +1,95 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_ComCurSupply
+    {
+        public GComponent target;
+        public GTextField m_txtLrc;
+        public GTextField m_txtUrc;
+        public UI_BtnBuy m_btnBuy;
+        public UI_BtnReceive m_btnCurReceive;
+        public UI_ComLeftGiftBox m_comLeftGiftBox;
+        public GTextField m_txtTitle;
+        public GTextField m_txtWeekPrompt;
+        public GImage m_txtWeekPromptTag;
+        public const string URL = "ui://bdi1qe15qqhz11";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "ComCurSupply";
+        private static UI_ComCurSupply _proxy;
+
+        public static UI_ComCurSupply Create(GObject gObject = null)
+        {
+            var ui = new UI_ComCurSupply();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComCurSupply Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComCurSupply();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtLrc = (GTextField)comp.GetChild("txtLrc");
+            m_txtUrc = (GTextField)comp.GetChild("txtUrc");
+            m_btnBuy = (UI_BtnBuy)UI_BtnBuy.Create(comp.GetChild("btnBuy"));
+            m_btnCurReceive = (UI_BtnReceive)UI_BtnReceive.Create(comp.GetChild("btnCurReceive"));
+            m_comLeftGiftBox = (UI_ComLeftGiftBox)UI_ComLeftGiftBox.Create(comp.GetChild("comLeftGiftBox"));
+            m_txtTitle = (GTextField)comp.GetChild("txtTitle");
+            m_txtWeekPrompt = (GTextField)comp.GetChild("txtWeekPrompt");
+            m_txtWeekPromptTag = (GImage)comp.GetChild("txtWeekPromptTag");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtLrc = null;
+            m_txtUrc = null;
+            m_btnBuy.Dispose();
+            m_btnBuy = null;
+            m_btnCurReceive.Dispose();
+            m_btnCurReceive = null;
+            m_comLeftGiftBox.Dispose();
+            m_comLeftGiftBox = null;
+            m_txtTitle = null;
+            m_txtWeekPrompt = null;
+            m_txtWeekPromptTag = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComCurSupply.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e850835055d519b48b4422721ad1ea0b
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComDiscount.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_ComDiscount
+    {
+        public GComponent target;
+        public GTextField m_txtDiscountNum;
+        public const string URL = "ui://bdi1qe15qqhz1o";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "ComDiscount";
+        private static UI_ComDiscount _proxy;
+
+        public static UI_ComDiscount Create(GObject gObject = null)
+        {
+            var ui = new UI_ComDiscount();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComDiscount Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComDiscount();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtDiscountNum = (GTextField)comp.GetChild("txtDiscountNum");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtDiscountNum = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComDiscount.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 6d3f7f6dcf5d5654a9714dfcb7c8e88f
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComGouMaiGetText.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_ComGouMaiGetText
+    {
+        public GComponent target;
+        public GTextField m_txtGetGold;
+        public const string URL = "ui://bdi1qe15qqhz1r";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "ComGouMaiGetText";
+        private static UI_ComGouMaiGetText _proxy;
+
+        public static UI_ComGouMaiGetText Create(GObject gObject = null)
+        {
+            var ui = new UI_ComGouMaiGetText();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComGouMaiGetText Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComGouMaiGetText();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtGetGold = (GTextField)comp.GetChild("txtGetGold");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtGetGold = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComGouMaiGetText.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: b8656719029ba1546bc435ca78e27a5c
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 72 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComLeftGiftBox.cs

@@ -0,0 +1,72 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_ComLeftGiftBox
+    {
+        public GComponent target;
+        public UI_ComDiscount m_comDiscount;
+        public const string URL = "ui://bdi1qe15qqhz1q";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "ComLeftGiftBox";
+        private static UI_ComLeftGiftBox _proxy;
+
+        public static UI_ComLeftGiftBox Create(GObject gObject = null)
+        {
+            var ui = new UI_ComLeftGiftBox();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComLeftGiftBox Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComLeftGiftBox();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_comDiscount = (UI_ComDiscount)UI_ComDiscount.Create(comp.GetChild("comDiscount"));
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_comDiscount.Dispose();
+            m_comDiscount = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComLeftGiftBox.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 755ea422436d8d243bcf99b8333717a1
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 92 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComRewardIconItem.cs

@@ -0,0 +1,92 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_ComRewardIconItem
+    {
+        public GComponent target;
+        public Controller m_c1;
+        public GImage m_bagYellow;
+        public GImage m_bagBlue;
+        public GLoader m_loaIcon;
+        public GImage m_bagYellowEx;
+        public GImage m_bagBlueEx;
+        public GTextField m_num;
+        public GImage m_showRreceives;
+        public const string URL = "ui://bdi1qe15qqhz1g";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "ComRewardIconItem";
+        private static UI_ComRewardIconItem _proxy;
+
+        public static UI_ComRewardIconItem Create(GObject gObject = null)
+        {
+            var ui = new UI_ComRewardIconItem();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComRewardIconItem Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComRewardIconItem();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_c1 = comp.GetController("c1");
+            m_bagYellow = (GImage)comp.GetChild("bagYellow");
+            m_bagBlue = (GImage)comp.GetChild("bagBlue");
+            m_loaIcon = (GLoader)comp.GetChild("loaIcon");
+            m_bagYellowEx = (GImage)comp.GetChild("bagYellowEx");
+            m_bagBlueEx = (GImage)comp.GetChild("bagBlueEx");
+            m_num = (GTextField)comp.GetChild("num");
+            m_showRreceives = (GImage)comp.GetChild("showRreceives");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_c1 = null;
+            m_bagYellow = null;
+            m_bagBlue = null;
+            m_loaIcon = null;
+            m_bagYellowEx = null;
+            m_bagBlueEx = null;
+            m_num = null;
+            m_showRreceives = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComRewardIconItem.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 847d81c746104fd478d684f93e691f40
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 106 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_EnduringGiftBoxUI.cs

@@ -0,0 +1,106 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.EnduringGiftBox
+{
+    public partial class UI_EnduringGiftBoxUI
+    {
+        public GComponent target;
+        public GGraph m_holderPaoMax;
+        public GGraph m_holderPaoMin;
+        public GGraph m_holderBaby;
+        public GGraph m_holderFg;
+        public GTextField m_txtPrompt;
+        public GButton m_btnCancel;
+        public GButton m_btnSub;
+        public GTextField m_txtPromptExt;
+        public UI_ComCurSupply m_curSupply;
+        public UI_ComCurSupply m_weekSupply;
+        public GImage m_btnBack;
+        public Transition m_t1;
+        public const string URL = "ui://bdi1qe15qqhz1";
+        public const string PACKAGE_NAME = "EnduringGiftBox";
+        public const string RES_NAME = "EnduringGiftBoxUI";
+        private static UI_EnduringGiftBoxUI _proxy;
+
+        public static UI_EnduringGiftBoxUI Create(GObject gObject = null)
+        {
+            var ui = new UI_EnduringGiftBoxUI();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_EnduringGiftBoxUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_EnduringGiftBoxUI();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_holderPaoMax = (GGraph)comp.GetChild("holderPaoMax");
+            m_holderPaoMin = (GGraph)comp.GetChild("holderPaoMin");
+            m_holderBaby = (GGraph)comp.GetChild("holderBaby");
+            m_holderFg = (GGraph)comp.GetChild("holderFg");
+            m_txtPrompt = (GTextField)comp.GetChild("txtPrompt");
+            m_btnCancel = (GButton)comp.GetChild("btnCancel");
+            m_btnSub = (GButton)comp.GetChild("btnSub");
+            m_txtPromptExt = (GTextField)comp.GetChild("txtPromptExt");
+            m_curSupply = (UI_ComCurSupply)UI_ComCurSupply.Create(comp.GetChild("curSupply"));
+            m_weekSupply = (UI_ComCurSupply)UI_ComCurSupply.Create(comp.GetChild("weekSupply"));
+            m_btnBack = (GImage)comp.GetChild("btnBack");
+            m_t1 = comp.GetTransition("t1");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_holderPaoMax = null;
+            m_holderPaoMin = null;
+            m_holderBaby = null;
+            m_holderFg = null;
+            m_txtPrompt = null;
+            m_btnCancel = null;
+            m_btnSub = null;
+            m_txtPromptExt = null;
+            m_curSupply.Dispose();
+            m_curSupply = null;
+            m_weekSupply.Dispose();
+            m_weekSupply = null;
+            m_btnBack = null;
+            m_t1 = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_EnduringGiftBoxUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 32f7d82a3f3d5c348b0cb39ad4aa8f51
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: dd1b45eff01445fb834fccd7ff55ec9c
+timeCreated: 1685011828

+ 70 - 0
GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox/EnduringGiftBoxView.cs

@@ -0,0 +1,70 @@
+using System;
+using System.Collections.Generic;
+using ET;
+using FairyGUI;
+using UI.CommonGame;
+using UI.EnduringGiftBox;
+using UnityEngine;
+
+namespace GFGGame
+{
+    public class EnduringGiftBoxView : BaseWindow
+    {
+        private UI_EnduringGiftBoxUI _ui;
+
+        public override void Dispose()
+        {
+            base.Dispose();
+            
+            if (_ui != null)
+            {
+                _ui.Dispose();
+                _ui = null;
+            }
+        }
+
+        protected override void OnInit()
+        {
+            base.OnInit();
+
+            packageName = UI_EnduringGiftBoxUI.PACKAGE_NAME;
+            _ui = UI_EnduringGiftBoxUI.Create();
+            this.viewCom = _ui.target;
+            this.viewCom.Center();
+            this.modal = true;
+            
+        }
+
+        protected override void AddEventListener()
+        {
+            base.AddEventListener();
+        }
+
+        protected override void OnShown()
+        {
+            base.OnShown();
+
+            UpdateView();
+        }
+
+        protected override void OnHide()
+        {
+
+            base.OnHide();
+        }
+
+        protected override void RemoveEventListener()
+        {
+            base.RemoveEventListener();
+        }
+
+        private void UpdateView()
+        {
+            
+
+        }
+        
+        
+        
+    }
+}

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox/EnduringGiftBoxView.cs.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: ee4806f313de4288968b65f99bd06a04
+timeCreated: 1685011844

+ 8 - 0
GameClient/Assets/ResIn/UI/EnduringGiftBox.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 984e94c4171d1284494248f442b0f2ed
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0!a.png


+ 96 - 0
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0!a.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: 93533c17ecb98a744b8692828466c8c7
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0.png


+ 96 - 0
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: 15bed3583c03c68489ea16007c2016c7
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_fui.bytes


+ 7 - 0
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_fui.bytes.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 323a33851604cf54cb44f1ac13da0189
+TextScriptImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: