This commit is contained in:
2026-06-04 13:57:53 +08:00
parent 1e442c6bb3
commit 3fe5251b55
76 changed files with 612 additions and 824 deletions
@@ -7,9 +7,7 @@ namespace FGUI.ACommon
{ {
public partial class com_broadcast_text1 : GComponent public partial class com_broadcast_text1 : GComponent
{ {
public GGraph bg_panel;
public GRichTextField cast_text; public GRichTextField cast_text;
public GRichTextField hide_text;
public GButton btn_broad; public GButton btn_broad;
public const string URL = "ui://pmf3wbjiez6k22"; public const string URL = "ui://pmf3wbjiez6k22";
@@ -22,10 +20,8 @@ namespace FGUI.ACommon
{ {
base.ConstructFromXML(xml); base.ConstructFromXML(xml);
bg_panel = (GGraph)GetChildAt(0);
cast_text = (GRichTextField)GetChildAt(1); cast_text = (GRichTextField)GetChildAt(1);
hide_text = (GRichTextField)GetChildAt(2); btn_broad = (GButton)GetChildAt(2);
btn_broad = (GButton)GetChildAt(3);
} }
} }
} }
@@ -7,10 +7,10 @@ namespace FGUI.ACommon
{ {
public partial class com_currency : GComponent public partial class com_currency : GComponent
{ {
public com_avatar com_avatar;
public GButton settings; public GButton settings;
public btn_101 btn_coin; public btn_101 btn_coin;
public btn_102 btn_cash; public btn_102 btn_cash;
public com_avatar com_avatar;
public GGroup top_group; public GGroup top_group;
public const string URL = "ui://pmf3wbjiaxgih3"; public const string URL = "ui://pmf3wbjiaxgih3";
@@ -23,10 +23,10 @@ namespace FGUI.ACommon
{ {
base.ConstructFromXML(xml); base.ConstructFromXML(xml);
settings = (GButton)GetChildAt(1); com_avatar = (com_avatar)GetChildAt(1);
btn_coin = (btn_101)GetChildAt(2); settings = (GButton)GetChildAt(2);
btn_cash = (btn_102)GetChildAt(3); btn_coin = (btn_101)GetChildAt(3);
com_avatar = (com_avatar)GetChildAt(4); btn_cash = (btn_102)GetChildAt(4);
top_group = (GGroup)GetChildAt(5); top_group = (GGroup)GetChildAt(5);
} }
} }
@@ -8,11 +8,11 @@ namespace FGUI.ACommon
public partial class com_di : GComponent public partial class com_di : GComponent
{ {
public Controller gift; public Controller gift;
public btn_main btn_main; public btn_fight btn_main;
public btn_h5 btn_shop; public btn_h5 btn_shop;
public btn_todo btn_tab_redem; public btn_todo btn_fight;
public btn_hall btn_hall; public btn_hall btn_hall;
public btn_fight btn_fight; public btn_main btn_tab_redem;
public const string URL = "ui://pmf3wbjiokk5gf"; public const string URL = "ui://pmf3wbjiokk5gf";
public static com_di CreateInstance() public static com_di CreateInstance()
@@ -25,11 +25,11 @@ namespace FGUI.ACommon
base.ConstructFromXML(xml); base.ConstructFromXML(xml);
gift = GetControllerAt(0); gift = GetControllerAt(0);
btn_main = (btn_main)GetChildAt(1); btn_main = (btn_fight)GetChildAt(1);
btn_shop = (btn_h5)GetChildAt(2); 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_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() 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(btn_watchAd.URL, typeof(btn_watchAd));
UIObjectFactory.SetPackageItemExtension(com_broadcast_text1.URL, typeof(com_broadcast_text1)); 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_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(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(wheel.URL, typeof(wheel));
UIObjectFactory.SetPackageItemExtension(item_wheel.URL, typeof(item_wheel)); UIObjectFactory.SetPackageItemExtension(item_wheel.URL, typeof(item_wheel));
UIObjectFactory.SetPackageItemExtension(wheel_.URL, typeof(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(com_tips.URL, typeof(com_tips));
UIObjectFactory.SetPackageItemExtension(btn_saveingpot.URL, typeof(btn_saveingpot)); UIObjectFactory.SetPackageItemExtension(btn_saveingpot.URL, typeof(btn_saveingpot));
UIObjectFactory.SetPackageItemExtension(btn_yellow.URL, typeof(btn_yellow)); 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() public static void BindAll()
{ {
UIObjectFactory.SetPackageItemExtension(makeup.URL, typeof(makeup)); 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(btn_question.URL, typeof(btn_question));
UIObjectFactory.SetPackageItemExtension(com_faq.URL, typeof(com_faq)); UIObjectFactory.SetPackageItemExtension(com_faq.URL, typeof(com_faq));
UIObjectFactory.SetPackageItemExtension(com_list_main.URL, typeof(com_list_main)); UIObjectFactory.SetPackageItemExtension(com_list_main.URL, typeof(com_list_main));
@@ -22,6 +22,7 @@ namespace FGUI.JMain
public btn_petty btn_petty; public btn_petty btn_petty;
public GButton btn_play; public GButton btn_play;
public GButton btn_wb; public GButton btn_wb;
public GButton btn_pal;
public const string URL = "ui://qw9x6rf3lbaa0"; public const string URL = "ui://qw9x6rf3lbaa0";
public static com_main CreateInstance() public static com_main CreateInstance()
@@ -48,6 +49,7 @@ namespace FGUI.JMain
btn_petty = (btn_petty)GetChildAt(15); btn_petty = (btn_petty)GetChildAt(15);
btn_play = (GButton)GetChildAt(16); btn_play = (GButton)GetChildAt(16);
btn_wb = (GButton)GetChildAt(17); 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 fileFormatVersion: 2
guid: 6fa8949ec620b8c4b8064c98e47a4f40 guid: efbfc86d9de50de4aaacf054158f5e50
MonoImporter: MonoImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 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 fileFormatVersion: 2
guid: b29662a8bc53af1489ac6c6974ef163c guid: a985afe1ff6fa7b40b8a084994d9c11b
MonoImporter: MonoImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 serializedVersion: 2
+2 -2
View File
@@ -1659,8 +1659,8 @@ namespace BingoBrain
} }
public static bool isRDExchangeMode() public static bool isRDExchangeMode()
{ {
return false;//zhushi // return false;//zhushi
return true;//zhushi //return true;//zhushi
return SaveData.GetSaveobject().ExchangeModeToggle == 1; return SaveData.GetSaveobject().ExchangeModeToggle == 1;
} }
public static string getDesByKey(string key) public static string getDesByKey(string key)
+16 -11
View File
@@ -47,7 +47,7 @@ namespace BingoBrain
_bingoDataSys?.RemoveChangeGiftSwitch(action); _bingoDataSys?.RemoveChangeGiftSwitch(action);
} }
void FocusToGame (object obj = null) void FocusToGame(object obj = null)
{ {
// if(MaxPayManager.isPay) // if(MaxPayManager.isPay)
// { // {
@@ -61,14 +61,15 @@ namespace BingoBrain
newDate = newDate.AddSeconds(GameHelper.GetNowTime(true)); newDate = newDate.AddSeconds(GameHelper.GetNowTime(true));
// Debug.Log($"barry newdate==== {newDate}"); // Debug.Log($"barry newdate==== {newDate}");
var newDays = newDate.Day; var newDays = newDate.Day;
if (last_time != newDays) if (last_time != newDays)
{ {
var configs = GameHelper.GetCommonModel(); var configs = GameHelper.GetCommonModel();
// Debug.Log($"barry hall-----{configs != null}"); // Debug.Log($"barry hall-----{configs != null}");
if (configs != null) { if (configs != null)
{
WebviewManager.Instance.RefreshUrl(); WebviewManager.Instance.RefreshUrl();
} }
} }
} }
private void InitSystem() private void InitSystem()
@@ -101,11 +102,11 @@ namespace BingoBrain
{ {
// if (!GameHelper.IsGiftSwitch()) // if (!GameHelper.IsGiftSwitch())
// { // {
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PlayBgUI_Close); UICtrlDispatcher.Instance.Dispatch(SkinInfo.PlayBgUI_Close);
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoStartUI_Close); UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoStartUI_Close);
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BottomUI_Open); UICtrlDispatcher.Instance.Dispatch(SkinInfo.BottomUI_Open);
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open); UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHallUI_Open);
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open); UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoHalldUI_Open);
// } // }
// else // else
// { // {
@@ -123,7 +124,11 @@ namespace BingoBrain
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open); UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open);
if (PlayerPrefs.GetInt("first_uid", 0) != GameHelper.GetLoginModel().uid) 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_Open = ++cursor_OpenClose;
public static uint ExchangeUI_Close = ++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 public static partial class UICtrlMsg
{ {
@@ -66,5 +66,6 @@ namespace BingoBrain
public const string RewardMulNewCtrl = "RewardMulNewCtrl"; public const string RewardMulNewCtrl = "RewardMulNewCtrl";
public const string PettyAwardCtrl = "PettyAwardCtrl"; public const string PettyAwardCtrl = "PettyAwardCtrl";
public const string ExchangeCtrl = "ExchangeCtrl"; public const string ExchangeCtrl = "ExchangeCtrl";
public const string PalCtrl = "PalCtrl";
} }
} }
@@ -54,5 +54,6 @@ namespace BingoBrain
public const string RewardMulNewModel = "RewardMulNewModel"; public const string RewardMulNewModel = "RewardMulNewModel";
public const string PettyAwardModel = "PettyAwardModel"; public const string PettyAwardModel = "PettyAwardModel";
public const string ExchangeModel = "ExchangeModel"; 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.PettyAwardModel, new PettyAwardModel());
moduleBoardk.AddModel(ModelConst.H5Model, new H5Model()); moduleBoardk.AddModel(ModelConst.H5Model, new H5Model());
moduleBoardk.AddModel(ModelConst.ExchangeModel, new ExchangeModel()); moduleBoardk.AddModel(ModelConst.ExchangeModel, new ExchangeModel());
moduleBoardk.AddModel(ModelConst.PalModel, new PalModel());
} }
public static void AutoRegisterUIType() public static void AutoRegisterUIType()
@@ -95,6 +96,7 @@ namespace BingoBrain
moduleBoardk.AddUIType(UIConst.PettyAwardUI, typeof(PettyAwardUI)); moduleBoardk.AddUIType(UIConst.PettyAwardUI, typeof(PettyAwardUI));
moduleBoardk.AddUIType(UIConst.H5UI, typeof(H5UI)); moduleBoardk.AddUIType(UIConst.H5UI, typeof(H5UI));
moduleBoardk.AddUIType(UIConst.ExchangeUI, typeof(ExchangeUI)); moduleBoardk.AddUIType(UIConst.ExchangeUI, typeof(ExchangeUI));
moduleBoardk.AddUIType(UIConst.PalUI, typeof(PalUI));
} }
public static void AutoRegisterCtrl() public static void AutoRegisterCtrl()
@@ -142,6 +144,7 @@ namespace BingoBrain
moduleBoardk.AddCtrl(CtrlConst.PettyAwardCtrl, new PettyAwardCtrl()); moduleBoardk.AddCtrl(CtrlConst.PettyAwardCtrl, new PettyAwardCtrl());
moduleBoardk.AddCtrl(CtrlConst.H5Ctrl, new H5Ctrl()); moduleBoardk.AddCtrl(CtrlConst.H5Ctrl, new H5Ctrl());
moduleBoardk.AddCtrl(CtrlConst.ExchangeCtrl, new ExchangeCtrl()); moduleBoardk.AddCtrl(CtrlConst.ExchangeCtrl, new ExchangeCtrl());
moduleBoardk.AddCtrl(CtrlConst.PalCtrl, new PalCtrl());
} }
public static void AutoRegisterUICtrl() public static void AutoRegisterUICtrl()
@@ -189,6 +192,7 @@ namespace BingoBrain
moduleBoardk.AddUICtrl(UICtrlConst.PettyAwardUICtrl, new PettyAwardUICtrl()); moduleBoardk.AddUICtrl(UICtrlConst.PettyAwardUICtrl, new PettyAwardUICtrl());
moduleBoardk.AddUICtrl(UICtrlConst.H5UICtrl, new H5UICtrl()); moduleBoardk.AddUICtrl(UICtrlConst.H5UICtrl, new H5UICtrl());
moduleBoardk.AddUICtrl(UICtrlConst.ExchangeUICtrl, new ExchangeUICtrl()); moduleBoardk.AddUICtrl(UICtrlConst.ExchangeUICtrl, new ExchangeUICtrl());
moduleBoardk.AddUICtrl(UICtrlConst.PalUICtrl, new PalUICtrl());
} }
} }
} }
+1
View File
@@ -104,5 +104,6 @@ namespace BingoBrain
public const string RewardMulNewUI = "RewardMulNewUI"; public const string RewardMulNewUI = "RewardMulNewUI";
public const string PettyAwardUI = "PettyAwardUI"; public const string PettyAwardUI = "PettyAwardUI";
public const string ExchangeUI = "ExchangeUI"; public const string ExchangeUI = "ExchangeUI";
public const string PalUI = "PalUI";
} }
} }
@@ -67,5 +67,6 @@ namespace BingoBrain
public const string MakeupConfirmUICtrl = "MakeupConfirmUICtrl"; public const string MakeupConfirmUICtrl = "MakeupConfirmUICtrl";
public const string PettyAwardUICtrl = "PettyAwardUICtrl"; public const string PettyAwardUICtrl = "PettyAwardUICtrl";
public const string ExchangeUICtrl = "ExchangeUICtrl"; 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; if (GameHelper.GetCommonModel().PiggyBankSwitch != 1) ui.btn_saveingpot.visible = false;
Debug.Log(JsonConvert.SerializeObject(GameHelper.GetConfig<AdRewardModel>().dataList)); Debug.Log(JsonConvert.SerializeObject(GameHelper.GetConfig<AdRewardModel>().dataList));
ui.btn_pal.SetClick(() =>
{
UICtrlDispatcher.Instance.Dispatch(SkinInfo.PalUI_Open);
});
} }
private void UpdateNextCardBoardTime() private void UpdateNextCardBoardTime()
@@ -10,6 +10,7 @@ using BingoBrain.Core;
using FGUI.ACommon; using FGUI.ACommon;
using FairyGUI; using FairyGUI;
using BingoBrain.HotFix; using BingoBrain.HotFix;
using System.Text.RegularExpressions;
namespace BingoBrain namespace BingoBrain
{ {
@@ -52,6 +53,7 @@ namespace BingoBrain
protected override void OnOpenBefore(object args) protected override void OnOpenBefore(object args)
{ {
broad_text = Regex.Replace(GameHelper.getDesByKey("makeup_4"), @"<img\s+[^>]*?/>", "<img src='ui://pmf3wbjidz5jpj6'/>");
InitView(); InitView();
//ui.y = 241; //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); // var sk = FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, closeCallback);
// sk.state.SetAnimation(0, "animation", true); // sk.state.SetAnimation(0, "animation", true);
FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, sk => // FX.Instance.SetFx<SkeletonAnimation>(ui.broad_cast_text.bg_panel, Fx_Type.fx_broad, sk =>
{ // {
// ske_pot = sk; // // ske_pot = sk;
// NAAVsa.AddCompleteEvent(cardSpine, OnChangeCardFinish); // // NAAVsa.AddCompleteEvent(cardSpine, OnChangeCardFinish);
// OnChangeCardFinish(null); // // OnChangeCardFinish(null);
NAAVsa.PlayAnim(sk, "animation", true); // NAAVsa.PlayAnim(sk, "animation", true);
}, closeCallback); // }, closeCallback);
// ui.group_.y = 220; // ui.group_.y = 220;
@@ -166,6 +168,7 @@ namespace BingoBrain
{ {
ui.group_.y = GRoot.inst.height - 300; ui.group_.y = GRoot.inst.height - 300;
} }
string broad_text = "";
void timeEvent() void timeEvent()
{ {
time_count++; time_count++;
@@ -188,8 +191,9 @@ namespace BingoBrain
// } // }
// time_count = 0; // 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}"); //Debug.Log($"barry broad time count======== {time_count}");
if (time_count > 20) if (time_count > 20)
{ {
@@ -203,9 +207,12 @@ namespace BingoBrain
{ {
name = name[..4] + "..."; name = name[..4] + "...";
} }
// text_ui.hide_text.text = GameHelper.getDesByKey("makeup_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;
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(); ui.t0.Play();
DOVirtual.DelayedCall(3.5f, () => 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); // WebviewManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
GameHelper.PostFunnelLogin("enterButtonClick"); GameHelper.PostFunnelLogin("enterButtonClick");
ctrlDispatcher.Dispatch(CtrlMsg.Game_Start); ctrlDispatcher.Dispatch(CtrlMsg.Game_Start);
if (GameHelper.IsGiftSwitch()) UICtrlDispatcher.Instance.Dispatch(SkinInfo.PalUI_Open);
CtrlCloseUI(); CtrlCloseUI();
} }
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c30937b710555294d8045052a0d9712c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+25
View File
@@ -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 fileFormatVersion: 2
guid: 7f21fd5491b87db49a1b591cf8a5aa24 guid: aa2b2f6680825b04f941dfa669ad3ed7
MonoImporter: MonoImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 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 fileFormatVersion: 2
guid: bcc4ea4c13d5e0e4e8f722c28e967e85 guid: 2db57b7b73c78574b85db16295855638
MonoImporter: MonoImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 serializedVersion: 2
+98
View File
@@ -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 FairyGUI;
using FGUI.ACommon; using FGUI.ACommon;
using FGUI.bkg_jilu; using FGUI.bkg_jilu;
using NSubstitute.ReturnsExtensions;
using UnityEngine; using UnityEngine;
namespace BingoBrain namespace BingoBrain
@@ -129,7 +130,19 @@ namespace BingoBrain
string[] values = ctrl.model.recordList[index].Split('-'); string[] values = ctrl.model.recordList[index].Split('-');
item.name.text = values[0]; item.name.text = values[0];
item.num.text = GameHelper.getChString(decimal.Parse(values[1])); 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(" "); string[] parts = values[2].Split(" ");
item.time.text = parts[0]; item.time.text = parts[0];
item.lab_claim.text = GameHelper.getDesByKey("ww"); item.lab_claim.text = GameHelper.getDesByKey("ww");
+10 -2
View File
@@ -70,7 +70,7 @@ namespace BingoBrain
SetName(); SetName();
ui.settings.SetClick(OnClickSetting); ui.settings.SetClick(OnClickSetting);
ui.com_avatar.loader_flag.visible = false; 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()) if (GameHelper.IsGiftSwitch())
{ {
// ui.visible = false; // ui.visible = false;
@@ -78,8 +78,16 @@ namespace BingoBrain
} }
if (Screen.safeArea.y != 0) 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() private void OnClickSetting()
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 KiB

After

Width:  |  Height:  |  Size: 579 KiB

Binary file not shown.

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:
Binary file not shown.
Binary file not shown.
+73 -73
View File
@@ -14,16 +14,16 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_PixelRect: m_PixelRect:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 8
y: 43 y: 51
width: 1920 width: 1904
height: 989 height: 973
m_ShowMode: 4 m_ShowMode: 4
m_Title: Hierarchy m_Title: Hierarchy
m_RootView: {fileID: 8} m_RootView: {fileID: 8}
m_MinSize: {x: 875, y: 321} m_MinSize: {x: 875, y: 321}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
m_Maximized: 1 m_Maximized: 0
--- !u!114 &2 --- !u!114 &2
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
@@ -40,9 +40,9 @@ MonoBehaviour:
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 345 y: 339
width: 579 width: 574
height: 594 height: 584
m_MinSize: {x: 101, y: 121} m_MinSize: {x: 101, y: 121}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 18} m_ActualView: {fileID: 18}
@@ -67,14 +67,14 @@ MonoBehaviour:
- {fileID: 2} - {fileID: 2}
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 1341 x: 1330
y: 0 y: 0
width: 579 width: 574
height: 939 height: 923
m_MinSize: {x: 100, y: 100} m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 8096, y: 16192} m_MaxSize: {x: 8096, y: 16192}
vertical: 1 vertical: 1
controlID: 115 controlID: 123
draggingID: 0 draggingID: 0
--- !u!114 &4 --- !u!114 &4
MonoBehaviour: MonoBehaviour:
@@ -93,8 +93,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 579 width: 574
height: 345 height: 339
m_MinSize: {x: 276, y: 71} m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 14} m_ActualView: {fileID: 14}
@@ -117,10 +117,10 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 743 x: 737
y: 0 y: 0
width: 598 width: 593
height: 939 height: 923
m_MinSize: {x: 232, y: 271} m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021} m_MaxSize: {x: 10002, y: 10021}
m_ActualView: {fileID: 13} m_ActualView: {fileID: 13}
@@ -147,12 +147,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 30 y: 30
width: 1920 width: 1904
height: 939 height: 923
m_MinSize: {x: 400, y: 100} m_MinSize: {x: 400, y: 100}
m_MaxSize: {x: 32384, y: 16192} m_MaxSize: {x: 32384, y: 16192}
vertical: 0 vertical: 0
controlID: 37 controlID: 61
draggingID: 0 draggingID: 0
--- !u!114 &7 --- !u!114 &7
MonoBehaviour: MonoBehaviour:
@@ -171,8 +171,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 329 width: 328
height: 939 height: 923
m_MinSize: {x: 201, y: 221} m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 15} m_ActualView: {fileID: 15}
@@ -200,8 +200,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1920 width: 1904
height: 989 height: 973
m_MinSize: {x: 875, y: 300} m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
m_UseTopView: 1 m_UseTopView: 1
@@ -225,7 +225,7 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1920 width: 1904
height: 30 height: 30
m_MinSize: {x: 0, y: 0} m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0}
@@ -246,8 +246,8 @@ MonoBehaviour:
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 969 y: 953
width: 1920 width: 1904
height: 20 height: 20
m_MinSize: {x: 0, y: 0} m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0}
@@ -271,12 +271,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1341 width: 1330
height: 939 height: 923
m_MinSize: {x: 300, y: 50} m_MinSize: {x: 300, y: 50}
m_MaxSize: {x: 24288, y: 8096} m_MaxSize: {x: 24288, y: 8096}
vertical: 0 vertical: 0
controlID: 38 controlID: 62
draggingID: 0 draggingID: 0
--- !u!114 &12 --- !u!114 &12
MonoBehaviour: MonoBehaviour:
@@ -293,10 +293,10 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 329 x: 328
y: 0 y: 0
width: 414 width: 409
height: 939 height: 923
m_MinSize: {x: 202, y: 221} m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021} m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 17} m_ActualView: {fileID: 17}
@@ -325,10 +325,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 743 x: 745
y: 73 y: 81
width: 596 width: 591
height: 918 height: 902
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
@@ -350,7 +350,7 @@ MonoBehaviour:
m_SkipHidden: 0 m_SkipHidden: 0
m_SearchArea: 1 m_SearchArea: 1
m_Folders: m_Folders:
- Assets/BingoBrain/ModuleUI/NetLoading - Assets/BingoBrain/ModuleUI/Broadcast
m_Globs: [] m_Globs: []
m_OriginalText: m_OriginalText:
m_ImportLogFlags: 0 m_ImportLogFlags: 0
@@ -358,16 +358,16 @@ MonoBehaviour:
m_ViewMode: 1 m_ViewMode: 1
m_StartGridSize: 16 m_StartGridSize: 16
m_LastFolders: m_LastFolders:
- Assets/BingoBrain/ModuleUI/NetLoading - Assets/BingoBrain/ModuleUI/Broadcast
m_LastFoldersGridSize: 16 m_LastFoldersGridSize: 16
m_LastProjectPath: D:\git_test\BingoGrassland m_LastProjectPath: D:\git_test\BingoGrassland
m_LockTracker: m_LockTracker:
m_IsLocked: 0 m_IsLocked: 0
m_FolderTreeState: m_FolderTreeState:
scrollPos: {x: 0, y: 7} scrollPos: {x: 0, y: 7}
m_SelectedIDs: fe6e0000 m_SelectedIDs: ce6e0000
m_LastClickedID: 28414 m_LastClickedID: 28366
m_ExpandedIDs: 00000000666e0000686e00006a6e00006c6e00006e6e0000706e0000726e0000746e0000766e0000786e00007a6e00007c6e00007e6e0000806e0000826e0000846e0000866e0000886e00008a6e00008c6e00008e6e0000906e0000926e0000946e0000966e0000986e00009a6e00009c6e000000ca9a3bffffff7f m_ExpandedIDs: 00000000606e0000626e0000646e0000666e0000686e00006a6e00006c6e00006e6e0000706e0000726e0000746e0000766e0000786e00007a6e00007c6e00007e6e0000806e0000826e0000846e0000866e0000886e00008a6e00008c6e00008e6e0000906e0000926e0000946e0000966e000000ca9a3bffffff7f
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
@@ -395,7 +395,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: 00000000666e0000686e00006a6e00006c6e00006e6e0000706e0000726e0000746e0000766e0000786e00007a6e00007c6e00007e6e0000806e0000826e0000846e0000866e0000886e00008a6e00008c6e00008e6e0000906e0000926e0000946e0000966e0000986e00009a6e00009c6e0000 m_ExpandedIDs: 00000000606e0000626e0000646e0000666e0000686e00006a6e00006c6e00006e6e0000706e0000726e0000746e0000766e0000786e00007a6e00007c6e00007e6e0000806e0000826e0000846e0000866e0000886e00008a6e00008c6e00008e6e0000906e0000926e0000946e0000966e0000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
@@ -471,10 +471,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 1341 x: 1338
y: 73 y: 81
width: 578 width: 573
height: 324 height: 318
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
@@ -518,10 +518,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 8
y: 73 y: 81
width: 328 width: 327
height: 918 height: 902
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
@@ -537,7 +537,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: 78cbfeff0cf0feff18f0feff1ef0feff42f0feff5af0feff70f0feffe8f0feff101fffffd87fffff169afffff2a4ffff28a5ffff40a5ffff56a5ffffcea5ffffeefafffff4ffffff m_ExpandedIDs: 8a5ffdff72cffdffc0cffdffc6cffdffdecffdff1ad7fdff34d7fdff3ed7fdff56d7fdff6cd7fdffe4d7fdff6e69feffc276feffe676fefffe76feff1477feff8c77feff9479feffce80fefff280feff0a81feff2081feff9881feff34a7feff3aa7feffb6a8feffbca8feffe0a8fefff8a8feff0ea9feff86a9feff2afbfffff4ffffff
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
@@ -904,9 +904,9 @@ MonoBehaviour:
m_PlayAudio: 0 m_PlayAudio: 0
m_AudioPlay: 0 m_AudioPlay: 0
m_Position: m_Position:
m_Target: {x: 10002.497, y: 9993.789, z: 0.22563137} m_Target: {x: 10005.369, y: 9984.903, z: 0.22214946}
speed: 2 speed: 2
m_Value: {x: 10002.497, y: 9993.789, z: 0.22563137} m_Value: {x: 10005.369, y: 9984.903, z: 0.22214946}
m_RenderMode: 0 m_RenderMode: 0
m_CameraMode: m_CameraMode:
drawMode: 0 drawMode: 0
@@ -956,9 +956,9 @@ MonoBehaviour:
speed: 2 speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1} m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size: m_Size:
m_Target: 4.543086 m_Target: 4.891265
speed: 2 speed: 2
m_Value: 4.543086 m_Value: 4.891265
m_Ortho: m_Ortho:
m_Target: 1 m_Target: 1
speed: 2 speed: 2
@@ -1003,10 +1003,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 329 x: 336
y: 73 y: 81
width: 412 width: 407
height: 918 height: 902
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
@@ -1050,7 +1050,7 @@ MonoBehaviour:
m_HSlider: 0 m_HSlider: 0
m_VSlider: 0 m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0 m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 0 m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0 m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0 m_EnableSliderZoomVertical: 0
m_UniformScale: 1 m_UniformScale: 1
@@ -1059,10 +1059,10 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 21 y: 21
width: 412 width: 407
height: 897 height: 881
m_Scale: {x: 0.49758455, y: 0.49758455} m_Scale: {x: 0.4915459, y: 0.4915459}
m_Translation: {x: 206, y: 448.5} m_Translation: {x: 203.5, y: 440.5}
m_MarginLeft: 0 m_MarginLeft: 0
m_MarginRight: 0 m_MarginRight: 0
m_MarginTop: 0 m_MarginTop: 0
@@ -1070,12 +1070,12 @@ MonoBehaviour:
m_LastShownAreaInsideMargins: m_LastShownAreaInsideMargins:
serializedVersion: 2 serializedVersion: 2
x: -414 x: -414
y: -901.3544 y: -896.15234
width: 828 width: 828
height: 1802.7087 height: 1792.3047
m_MinimalGUI: 1 m_MinimalGUI: 1
m_defaultScale: 0.49758455 m_defaultScale: 0.4915459
m_LastWindowPixelSize: {x: 412, y: 918} m_LastWindowPixelSize: {x: 407, y: 902}
m_ClearInEditMode: 1 m_ClearInEditMode: 1
m_NoCameraWarning: 1 m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000100000000000000 m_LowResolutionForAspectRatios: 01000100000000000000
@@ -1102,10 +1102,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 1341 x: 1338
y: 418 y: 420
width: 578 width: 573
height: 573 height: 563
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0