@@ -8,6 +8,7 @@ namespace FGUI.ZM_Common_01
|
||||
public partial class btn_claim4 : GButton
|
||||
{
|
||||
public Controller state;
|
||||
public Controller is_gift;
|
||||
public const string URL = "ui://o9974uc5s73p5n";
|
||||
|
||||
public static btn_claim4 CreateInstance()
|
||||
@@ -20,6 +21,7 @@ namespace FGUI.ZM_Common_01
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
is_gift = GetControllerAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@ namespace FGUI.ZM_Common_01
|
||||
{
|
||||
public partial class com_broadcast1 : GComponent
|
||||
{
|
||||
public GButton btn_record;
|
||||
public com_broadcast_text1 broad_cast_text;
|
||||
public GGroup broad;
|
||||
public GGroup group_;
|
||||
@@ -23,9 +24,10 @@ namespace FGUI.ZM_Common_01
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
broad_cast_text = (com_broadcast_text1)GetChildAt(0);
|
||||
broad = (GGroup)GetChildAt(1);
|
||||
group_ = (GGroup)GetChildAt(2);
|
||||
btn_record = (GButton)GetChildAt(0);
|
||||
broad_cast_text = (com_broadcast_text1)GetChildAt(1);
|
||||
broad = (GGroup)GetChildAt(2);
|
||||
group_ = (GGroup)GetChildAt(3);
|
||||
t0 = GetTransitionAt(0);
|
||||
t1 = GetTransitionAt(1);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ namespace FGUI.ZM_Common_01
|
||||
public GRichTextField cast_text;
|
||||
public GRichTextField hide_text;
|
||||
public GButton btn_broad;
|
||||
public GLoader broad_icon_loader;
|
||||
public const string URL = "ui://o9974uc5mhxp5q";
|
||||
|
||||
public static com_broadcast_text1 CreateInstance()
|
||||
@@ -27,7 +26,6 @@ namespace FGUI.ZM_Common_01
|
||||
cast_text = (GRichTextField)GetChildAt(1);
|
||||
hide_text = (GRichTextField)GetChildAt(2);
|
||||
btn_broad = (GButton)GetChildAt(3);
|
||||
broad_icon_loader = (GLoader)GetChildAt(4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ namespace FGUI.ZM_Reward_10
|
||||
{
|
||||
public Controller cont_collect;
|
||||
public Controller cont_white;
|
||||
public Controller is_gift;
|
||||
public GButton btn_null;
|
||||
public GGraph fx_place;
|
||||
public GTextField text_num;
|
||||
@@ -30,13 +31,14 @@ namespace FGUI.ZM_Reward_10
|
||||
|
||||
cont_collect = GetControllerAt(0);
|
||||
cont_white = GetControllerAt(1);
|
||||
is_gift = GetControllerAt(2);
|
||||
btn_null = (GButton)GetChildAt(0);
|
||||
fx_place = (GGraph)GetChildAt(3);
|
||||
text_num = (GTextField)GetChildAt(4);
|
||||
title1 = (GTextField)GetChildAt(5);
|
||||
wheel = (GComponent)GetChildAt(6);
|
||||
btn_multi = (GButton)GetChildAt(7);
|
||||
btn_collect = (GButton)GetChildAt(8);
|
||||
fx_place = (GGraph)GetChildAt(4);
|
||||
text_num = (GTextField)GetChildAt(5);
|
||||
title1 = (GTextField)GetChildAt(6);
|
||||
wheel = (GComponent)GetChildAt(7);
|
||||
btn_multi = (GButton)GetChildAt(8);
|
||||
btn_collect = (GButton)GetChildAt(9);
|
||||
t0 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace FGUI.ZM_Sign_06
|
||||
{
|
||||
public Controller day;
|
||||
public Controller state;
|
||||
public Controller is_gift;
|
||||
public GTextField reward_num;
|
||||
public Transition t0;
|
||||
public const string URL = "ui://8ihaqs6isebxc";
|
||||
@@ -24,7 +25,8 @@ namespace FGUI.ZM_Sign_06
|
||||
|
||||
day = GetControllerAt(0);
|
||||
state = GetControllerAt(1);
|
||||
reward_num = (GTextField)GetChildAt(5);
|
||||
is_gift = GetControllerAt(2);
|
||||
reward_num = (GTextField)GetChildAt(6);
|
||||
t0 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,9 +8,9 @@ namespace FGUI.bkg_jilu
|
||||
public partial class com_record_item : GComponent
|
||||
{
|
||||
public GTextField name;
|
||||
public GTextField num;
|
||||
public GTextField lab_claim;
|
||||
public GRichTextField num;
|
||||
public GTextField time;
|
||||
public GLoader icon_loader;
|
||||
public const string URL = "ui://u5bqcwhxf6p04";
|
||||
|
||||
public static com_record_item CreateInstance()
|
||||
@@ -23,9 +23,9 @@ namespace FGUI.bkg_jilu
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
name = (GTextField)GetChildAt(1);
|
||||
num = (GTextField)GetChildAt(3);
|
||||
lab_claim = (GTextField)GetChildAt(2);
|
||||
num = (GRichTextField)GetChildAt(3);
|
||||
time = (GTextField)GetChildAt(4);
|
||||
icon_loader = (GLoader)GetChildAt(5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -496,7 +496,7 @@ namespace RedHotRoast
|
||||
string countryCode = "US";
|
||||
try
|
||||
{
|
||||
countryCode = RegionInfo.CurrentRegion.TwoLetterISORegionName;
|
||||
countryCode = Language.getCurrentLanguage();
|
||||
// Debug.Log("国家代码: " + countryCode); // 例如:US, CN, JP, DE 等
|
||||
}
|
||||
catch (System.Exception e)
|
||||
@@ -935,7 +935,7 @@ namespace RedHotRoast
|
||||
public static void addInterAdnumber()
|
||||
{
|
||||
|
||||
if(!IsGiftSwitch()) return;
|
||||
return;
|
||||
|
||||
if (GetVipPrivilege(Subscription.RemoveInterstitialAd.As<int>())) return;
|
||||
look_interad_numbers++;
|
||||
@@ -1220,15 +1220,23 @@ namespace RedHotRoast
|
||||
public static void IsShowFirstReward()
|
||||
{
|
||||
var isGet = DataMgr.GetFirstReaward.Value;
|
||||
if (!isGet && IsGiftSwitch())
|
||||
if (!isGet)
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.FirstRewardUI_Open);
|
||||
|
||||
//小额发放
|
||||
IsShowPettyReward();
|
||||
if (IsGiftSwitch())
|
||||
{
|
||||
DataMgr.GetFirstReaward.Value = true;
|
||||
var awardNum = ConfigSystem.GetCommonConf().InitialNum;
|
||||
addMoney(awardNum);
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.Update102);
|
||||
|
||||
//小额发放
|
||||
IsShowPettyReward();
|
||||
}
|
||||
|
||||
AddGoldNumber(50);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static int ShowStatementViewCount = 0;
|
||||
public static void ShowStatementView()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user