bingo 项目提交
This commit is contained in:
@@ -0,0 +1,287 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public static class PreferencesField
|
||||
{
|
||||
public const string gameStartCount = "gameStartCount";
|
||||
|
||||
|
||||
public const string loginGameTodayTimes = "loginGameTodayTimes";
|
||||
|
||||
|
||||
public const string videoEffective_count = "videoEffective_count";
|
||||
|
||||
|
||||
public const string isLogEffective = "isLogEffective";
|
||||
|
||||
|
||||
public const string data_ver = "data_ver";
|
||||
|
||||
|
||||
public const string haveBeenGameStart = "haveBeenGameStart";
|
||||
|
||||
|
||||
public const string date = "date";
|
||||
|
||||
|
||||
public const string lastLoginDays = "lastLoginDays";
|
||||
|
||||
|
||||
public const string xpReachedRewardIndex = "xpReachedRewardIndex";
|
||||
|
||||
|
||||
public const string playerXP = "playerXP";
|
||||
public const string currBankData = "currBankData";
|
||||
|
||||
|
||||
public const string currency101 = "currency101";
|
||||
|
||||
|
||||
public const string max101 = "max101";
|
||||
|
||||
|
||||
public const string nextNewDayTime = "nextNewDayTime";
|
||||
public const string ballonCdTime = "ballonCdTime";
|
||||
public const string toDayMaxScore = "toDayMaxScore";
|
||||
|
||||
|
||||
public const string historyMaxScore = "historyMaxScore";
|
||||
|
||||
|
||||
public const string playerName = "playerName";
|
||||
|
||||
|
||||
public const string code = "code";
|
||||
|
||||
public const string h5StayTime = "h5StayTime";
|
||||
public const string makeupTaskH5Time = "makeupTaskH5Time";
|
||||
public const string makeupTaskHistory = "makeupTaskHistory";
|
||||
public const string coinMakeupTaskHistory = "coinMakeupTaskHistory";
|
||||
|
||||
public const string coinMakeupTaskH5Time = "coinMakeupTaskH5Time";
|
||||
public const string playerAvatarId = "playerAvatarId";
|
||||
|
||||
|
||||
public const string ticketGameNum = "ticketGameNum";
|
||||
|
||||
|
||||
public const string moneyGameNum = "moneyGameNum";
|
||||
|
||||
|
||||
public const string loginDay = "loginDay";
|
||||
|
||||
|
||||
public const string watchVideoBeginSum = "watchVideoBeginSum";
|
||||
|
||||
|
||||
public const string active = "active";
|
||||
|
||||
|
||||
public const string currency102 = "currency102";
|
||||
|
||||
|
||||
public const string max102 = "max102";
|
||||
|
||||
|
||||
public const string dailyTaskState = "dailyTaskState";
|
||||
|
||||
|
||||
public const string dailyTaskActiveState = "dailyTaskActiveState";
|
||||
|
||||
|
||||
public const string activeMissions = "activeMissions";
|
||||
|
||||
|
||||
public const string finishTaskList = "finishTaskList";
|
||||
|
||||
|
||||
public const string signState = "signState";
|
||||
|
||||
|
||||
public const string completeGuideList = "completeGuideList";
|
||||
public const string isResetGuide = "isResetGuide";
|
||||
|
||||
|
||||
public const string watchVideoSum = "watchVideoSum";
|
||||
|
||||
|
||||
public const string isOpenedInvite = "isOpenedInvite";
|
||||
public const string isGod = "isGod";
|
||||
|
||||
|
||||
public const string isGuideFinish = "isGuideFinish";
|
||||
|
||||
|
||||
public const string facebookId = "facebookId";
|
||||
|
||||
|
||||
public const string facebookName = "facebookName";
|
||||
|
||||
|
||||
public const string facebookAvatarUrl = "facebookAvatarUrl";
|
||||
|
||||
|
||||
public const string isFaceBookLogin = "isFaceBookLogin";
|
||||
public const string isShowRewardFly101 = "isShowRewardFly101";
|
||||
public const string isShowRewardFly102 = "isShowRewardFly102";
|
||||
public const string isShowRewardFly105 = "isShowRewardFly105";
|
||||
public const string isShowRewardFly106 = "isShowRewardFly106";
|
||||
|
||||
|
||||
public const string thisDayWatchSlyderVideoNum = "thisDayWatchSlyderVideoNum";
|
||||
|
||||
|
||||
public const string realIssueIdLst = "realIssueIdLst";
|
||||
|
||||
|
||||
public const string isPayBind = "isPayBind";
|
||||
|
||||
|
||||
public const string paypalAccount = "paypalAccount";
|
||||
|
||||
|
||||
public const string isSuccessRedeem = "isSuccessRedeem";
|
||||
|
||||
|
||||
public const string isOpenRedeem = "isOpenRedeem";
|
||||
|
||||
|
||||
public const string gameOfCount = "gameOfCount";
|
||||
|
||||
|
||||
public const string initPropFireCountUsed = "initPropFireCountUsed";
|
||||
|
||||
|
||||
public const string initPropBombCountUsed = "initPropBombCountUsed";
|
||||
|
||||
|
||||
public const string exchangeBindGuide = "exchangeBindGuide";
|
||||
|
||||
|
||||
public const string exchangeAccount = "exchangeAccount";
|
||||
|
||||
|
||||
public const string exchangeName = "exchangeName";
|
||||
|
||||
|
||||
public const string exchangeCoinAccount = "exchangeCoinAccount";
|
||||
|
||||
|
||||
public const string exchangeCoinFName = "exchangeCoinFName";
|
||||
|
||||
|
||||
public const string exchangeCoinLName = "exchangeCoinLName";
|
||||
|
||||
|
||||
public const string exchangeMailbox = "exchangeMailbox";
|
||||
|
||||
|
||||
public const string clearBubbleCount = "clearBubbleCount";
|
||||
|
||||
|
||||
public const string usePropCount = "usePropCount";
|
||||
|
||||
|
||||
public const string winLeftExtraBallCount = "winLeftExtraBallCount";
|
||||
|
||||
|
||||
public const string isRateUs = "isRateUs";
|
||||
|
||||
|
||||
public const string dailyTaskWinCount = "dailyTaskWinCount";
|
||||
public const string isOpenedRealGift = "isOpenedRealGift";
|
||||
|
||||
|
||||
public const string webViewOnlineTime = "webViewOnlineTime";
|
||||
|
||||
|
||||
public const string isClickH5Icon = "isClickH5Icon";
|
||||
public const string isShowOpenReward = "isShowOpenReward";
|
||||
|
||||
|
||||
public const string openRewardCount = "openRewardCount";
|
||||
public const string isRealProcessing = "isRealProcessing";
|
||||
|
||||
|
||||
public const string realWatchVideo = "realWatchVideo";
|
||||
|
||||
|
||||
public const string isEditInviteCode = "isEditInviteCode";
|
||||
|
||||
|
||||
public const string inviteRecordList = "inviteRecordList";
|
||||
public const string webViewMakeUpOnlineTime = "webViewMakeUpOnlineTime";
|
||||
public const string webViewADTaskOnlineTime = "webViewADTaskOnlineTime";
|
||||
public const string withdrawGear = "withdrawGear";
|
||||
|
||||
|
||||
public const string adCashFlyShowTime = "adCashFlyShowTime";
|
||||
|
||||
|
||||
public const string cardBoardIndex = "cardBoardIndex";
|
||||
|
||||
|
||||
public const string bingoSum = "bingoSum";
|
||||
|
||||
|
||||
public const string isFirstBingo = "isFirstBingo";
|
||||
|
||||
|
||||
public const string isFirstComboBingo = "isFirstComboBingo";
|
||||
|
||||
|
||||
public const string isCompleteFirstGame = "isCompleteFirstGame";
|
||||
|
||||
|
||||
public const string isFirstPropFull = "isFirstPropFull";
|
||||
|
||||
|
||||
public const string gameSum = "gameSum";
|
||||
|
||||
|
||||
public const string isOnceWheel = "isOnceWheel";
|
||||
|
||||
|
||||
public const string ferrWheelLst = "ferrWheelLst";
|
||||
|
||||
|
||||
public const string videlWheelLst = "videlWheelLst";
|
||||
|
||||
|
||||
public const string wheelVersion = "wheelVersion";
|
||||
|
||||
|
||||
public const string nextOpenWheelStampTime = "nextOpenWheelStampTime";
|
||||
|
||||
|
||||
public const string openDailyBonusStampTime = "openDailyBonusStampTime";
|
||||
public const string statisticDictionary = "statisticDictionary";
|
||||
public const string statisticMakeupDictionary = "statisticMakeupDictionary";
|
||||
public const string statisticCashTarget = "statisticCashTarget";
|
||||
|
||||
|
||||
public const string nextRecoveryTime = "nextRecoveryTime";
|
||||
|
||||
|
||||
public const string cardBoardSum = "cardBoardSum";
|
||||
|
||||
|
||||
public const string isFirstSlot = "isFirstSlot";
|
||||
|
||||
|
||||
public const string isFirstBox = "isFirstBox";
|
||||
|
||||
|
||||
public const string isSecondEndShow = "isSecondEndShow";
|
||||
|
||||
|
||||
public const string sum777 = "sum777";
|
||||
|
||||
|
||||
public const string bankDic = "bankDic";
|
||||
|
||||
|
||||
public const string dailyBonusItemLst = "dailyBonusItemLst";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc5eccf1420ec3a489eb815e618824c8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 935e480d49b8ffa4381022530d2f6acc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,288 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public static class PreferencesMsg
|
||||
{
|
||||
public const string gameStartCount = "Preferences_gameStartCount";
|
||||
|
||||
|
||||
public const string loginGameTodayTimes = "Preferences_loginGameTodayTimes";
|
||||
|
||||
|
||||
public const string videoEffective_count = "Preferences_videoEffective_count";
|
||||
|
||||
|
||||
public const string isLogEffective = "Preferences_isLogEffective";
|
||||
|
||||
|
||||
public const string data_ver = "Preferences_data_ver";
|
||||
|
||||
|
||||
public const string haveBeenGameStart = "Preferences_haveBeenGameStart";
|
||||
|
||||
|
||||
public const string date = "Preferences_date";
|
||||
|
||||
|
||||
public const string lastLoginDays = "Preferences_lastLoginDays";
|
||||
|
||||
|
||||
public const string xpReachedRewardIndex = "Preferences_xpReachedRewardIndex";
|
||||
|
||||
|
||||
public const string playerXP = "Preferences_playerXP";
|
||||
public const string currBankData = "Preferences_currBankData";
|
||||
|
||||
|
||||
public const string currency101 = "Preferences_currency101";
|
||||
|
||||
|
||||
public const string max101 = "Preferences_max101";
|
||||
|
||||
|
||||
public const string nextNewDayTime = "Preferences_nextNewDayTime";
|
||||
public const string ballonCdTime = "Preferences_ballonCdTime";
|
||||
public const string toDayMaxScore = "Preferences_toDayMaxScore";
|
||||
|
||||
|
||||
public const string historyMaxScore = "Preferences_historyMaxScore";
|
||||
|
||||
|
||||
public const string playerName = "Preferences_playerName";
|
||||
|
||||
|
||||
public const string code = "Preferences_code";
|
||||
|
||||
public const string h5StayTime = "Preferences_h5StayTime";
|
||||
public const string makeupTaskH5Time = "Preferences_makeupTaskH5Time";
|
||||
|
||||
public const string makeupTaskHistory = "Preferences_makeupTaskHistory";
|
||||
public const string coinMakeupTaskHistory = "Preferences_coinMakeupTaskHistory";
|
||||
public const string coinMakeupTaskH5Time = "coinMakeupTaskH5Time";
|
||||
|
||||
public const string playerAvatarId = "Preferences_playerAvatarId";
|
||||
|
||||
|
||||
public const string ticketGameNum = "Preferences_ticketGameNum";
|
||||
|
||||
|
||||
public const string moneyGameNum = "Preferences_moneyGameNum";
|
||||
|
||||
|
||||
public const string loginDay = "Preferences_loginDay";
|
||||
|
||||
|
||||
public const string watchVideoBeginSum = "Preferences_watchVideoBeginSum";
|
||||
|
||||
|
||||
public const string active = "Preferences_active";
|
||||
|
||||
|
||||
public const string currency102 = "Preferences_currency102";
|
||||
|
||||
|
||||
public const string max102 = "Preferences_max102";
|
||||
|
||||
|
||||
public const string dailyTaskState = "Preferences_dailyTaskState";
|
||||
|
||||
|
||||
public const string dailyTaskActiveState = "Preferences_dailyTaskActiveState";
|
||||
|
||||
|
||||
public const string activeMissions = "Preferences_activeMissions";
|
||||
|
||||
|
||||
public const string finishTaskList = "Preferences_finishTaskList";
|
||||
|
||||
|
||||
public const string signState = "Preferences_signState";
|
||||
|
||||
|
||||
public const string completeGuideList = "Preferences_completeGuideList";
|
||||
public const string isResetGuide = "Preferences_isResetGuide";
|
||||
|
||||
|
||||
public const string watchVideoSum = "Preferences_watchVideoSum";
|
||||
|
||||
|
||||
public const string isOpenedInvite = "Preferences_isOpenedInvite";
|
||||
public const string isGod = "Preferences_isGod";
|
||||
|
||||
|
||||
public const string isGuideFinish = "Preferences_isGuideFinish";
|
||||
|
||||
|
||||
public const string facebookId = "Preferences_facebookId";
|
||||
|
||||
|
||||
public const string facebookName = "Preferences_facebookName";
|
||||
|
||||
|
||||
public const string facebookAvatarUrl = "Preferences_facebookAvatarUrl";
|
||||
|
||||
|
||||
public const string isFaceBookLogin = "Preferences_isFaceBookLogin";
|
||||
public const string isShowRewardFly101 = "Preferences_isShowRewardFly101";
|
||||
public const string isShowRewardFly102 = "Preferences_isShowRewardFly102";
|
||||
public const string isShowRewardFly105 = "Preferences_isShowRewardFly105";
|
||||
public const string isShowRewardFly106 = "Preferences_isShowRewardFly106";
|
||||
|
||||
|
||||
public const string thisDayWatchSlyderVideoNum = "Preferences_thisDayWatchSlyderVideoNum";
|
||||
|
||||
|
||||
public const string realIssueIdLst = "Preferences_realIssueIdLst";
|
||||
|
||||
|
||||
public const string isPayBind = "Preferences_isPayBind";
|
||||
|
||||
|
||||
public const string paypalAccount = "Preferences_paypalAccount";
|
||||
|
||||
|
||||
public const string isSuccessRedeem = "Preferences_isSuccessRedeem";
|
||||
|
||||
|
||||
public const string isOpenRedeem = "Preferences_isOpenRedeem";
|
||||
|
||||
|
||||
public const string gameOfCount = "Preferences_gameOfCount";
|
||||
|
||||
|
||||
public const string initPropFireCountUsed = "Preferences_initPropFireCountUsed";
|
||||
|
||||
|
||||
public const string initPropBombCountUsed = "Preferences_initPropBombCountUsed";
|
||||
|
||||
|
||||
public const string exchangeBindGuide = "Preferences_exchangeBindGuide";
|
||||
|
||||
|
||||
public const string exchangeAccount = "Preferences_exchangeAccount";
|
||||
|
||||
|
||||
public const string exchangeName = "Preferences_exchangeName";
|
||||
|
||||
|
||||
public const string exchangeCoinAccount = "Preferences_exchangeCoinAccount";
|
||||
|
||||
|
||||
public const string exchangeCoinFName = "Preferences_exchangeCoinFName";
|
||||
|
||||
|
||||
public const string exchangeCoinLName = "Preferences_exchangeCoinLName";
|
||||
|
||||
|
||||
public const string exchangeMailbox = "Preferences_exchangeMailbox";
|
||||
|
||||
|
||||
public const string clearBubbleCount = "Preferences_clearBubbleCount";
|
||||
|
||||
|
||||
public const string usePropCount = "Preferences_usePropCount";
|
||||
|
||||
|
||||
public const string winLeftExtraBallCount = "Preferences_winLeftExtraBallCount";
|
||||
|
||||
|
||||
public const string isRateUs = "Preferences_isRateUs";
|
||||
|
||||
|
||||
public const string dailyTaskWinCount = "Preferences_dailyTaskWinCount";
|
||||
public const string isOpenedRealGift = "Preferences_isOpenedRealGift";
|
||||
|
||||
|
||||
public const string webViewOnlineTime = "Preferences_webViewOnlineTime";
|
||||
|
||||
|
||||
public const string isClickH5Icon = "Preferences_isClickH5Icon";
|
||||
public const string isShowOpenReward = "Preferences_isShowOpenReward";
|
||||
|
||||
|
||||
public const string openRewardCount = "Preferences_openRewardCount";
|
||||
public const string isRealProcessing = "Preferences_isRealProcessing";
|
||||
|
||||
|
||||
public const string realWatchVideo = "Preferences_realWatchVideo";
|
||||
|
||||
|
||||
public const string isEditInviteCode = "Preferences_isEditInviteCode";
|
||||
|
||||
|
||||
public const string inviteRecordList = "Preferences_inviteRecordList";
|
||||
public const string webViewMakeUpOnlineTime = "Preferences_webViewMakeUpOnlineTime";
|
||||
public const string webViewADTaskOnlineTime = "Preferences_webViewADTaskOnlineTime";
|
||||
public const string withdrawGear = "Preferences_withdrawGear";
|
||||
|
||||
|
||||
public const string adCashFlyShowTime = "Preferences_adCashFlyShowTime";
|
||||
|
||||
|
||||
public const string cardBoardIndex = "Preferences_cardBoardIndex";
|
||||
|
||||
|
||||
public const string bingoSum = "Preferences_bingoSum";
|
||||
|
||||
|
||||
public const string isFirstBingo = "Preferences_isFirstBingo";
|
||||
|
||||
|
||||
public const string isFirstComboBingo = "Preferences_isFirstComboBingo";
|
||||
|
||||
|
||||
public const string isCompleteFirstGame = "Preferences_isCompleteFirstGame";
|
||||
|
||||
|
||||
public const string isFirstPropFull = "Preferences_isFirstPropFull";
|
||||
|
||||
|
||||
public const string gameSum = "Preferences_gameSum";
|
||||
|
||||
|
||||
public const string isOnceWheel = "Preferences_isOnceWheel";
|
||||
|
||||
|
||||
public const string ferrWheelLst = "Preferences_ferrWheelLst";
|
||||
|
||||
|
||||
public const string videlWheelLst = "Preferences_videlWheelLst";
|
||||
|
||||
|
||||
public const string wheelVersion = "Preferences_wheelVersion";
|
||||
|
||||
|
||||
public const string nextOpenWheelStampTime = "Preferences_nextOpenWheelStampTime";
|
||||
|
||||
|
||||
public const string openDailyBonusStampTime = "Preferences_openDailyBonusStampTime";
|
||||
public const string statisticDictionary = "Preferences_statisticDictionary";
|
||||
public const string statisticMakeupDictionary = "Preferences_statisticMakeupDictionary";
|
||||
public const string statisticCashTarget = "Preferences_statisticCashTarget";
|
||||
|
||||
|
||||
public const string nextRecoveryTime = "Preferences_nextRecoveryTime";
|
||||
|
||||
|
||||
public const string cardBoardSum = "Preferences_cardBoardSum";
|
||||
|
||||
|
||||
public const string isFirstSlot = "Preferences_isFirstSlot";
|
||||
|
||||
|
||||
public const string isFirstBox = "Preferences_isFirstBox";
|
||||
|
||||
|
||||
public const string isSecondEndShow = "Preferences_isSecondEndShow";
|
||||
|
||||
|
||||
public const string sum777 = "Preferences_sum777";
|
||||
|
||||
|
||||
public const string bankDic = "Preferences_bankDic";
|
||||
|
||||
|
||||
public const string dailyBonusItemLst = "Preferences_dailyBonusItemLst";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d352f19554a6f98469bd971e95579515
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using BingoBrain.Core;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class PrenterCtrl : BaseCtrl
|
||||
{
|
||||
private List<uint> msgList = new List<uint>();
|
||||
|
||||
#region 生命周期
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnDispose()
|
||||
{
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 消息
|
||||
|
||||
protected override void AddListener()
|
||||
{
|
||||
ctrlDispatcher.AddListener(CtrlMsg.Preferences_InitComplete, PreferenceDataReady);
|
||||
ctrlDispatcher.AddListener(CtrlMsg.Game_StartBefore, SendCtrlMsg);
|
||||
}
|
||||
|
||||
protected override void RemoveListener()
|
||||
{
|
||||
ctrlDispatcher.RemoveListener(CtrlMsg.Preferences_InitComplete, PreferenceDataReady);
|
||||
ctrlDispatcher.RemoveListener(CtrlMsg.Game_StartBefore, SendCtrlMsg);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public void PreferenceDataReady(object objs = null)
|
||||
{
|
||||
InspectionNewDay();
|
||||
PreferencesMgr.Instance.GameStartCount++;
|
||||
}
|
||||
|
||||
public void InspectionNewDay()
|
||||
{
|
||||
DateTime data = DateTimeBoardk.Instance.GetDateTime(GameHelper.GetNowTime());
|
||||
string dateStr = DateTimeBoardk.Instance.DateTimeToYYYYMMDD(data);
|
||||
if (!PreferencesMgr.Instance.Date.Equals(dateStr))
|
||||
{
|
||||
PreferencesMgr.Instance.Date = dateStr;
|
||||
msgList.Add(CtrlMsg.NewDays);
|
||||
PreferencesMgr.Instance.LoginGameTodayTimes = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
PreferencesMgr.Instance.LoginGameTodayTimes++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void SendCtrlMsg(object args = null)
|
||||
{
|
||||
for (int i = 0; i < msgList.Count; i++)
|
||||
{
|
||||
ctrlDispatcher.Dispatch(msgList[i]);
|
||||
}
|
||||
|
||||
msgList.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b456e1e40be344dd99c817ba250c2a0e
|
||||
timeCreated: 1692007381
|
||||
Reference in New Issue
Block a user