提交
@@ -7,9 +7,7 @@ namespace FGUI.ACommon
|
||||
{
|
||||
public partial class com_broadcast_text1 : GComponent
|
||||
{
|
||||
public GGraph bg_panel;
|
||||
public GRichTextField cast_text;
|
||||
public GRichTextField hide_text;
|
||||
public GButton btn_broad;
|
||||
public const string URL = "ui://pmf3wbjiez6k22";
|
||||
|
||||
@@ -22,10 +20,8 @@ namespace FGUI.ACommon
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
bg_panel = (GGraph)GetChildAt(0);
|
||||
cast_text = (GRichTextField)GetChildAt(1);
|
||||
hide_text = (GRichTextField)GetChildAt(2);
|
||||
btn_broad = (GButton)GetChildAt(3);
|
||||
btn_broad = (GButton)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,10 +7,10 @@ namespace FGUI.ACommon
|
||||
{
|
||||
public partial class com_currency : GComponent
|
||||
{
|
||||
public com_avatar com_avatar;
|
||||
public GButton settings;
|
||||
public btn_101 btn_coin;
|
||||
public btn_102 btn_cash;
|
||||
public com_avatar com_avatar;
|
||||
public GGroup top_group;
|
||||
public const string URL = "ui://pmf3wbjiaxgih3";
|
||||
|
||||
@@ -23,10 +23,10 @@ namespace FGUI.ACommon
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
settings = (GButton)GetChildAt(1);
|
||||
btn_coin = (btn_101)GetChildAt(2);
|
||||
btn_cash = (btn_102)GetChildAt(3);
|
||||
com_avatar = (com_avatar)GetChildAt(4);
|
||||
com_avatar = (com_avatar)GetChildAt(1);
|
||||
settings = (GButton)GetChildAt(2);
|
||||
btn_coin = (btn_101)GetChildAt(3);
|
||||
btn_cash = (btn_102)GetChildAt(4);
|
||||
top_group = (GGroup)GetChildAt(5);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,11 +8,11 @@ namespace FGUI.ACommon
|
||||
public partial class com_di : GComponent
|
||||
{
|
||||
public Controller gift;
|
||||
public btn_main btn_main;
|
||||
public btn_fight btn_main;
|
||||
public btn_h5 btn_shop;
|
||||
public btn_todo btn_tab_redem;
|
||||
public btn_todo btn_fight;
|
||||
public btn_hall btn_hall;
|
||||
public btn_fight btn_fight;
|
||||
public btn_main btn_tab_redem;
|
||||
public const string URL = "ui://pmf3wbjiokk5gf";
|
||||
|
||||
public static com_di CreateInstance()
|
||||
@@ -25,11 +25,11 @@ namespace FGUI.ACommon
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
gift = GetControllerAt(0);
|
||||
btn_main = (btn_main)GetChildAt(1);
|
||||
btn_main = (btn_fight)GetChildAt(1);
|
||||
btn_shop = (btn_h5)GetChildAt(2);
|
||||
btn_tab_redem = (btn_todo)GetChildAt(3);
|
||||
btn_fight = (btn_todo)GetChildAt(3);
|
||||
btn_hall = (btn_hall)GetChildAt(4);
|
||||
btn_fight = (btn_fight)GetChildAt(7);
|
||||
btn_tab_redem = (btn_main)GetChildAt(7);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,23 +8,10 @@ namespace FGUI.Common_01
|
||||
{
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_money.URL, typeof(com_money));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_task_pass.URL, typeof(btn_task_pass));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_watchAd.URL, typeof(btn_watchAd));
|
||||
UIObjectFactory.SetPackageItemExtension(com_broadcast_text1.URL, typeof(com_broadcast_text1));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_noads.URL, typeof(btn_noads));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_get.URL, typeof(btn_get));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_task.URL, typeof(btn_task));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_faq.URL, typeof(btn_faq));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_buy1.URL, typeof(btn_buy1));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_rank.URL, typeof(btn_rank));
|
||||
UIObjectFactory.SetPackageItemExtension(com_adcoming.URL, typeof(com_adcoming));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_max_buy.URL, typeof(btn_max_buy));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_curr.URL, typeof(btn_curr));
|
||||
UIObjectFactory.SetPackageItemExtension(com_gold.URL, typeof(com_gold));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_head.URL, typeof(btn_head));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_claim3.URL, typeof(btn_claim3));
|
||||
UIObjectFactory.SetPackageItemExtension(com_add_points.URL, typeof(com_add_points));
|
||||
UIObjectFactory.SetPackageItemExtension(wheel.URL, typeof(wheel));
|
||||
UIObjectFactory.SetPackageItemExtension(item_wheel.URL, typeof(item_wheel));
|
||||
UIObjectFactory.SetPackageItemExtension(wheel_.URL, typeof(wheel_));
|
||||
@@ -34,12 +21,6 @@ namespace FGUI.Common_01
|
||||
UIObjectFactory.SetPackageItemExtension(com_tips.URL, typeof(com_tips));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_saveingpot.URL, typeof(btn_saveingpot));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_yellow.URL, typeof(btn_yellow));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_claim.URL, typeof(btn_claim));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_boxreward.URL, typeof(btn_boxreward));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_threeday.URL, typeof(btn_threeday));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_card.URL, typeof(btn_card));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_failpack.URL, typeof(btn_failpack));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_luck_gift.URL, typeof(btn_luck_gift));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_boxreward : GButton
|
||||
{
|
||||
public Transition t0;
|
||||
public const string URL = "ui://o9974uc5til24j";
|
||||
|
||||
public static btn_boxreward CreateInstance()
|
||||
{
|
||||
return (btn_boxreward)UIPackage.CreateObject("Common_01", "btn_boxreward");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
t0 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_buy1 : GButton
|
||||
{
|
||||
public GTextField text_gold;
|
||||
public const string URL = "ui://o9974uc5irrg1e";
|
||||
|
||||
public static btn_buy1 CreateInstance()
|
||||
{
|
||||
return (btn_buy1)UIPackage.CreateObject("Common_01", "btn_buy1");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_gold = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_card : GButton
|
||||
{
|
||||
public GImage red;
|
||||
public const string URL = "ui://o9974uc5y1du2p";
|
||||
|
||||
public static btn_card CreateInstance()
|
||||
{
|
||||
return (btn_card)UIPackage.CreateObject("Common_01", "btn_card");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
red = (GImage)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_claim : GButton
|
||||
{
|
||||
public Controller state;
|
||||
public GImage ad_icon;
|
||||
public GImage img_saveingpot;
|
||||
public const string URL = "ui://o9974uc5sebxc";
|
||||
|
||||
public static btn_claim CreateInstance()
|
||||
{
|
||||
return (btn_claim)UIPackage.CreateObject("Common_01", "btn_claim");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
ad_icon = (GImage)GetChildAt(1);
|
||||
img_saveingpot = (GImage)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_claim3 : GButton
|
||||
{
|
||||
public Controller state;
|
||||
public GImage ad_icon;
|
||||
public GImage img_saveingpot;
|
||||
public const string URL = "ui://o9974uc5peww38";
|
||||
|
||||
public static btn_claim3 CreateInstance()
|
||||
{
|
||||
return (btn_claim3)UIPackage.CreateObject("Common_01", "btn_claim3");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
ad_icon = (GImage)GetChildAt(1);
|
||||
img_saveingpot = (GImage)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 30f6a0f4a68254f49a23286d6d85fe28
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_curr : GButton
|
||||
{
|
||||
public GTextField text_value;
|
||||
public const string URL = "ui://o9974uc5opwgc";
|
||||
|
||||
public static btn_curr CreateInstance()
|
||||
{
|
||||
return (btn_curr)UIPackage.CreateObject("Common_01", "btn_curr");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_value = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 15a5f002a23bd8247974ab8aba010886
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_failpack : GButton
|
||||
{
|
||||
public GTextField lab_time;
|
||||
public const string URL = "ui://o9974uc5y1du2q";
|
||||
|
||||
public static btn_failpack CreateInstance()
|
||||
{
|
||||
return (btn_failpack)UIPackage.CreateObject("Common_01", "btn_failpack");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
lab_time = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e9dd4b6c4102c84db60b173c0d52a30
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_faq : GButton
|
||||
{
|
||||
public GTextField lab_time;
|
||||
public const string URL = "ui://o9974uc5iec4aw";
|
||||
|
||||
public static btn_faq CreateInstance()
|
||||
{
|
||||
return (btn_faq)UIPackage.CreateObject("Common_01", "btn_faq");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
lab_time = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c3aeb8216e3c464394f79b00a64bffd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_head : GButton
|
||||
{
|
||||
public GLoader load_avatar;
|
||||
public const string URL = "ui://o9974uc5opwgh";
|
||||
|
||||
public static btn_head CreateInstance()
|
||||
{
|
||||
return (btn_head)UIPackage.CreateObject("Common_01", "btn_head");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
load_avatar = (GLoader)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26c67053e1cadf240b513d736aec41f5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_luck_gift : GButton
|
||||
{
|
||||
public GImage red;
|
||||
public const string URL = "ui://o9974uc5ybesal";
|
||||
|
||||
public static btn_luck_gift CreateInstance()
|
||||
{
|
||||
return (btn_luck_gift)UIPackage.CreateObject("Common_01", "btn_luck_gift");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
red = (GImage)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 399f5945d21f665479f030d5b680eac5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_max_buy : GButton
|
||||
{
|
||||
public GImage img_saveingpot;
|
||||
public const string URL = "ui://o9974uc5nrk720";
|
||||
|
||||
public static btn_max_buy CreateInstance()
|
||||
{
|
||||
return (btn_max_buy)UIPackage.CreateObject("Common_01", "btn_max_buy");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
img_saveingpot = (GImage)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 960e1d8ae6b843240b4458cab8c463e7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,33 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_noads : GButton
|
||||
{
|
||||
public Controller state;
|
||||
public GImage img_ad;
|
||||
public GImage img_pack;
|
||||
public Transition t0;
|
||||
public Transition t1;
|
||||
public const string URL = "ui://o9974uc5cou6ba";
|
||||
|
||||
public static btn_noads CreateInstance()
|
||||
{
|
||||
return (btn_noads)UIPackage.CreateObject("Common_01", "btn_noads");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
img_ad = (GImage)GetChildAt(0);
|
||||
img_pack = (GImage)GetChildAt(1);
|
||||
t0 = GetTransitionAt(0);
|
||||
t1 = GetTransitionAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5fa2a317837192641bc9171ed55f4c40
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,29 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_rank : GButton
|
||||
{
|
||||
public GImage red;
|
||||
public com_add_points add_points;
|
||||
public Transition t0;
|
||||
public const string URL = "ui://o9974uc5iwfgb0";
|
||||
|
||||
public static btn_rank CreateInstance()
|
||||
{
|
||||
return (btn_rank)UIPackage.CreateObject("Common_01", "btn_rank");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
red = (GImage)GetChildAt(1);
|
||||
add_points = (com_add_points)GetChildAt(2);
|
||||
t0 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2537573c11c29ab4999e0df6b14c85c1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_task : GButton
|
||||
{
|
||||
public GImage red;
|
||||
public const string URL = "ui://o9974uc5fhzacg";
|
||||
|
||||
public static btn_task CreateInstance()
|
||||
{
|
||||
return (btn_task)UIPackage.CreateObject("Common_01", "btn_task");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
red = (GImage)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5194e9401d7d3314d9ce13221d33debc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,29 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_task_pass : GButton
|
||||
{
|
||||
public GImage red;
|
||||
public GProgressBar pass_pro;
|
||||
public GTextField number_text;
|
||||
public const string URL = "ui://o9974uc59eojh";
|
||||
|
||||
public static btn_task_pass CreateInstance()
|
||||
{
|
||||
return (btn_task_pass)UIPackage.CreateObject("Common_01", "btn_task_pass");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
red = (GImage)GetChildAt(1);
|
||||
pass_pro = (GProgressBar)GetChildAt(2);
|
||||
number_text = (GTextField)GetChildAt(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f2c493f79b9634441a326b3912acf506
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,27 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class btn_threeday : GButton
|
||||
{
|
||||
public GImage red;
|
||||
public GTextField lab_time;
|
||||
public const string URL = "ui://o9974uc5y1du2o";
|
||||
|
||||
public static btn_threeday CreateInstance()
|
||||
{
|
||||
return (btn_threeday)UIPackage.CreateObject("Common_01", "btn_threeday");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
red = (GImage)GetChildAt(1);
|
||||
lab_time = (GTextField)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 89b36c1d6645cfa4695509b9bc159ace
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,27 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class com_add_points : GComponent
|
||||
{
|
||||
public Controller type;
|
||||
public GTextField lab_addPoints;
|
||||
public const string URL = "ui://o9974uc5pmolb6";
|
||||
|
||||
public static com_add_points CreateInstance()
|
||||
{
|
||||
return (com_add_points)UIPackage.CreateObject("Common_01", "com_add_points");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
type = GetControllerAt(0);
|
||||
lab_addPoints = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b1be32cd96ef9846a360b64c1db248d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,33 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class com_gold : GButton
|
||||
{
|
||||
public Controller state;
|
||||
public GGraph gold_anim;
|
||||
public GTextField text_gold;
|
||||
public GTextField tips_text;
|
||||
public Transition anim_coin;
|
||||
public const string URL = "ui://o9974uc5opwgd";
|
||||
|
||||
public static com_gold CreateInstance()
|
||||
{
|
||||
return (com_gold)UIPackage.CreateObject("Common_01", "com_gold");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
gold_anim = (GGraph)GetChildAt(1);
|
||||
text_gold = (GTextField)GetChildAt(2);
|
||||
tips_text = (GTextField)GetChildAt(6);
|
||||
anim_coin = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e1308f1da82b084081409153f5fe5bd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,33 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Common_01
|
||||
{
|
||||
public partial class com_money : GComponent
|
||||
{
|
||||
public GImage icon;
|
||||
public GButton btn_ch;
|
||||
public GTextField text_gold;
|
||||
public GTextField text_time;
|
||||
public GGroup group_tips;
|
||||
public const string URL = "ui://o9974uc5733f48";
|
||||
|
||||
public static com_money CreateInstance()
|
||||
{
|
||||
return (com_money)UIPackage.CreateObject("Common_01", "com_money");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
icon = (GImage)GetChildAt(1);
|
||||
btn_ch = (GButton)GetChildAt(2);
|
||||
text_gold = (GTextField)GetChildAt(3);
|
||||
text_time = (GTextField)GetChildAt(5);
|
||||
group_tips = (GGroup)GetChildAt(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 39dbbd576de35054fb0b813a3b63bef8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -9,6 +9,8 @@ namespace FGUI.JMain
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(makeup.URL, typeof(makeup));
|
||||
UIObjectFactory.SetPackageItemExtension(com_pal.URL, typeof(com_pal));
|
||||
UIObjectFactory.SetPackageItemExtension(item_pal.URL, typeof(item_pal));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_question.URL, typeof(btn_question));
|
||||
UIObjectFactory.SetPackageItemExtension(com_faq.URL, typeof(com_faq));
|
||||
UIObjectFactory.SetPackageItemExtension(com_list_main.URL, typeof(com_list_main));
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace FGUI.JMain
|
||||
public btn_petty btn_petty;
|
||||
public GButton btn_play;
|
||||
public GButton btn_wb;
|
||||
public GButton btn_pal;
|
||||
public const string URL = "ui://qw9x6rf3lbaa0";
|
||||
|
||||
public static com_main CreateInstance()
|
||||
@@ -48,6 +49,7 @@ namespace FGUI.JMain
|
||||
btn_petty = (btn_petty)GetChildAt(15);
|
||||
btn_play = (GButton)GetChildAt(16);
|
||||
btn_wb = (GButton)GetChildAt(17);
|
||||
btn_pal = (GButton)GetChildAt(18);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.JMain
|
||||
{
|
||||
public partial class com_pal : GComponent
|
||||
{
|
||||
public Controller state;
|
||||
public GList list_pal;
|
||||
public GButton btn_close;
|
||||
public const string URL = "ui://qw9x6rf3dz5jpiq";
|
||||
|
||||
public static com_pal CreateInstance()
|
||||
{
|
||||
return (com_pal)UIPackage.CreateObject("JMain", "com_pal");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
list_pal = (GList)GetChildAt(0);
|
||||
btn_close = (GButton)GetChildAt(5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6fa8949ec620b8c4b8064c98e47a4f40
|
||||
guid: efbfc86d9de50de4aaacf054158f5e50
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -0,0 +1,25 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.JMain
|
||||
{
|
||||
public partial class item_pal : GComponent
|
||||
{
|
||||
public Controller state;
|
||||
public const string URL = "ui://qw9x6rf3dz5jpiw";
|
||||
|
||||
public static item_pal CreateInstance()
|
||||
{
|
||||
return (item_pal)UIPackage.CreateObject("JMain", "item_pal");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b29662a8bc53af1489ac6c6974ef163c
|
||||
guid: a985afe1ff6fa7b40b8a084994d9c11b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -1659,10 +1659,10 @@ namespace BingoBrain
|
||||
}
|
||||
public static bool isRDExchangeMode()
|
||||
{
|
||||
return false;//zhushi
|
||||
return true;//zhushi
|
||||
// return false;//zhushi
|
||||
//return true;//zhushi
|
||||
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
|
||||
}
|
||||
}
|
||||
public static string getDesByKey(string key)
|
||||
{
|
||||
Debug.Log(key);
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace BingoBrain
|
||||
_bingoDataSys?.RemoveChangeGiftSwitch(action);
|
||||
}
|
||||
|
||||
void FocusToGame (object obj = null)
|
||||
void FocusToGame(object obj = null)
|
||||
{
|
||||
// if(MaxPayManager.isPay)
|
||||
// {
|
||||
@@ -61,14 +61,15 @@ namespace BingoBrain
|
||||
newDate = newDate.AddSeconds(GameHelper.GetNowTime(true));
|
||||
// Debug.Log($"barry newdate==== {newDate}");
|
||||
var newDays = newDate.Day;
|
||||
if (last_time != newDays)
|
||||
{
|
||||
if (last_time != newDays)
|
||||
{
|
||||
var configs = GameHelper.GetCommonModel();
|
||||
// Debug.Log($"barry hall-----{configs != null}");
|
||||
if (configs != null) {
|
||||
if (configs != null)
|
||||
{
|
||||
WebviewManager.Instance.RefreshUrl();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void InitSystem()
|
||||
@@ -101,11 +102,11 @@ namespace BingoBrain
|
||||
{
|
||||
// if (!GameHelper.IsGiftSwitch())
|
||||
// {
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PlayBgUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoStartUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BottomUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PlayBgUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoStartUI_Close);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BottomUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
@@ -123,7 +124,11 @@ namespace BingoBrain
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open);
|
||||
if (PlayerPrefs.GetInt("first_uid", 0) != GameHelper.GetLoginModel().uid)
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Open);
|
||||
// UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Open);
|
||||
|
||||
GameHelper.AddGoldNumber(50);
|
||||
PlayerPrefs.SetInt("first_uid", (int)GameHelper.GetLoginModel().uid);
|
||||
PreferencesMgr.Instance.Currency102 = PreferencesMgr.Instance.Currency102 + ConfigSystem.GetConfig<CommonModel>().InitialNum;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -136,6 +136,8 @@ namespace BingoBrain
|
||||
|
||||
public static uint ExchangeUI_Open = ++cursor_OpenClose;
|
||||
public static uint ExchangeUI_Close = ++cursor_OpenClose;
|
||||
public static uint PalUI_Open = ++cursor_OpenClose;
|
||||
public static uint PalUI_Close = ++cursor_OpenClose;
|
||||
}
|
||||
public static partial class UICtrlMsg
|
||||
{
|
||||
|
||||
@@ -66,5 +66,6 @@ namespace BingoBrain
|
||||
public const string RewardMulNewCtrl = "RewardMulNewCtrl";
|
||||
public const string PettyAwardCtrl = "PettyAwardCtrl";
|
||||
public const string ExchangeCtrl = "ExchangeCtrl";
|
||||
public const string PalCtrl = "PalCtrl";
|
||||
}
|
||||
}
|
||||
@@ -54,5 +54,6 @@ namespace BingoBrain
|
||||
public const string RewardMulNewModel = "RewardMulNewModel";
|
||||
public const string PettyAwardModel = "PettyAwardModel";
|
||||
public const string ExchangeModel = "ExchangeModel";
|
||||
public const string PalModel = "PalModel";
|
||||
}
|
||||
}
|
||||
@@ -49,6 +49,7 @@ namespace BingoBrain
|
||||
moduleBoardk.AddModel(ModelConst.PettyAwardModel, new PettyAwardModel());
|
||||
moduleBoardk.AddModel(ModelConst.H5Model, new H5Model());
|
||||
moduleBoardk.AddModel(ModelConst.ExchangeModel, new ExchangeModel());
|
||||
moduleBoardk.AddModel(ModelConst.PalModel, new PalModel());
|
||||
}
|
||||
|
||||
public static void AutoRegisterUIType()
|
||||
@@ -95,6 +96,7 @@ namespace BingoBrain
|
||||
moduleBoardk.AddUIType(UIConst.PettyAwardUI, typeof(PettyAwardUI));
|
||||
moduleBoardk.AddUIType(UIConst.H5UI, typeof(H5UI));
|
||||
moduleBoardk.AddUIType(UIConst.ExchangeUI, typeof(ExchangeUI));
|
||||
moduleBoardk.AddUIType(UIConst.PalUI, typeof(PalUI));
|
||||
}
|
||||
|
||||
public static void AutoRegisterCtrl()
|
||||
@@ -142,6 +144,7 @@ namespace BingoBrain
|
||||
moduleBoardk.AddCtrl(CtrlConst.PettyAwardCtrl, new PettyAwardCtrl());
|
||||
moduleBoardk.AddCtrl(CtrlConst.H5Ctrl, new H5Ctrl());
|
||||
moduleBoardk.AddCtrl(CtrlConst.ExchangeCtrl, new ExchangeCtrl());
|
||||
moduleBoardk.AddCtrl(CtrlConst.PalCtrl, new PalCtrl());
|
||||
}
|
||||
|
||||
public static void AutoRegisterUICtrl()
|
||||
@@ -189,6 +192,7 @@ namespace BingoBrain
|
||||
moduleBoardk.AddUICtrl(UICtrlConst.PettyAwardUICtrl, new PettyAwardUICtrl());
|
||||
moduleBoardk.AddUICtrl(UICtrlConst.H5UICtrl, new H5UICtrl());
|
||||
moduleBoardk.AddUICtrl(UICtrlConst.ExchangeUICtrl, new ExchangeUICtrl());
|
||||
moduleBoardk.AddUICtrl(UICtrlConst.PalUICtrl, new PalUICtrl());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,5 +104,6 @@ namespace BingoBrain
|
||||
public const string RewardMulNewUI = "RewardMulNewUI";
|
||||
public const string PettyAwardUI = "PettyAwardUI";
|
||||
public const string ExchangeUI = "ExchangeUI";
|
||||
public const string PalUI = "PalUI";
|
||||
}
|
||||
}
|
||||
@@ -67,5 +67,6 @@ namespace BingoBrain
|
||||
public const string MakeupConfirmUICtrl = "MakeupConfirmUICtrl";
|
||||
public const string PettyAwardUICtrl = "PettyAwardUICtrl";
|
||||
public const string ExchangeUICtrl = "ExchangeUICtrl";
|
||||
public const string PalUICtrl = "PalUICtrl";
|
||||
}
|
||||
}
|
||||
@@ -205,6 +205,10 @@ namespace BingoBrain
|
||||
}
|
||||
if (GameHelper.GetCommonModel().PiggyBankSwitch != 1) ui.btn_saveingpot.visible = false;
|
||||
Debug.Log(JsonConvert.SerializeObject(GameHelper.GetConfig<AdRewardModel>().dataList));
|
||||
ui.btn_pal.SetClick(() =>
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PalUI_Open);
|
||||
});
|
||||
}
|
||||
|
||||
private void UpdateNextCardBoardTime()
|
||||
|
||||
@@ -10,6 +10,7 @@ using BingoBrain.Core;
|
||||
using FGUI.ACommon;
|
||||
using FairyGUI;
|
||||
using BingoBrain.HotFix;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
@@ -52,6 +53,7 @@ namespace BingoBrain
|
||||
|
||||
protected override void OnOpenBefore(object args)
|
||||
{
|
||||
broad_text = Regex.Replace(GameHelper.getDesByKey("makeup_4"), @"<img\s+[^>]*?/>", "<img src='ui://pmf3wbjidz5jpj6'/>");
|
||||
InitView();
|
||||
//ui.y = 241;
|
||||
|
||||
@@ -121,14 +123,14 @@ namespace BingoBrain
|
||||
|
||||
// var sk = FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, closeCallback);
|
||||
// sk.state.SetAnimation(0, "animation", true);
|
||||
FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, sk =>
|
||||
{
|
||||
// ske_pot = sk;
|
||||
// FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, sk =>
|
||||
// {
|
||||
// // ske_pot = sk;
|
||||
|
||||
// NAAVsa.AddCompleteEvent(cardSpine, OnChangeCardFinish);
|
||||
// OnChangeCardFinish(null);
|
||||
NAAVsa.PlayAnim(sk, "animation", true);
|
||||
}, closeCallback);
|
||||
// // NAAVsa.AddCompleteEvent(cardSpine, OnChangeCardFinish);
|
||||
// // OnChangeCardFinish(null);
|
||||
// NAAVsa.PlayAnim(sk, "animation", true);
|
||||
// }, closeCallback);
|
||||
|
||||
// ui.group_.y = 220;
|
||||
|
||||
@@ -166,6 +168,7 @@ namespace BingoBrain
|
||||
{
|
||||
ui.group_.y = GRoot.inst.height - 300;
|
||||
}
|
||||
string broad_text = "";
|
||||
void timeEvent()
|
||||
{
|
||||
time_count++;
|
||||
@@ -188,8 +191,9 @@ namespace BingoBrain
|
||||
// }
|
||||
|
||||
// time_count = 0;
|
||||
//[color=#63f021][size=32]{0}[/size][/color] claimed <img src='ui://pmf3wbji112epi7'/>[color=#009900][size=36]{1} [/size][/color][color=#efc26b][size=22]{2}[/size][/color]
|
||||
|
||||
|
||||
// Debug.Log(GameHelper.getDesByKey("makeup_4"));
|
||||
//Debug.Log($"barry broad time count======== {time_count}");
|
||||
if (time_count > 20)
|
||||
{
|
||||
@@ -203,9 +207,12 @@ namespace BingoBrain
|
||||
{
|
||||
name = name[..4] + "...";
|
||||
}
|
||||
// text_ui.hide_text.text = GameHelper.getDesByKey("makeup_4");
|
||||
string broad_text = String.Format(GameHelper.getDesByKey("makeup_4"), name, GameHelper.Get102Str_new(decimal.Parse( config_money_list[money_index])), DateTimeBoardk.Instance.GetCurrDateTime());
|
||||
text_ui.cast_text.text = broad_text;
|
||||
// text_ui.hide_text.text = GameHelper.getDesByKey("makeup_4");
|
||||
|
||||
|
||||
|
||||
string temp_text = String.Format(broad_text, name, GameHelper.Get102Str_new(decimal.Parse(config_money_list[money_index])), DateTimeBoardk.Instance.GetCurrDateTime());
|
||||
text_ui.cast_text.text = temp_text;
|
||||
ui.t0.Play();
|
||||
|
||||
DOVirtual.DelayedCall(3.5f, () =>
|
||||
|
||||
@@ -167,7 +167,7 @@ namespace BingoBrain
|
||||
// WebviewManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
|
||||
GameHelper.PostFunnelLogin("enterButtonClick");
|
||||
ctrlDispatcher.Dispatch(CtrlMsg.Game_Start);
|
||||
|
||||
if (GameHelper.IsGiftSwitch()) UICtrlDispatcher.Instance.Dispatch(SkinInfo.PalUI_Open);
|
||||
CtrlCloseUI();
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c30937b710555294d8045052a0d9712c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,25 @@
|
||||
using BingoBrain.Core;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class PalCtrl : BaseCtrl
|
||||
{
|
||||
public static PalCtrl Instance { get; private set; }
|
||||
|
||||
private PalModel model;
|
||||
|
||||
#region 生命周期
|
||||
protected override void OnInit()
|
||||
{
|
||||
Instance = this;
|
||||
//model = ModuleManager.Instance..GetModel(ModelConst.PalModel) as PalModel;
|
||||
}
|
||||
|
||||
protected override void OnDispose()
|
||||
{
|
||||
Instance = null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7f21fd5491b87db49a1b591cf8a5aa24
|
||||
guid: aa2b2f6680825b04f941dfa669ad3ed7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -0,0 +1,23 @@
|
||||
using BingoBrain.Core;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class PalModel : BaseModel
|
||||
{
|
||||
#region 生命周期
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnDispose()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnReset()
|
||||
{
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bcc4ea4c13d5e0e4e8f722c28e967e85
|
||||
guid: 2db57b7b73c78574b85db16295855638
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -0,0 +1,98 @@
|
||||
using BingoBrain.Core;
|
||||
using BingoBrain.HotFix;
|
||||
using FairyGUI;
|
||||
using FGUI.ACommon;
|
||||
using FGUI.JMain;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class PalUI : BaseUI
|
||||
{
|
||||
private PalUICtrl ctrl;
|
||||
private PalModel model;
|
||||
private FGUI.JMain.com_pal ui;
|
||||
|
||||
public PalUI(PalUICtrl ctrl) : base(ctrl)
|
||||
{
|
||||
uiName = UIConst.PalUI;
|
||||
this.ctrl = ctrl;
|
||||
}
|
||||
|
||||
protected override void SetUIInfo(UIInfo uiInfo)
|
||||
{
|
||||
uiInfo.packageName = "JMain";
|
||||
uiInfo.assetName = "com_pal";
|
||||
uiInfo.layerType = UILayerType.Popup;
|
||||
uiInfo.isNeedOpenAnim = false;
|
||||
uiInfo.isNeedCloseAnim = false;
|
||||
uiInfo.isNeedUIMask = true;
|
||||
}
|
||||
|
||||
#region 生命周期
|
||||
protected override void OnInit()
|
||||
{
|
||||
//model = ModuleManager.Instance.GetModel(ModelConst.PalModel) as PalModel;
|
||||
}
|
||||
|
||||
protected override void OnClose()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnBind()
|
||||
{
|
||||
ui = baseUI as FGUI.JMain.com_pal;
|
||||
}
|
||||
|
||||
protected override void OnOpenBefore(object args)
|
||||
{
|
||||
ui.list_pal.itemRenderer = RendererList;
|
||||
ui.list_pal.numItems = 2;
|
||||
|
||||
|
||||
ui.list_pal.scrollPane.onScrollEnd.Add(() =>
|
||||
{
|
||||
int index = ui.list_pal.GetFirstChildInView();
|
||||
|
||||
ui.state.selectedIndex = index;
|
||||
});
|
||||
ui.btn_close.SetClick(CtrlCloseUI);
|
||||
InitView();
|
||||
}
|
||||
|
||||
protected override void OnOpen(object args)
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnHide()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnDisplay(object args)
|
||||
{
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 消息
|
||||
protected override void AddListener()
|
||||
{
|
||||
|
||||
}
|
||||
protected override void RemoveListener()
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
void RendererList(int index, GObject obj)
|
||||
{
|
||||
item_pal item = obj as item_pal;
|
||||
item.state.selectedIndex = index;
|
||||
|
||||
}
|
||||
//初始化页面逻辑
|
||||
private void InitView()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94c75695fa5b4964c8e7be3f52fbb99d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,74 @@
|
||||
using BingoBrain.Core;
|
||||
using BingoBrain.HotFix;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class PalUICtrl : BaseUICtrl
|
||||
{
|
||||
private PalUI ui;
|
||||
private PalModel model;
|
||||
|
||||
private uint openUIMsg = SkinInfo.PalUI_Open;
|
||||
private uint closeUIMsg = SkinInfo.PalUI_Close;
|
||||
|
||||
#region 生命周期
|
||||
protected override void OnInit()
|
||||
{
|
||||
//model = ModuleManager.Instance.GetModel(ModelConst.PalModel) as PalModel;
|
||||
}
|
||||
|
||||
protected override void OnDispose()
|
||||
{
|
||||
}
|
||||
|
||||
public override void OpenUI(object args = null)
|
||||
{
|
||||
if (ui == null)
|
||||
{
|
||||
ui = new PalUI(this);
|
||||
ui.Open(args);
|
||||
}
|
||||
}
|
||||
|
||||
public override void CloseUI(object args = null)
|
||||
{
|
||||
if (ui != null && !ui.isClose)
|
||||
{
|
||||
ui.Close();
|
||||
}
|
||||
ui = null;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 消息
|
||||
public override uint GetOpenUIMsg(string uiName)
|
||||
{
|
||||
return openUIMsg;
|
||||
}
|
||||
public override uint GetCloseUIMsg(string uiName)
|
||||
{
|
||||
return closeUIMsg;
|
||||
}
|
||||
|
||||
protected override void AddListener()
|
||||
{
|
||||
uiCtrlDispatcher.AddListener(openUIMsg, OpenUI);
|
||||
uiCtrlDispatcher.AddListener(closeUIMsg, CloseUI);
|
||||
}
|
||||
protected override void RemoveListener()
|
||||
{
|
||||
uiCtrlDispatcher.RemoveListener(openUIMsg, OpenUI);
|
||||
uiCtrlDispatcher.RemoveListener(closeUIMsg, CloseUI);
|
||||
}
|
||||
|
||||
protected override void AddServerListener()
|
||||
{
|
||||
|
||||
}
|
||||
protected override void RemoveServerListener()
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f59034f142a0ceb4891d4a541c350d35
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -7,6 +7,7 @@ using DG.Tweening;
|
||||
using FairyGUI;
|
||||
using FGUI.ACommon;
|
||||
using FGUI.bkg_jilu;
|
||||
using NSubstitute.ReturnsExtensions;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
@@ -129,7 +130,19 @@ namespace BingoBrain
|
||||
string[] values = ctrl.model.recordList[index].Split('-');
|
||||
|
||||
item.name.text = values[0];
|
||||
|
||||
item.num.text = GameHelper.getChString(decimal.Parse(values[1]));
|
||||
|
||||
if (GameHelper.isRDExchangeMode())
|
||||
{
|
||||
string str = "<img src='ui://pmf3wbjidz5jpj6'/>";
|
||||
item.num.text = str + $" {decimal.Parse(values[1]):N}";
|
||||
}
|
||||
else
|
||||
{
|
||||
item.num.text = $"${decimal.Parse(values[1]):N}";
|
||||
|
||||
}
|
||||
string[] parts = values[2].Split(" ");
|
||||
item.time.text = parts[0];
|
||||
item.lab_claim.text = GameHelper.getDesByKey("ww");
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace BingoBrain
|
||||
SetName();
|
||||
ui.settings.SetClick(OnClickSetting);
|
||||
ui.com_avatar.loader_flag.visible = false;
|
||||
if(GameHelper.IsGiftSwitch()) ui.btn_cash.gift.selectedIndex=1;
|
||||
if (GameHelper.IsGiftSwitch()) ui.btn_cash.gift.selectedIndex = 1;
|
||||
if (GameHelper.IsGiftSwitch())
|
||||
{
|
||||
// ui.visible = false;
|
||||
@@ -78,8 +78,16 @@ namespace BingoBrain
|
||||
}
|
||||
if (Screen.safeArea.y != 0)
|
||||
{
|
||||
ui.top_group.y=-90;
|
||||
ui.top_group.y = -90;
|
||||
}
|
||||
ui.btn_coin.SetClick(() =>
|
||||
{
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.MainTab, 1);
|
||||
});
|
||||
ui.btn_cash.SetClick(() =>
|
||||
{
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.MainTab, 1);
|
||||
});
|
||||
}
|
||||
|
||||
private void OnClickSetting()
|
||||
|
||||
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 347 KiB |
|
Before Width: | Height: | Size: 651 KiB After Width: | Height: | Size: 579 KiB |
|
After Width: | Height: | Size: 372 KiB |
@@ -0,0 +1,140 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca6dec729141afb40b58319998c1d8ad
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 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
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||