首次提交
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9d4b8f1e3f240a29b60fb5ac95bc802
|
||||
timeCreated: 1692603096
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad3273bae87648ac8ff70eb4d402ae33
|
||||
timeCreated: 1692760582
|
||||
@@ -0,0 +1,82 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class AchieveModel
|
||||
{
|
||||
public List<Achieve> dataList;
|
||||
}
|
||||
|
||||
public class Achieve
|
||||
{
|
||||
public int id;
|
||||
public bool is_com_reward;
|
||||
public bool is_double;
|
||||
public string text_read_ru;
|
||||
public string text_read;
|
||||
public string desc;
|
||||
public int[] tol_num;
|
||||
public int[] reward_num;
|
||||
}
|
||||
|
||||
public class PassingTaskModel: BingoBrainConfigModel<PassingTasks>
|
||||
{
|
||||
// public List<PassingTask> dataList;
|
||||
}
|
||||
|
||||
public class PassingTasks: BingoBrainConfigData
|
||||
{
|
||||
|
||||
public bool is_com_reward;
|
||||
public bool is_double;
|
||||
public string text_read_ru;
|
||||
public string text_read;
|
||||
public string desc;
|
||||
public int tol_num;
|
||||
public int reward_num;
|
||||
public bool is_get;
|
||||
}
|
||||
public class DurationtasksModel: BingoBrainConfigModel<Durationtasks>
|
||||
{
|
||||
// public List<Durationtasks> dataList;
|
||||
}
|
||||
|
||||
public class Durationtasks: BingoBrainConfigData
|
||||
{
|
||||
public bool is_com_reward;
|
||||
public bool is_double;
|
||||
public string text_read_ru;
|
||||
public string text_read;
|
||||
public string desc;
|
||||
public int tol_num;
|
||||
public int reward_num;
|
||||
public bool is_get;
|
||||
}
|
||||
public class PassportrewardsModel: BingoBrainConfigModel<Passportrewards>
|
||||
{
|
||||
// public List<Passportrewards> dataList;
|
||||
}
|
||||
|
||||
public class Passportrewards: BingoBrainConfigData
|
||||
{
|
||||
public int Eliminating_quantity;
|
||||
public int Free_rewards_num;
|
||||
public int Free_rewards_type;
|
||||
public int Paid_rewards_num;
|
||||
public int Paid_rewards_type;
|
||||
public int Passportrewards_CD;
|
||||
}
|
||||
public class PaidcoinsModel : BingoBrainConfigModel<Paidcoins>
|
||||
{
|
||||
// public List<Paidcoins> dataList;
|
||||
}
|
||||
|
||||
public class Paidcoins: BingoBrainConfigData
|
||||
{
|
||||
public int Actual_coins;
|
||||
public int Discount_rate;
|
||||
public float Payment_amount;
|
||||
public float Payment_amount2;
|
||||
public int receive_CD;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc5cb660d570044b1806c7fa376742ef
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class AdRewardModel : BingoBrainConfigModel<AdReward>
|
||||
{
|
||||
}
|
||||
|
||||
public class AdReward : BingoBrainConfigData
|
||||
{
|
||||
public int reward;
|
||||
public int rewardAmount;
|
||||
public int[] ratio;
|
||||
public int[] probability;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 527edf66146d4509a103a60c89895a0b
|
||||
timeCreated: 1699949044
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class BingoProbModel : BingoBrainConfigModel<BingoProb>
|
||||
{
|
||||
}
|
||||
|
||||
public class BingoProb : BingoBrainConfigData
|
||||
{
|
||||
public int probability;
|
||||
public int[] daubNum;
|
||||
public int[] bingoprob;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fd21661263994e2aa5a69c7bab166af4
|
||||
timeCreated: 1703744557
|
||||
@@ -0,0 +1,41 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class BoardModel
|
||||
{
|
||||
public List<Board> dataList;
|
||||
}
|
||||
|
||||
public class Board
|
||||
{
|
||||
public int[][] vector2;
|
||||
public int[] offset;
|
||||
}
|
||||
|
||||
public class StackedModel
|
||||
{
|
||||
public List<Stacked> dataList;
|
||||
}
|
||||
|
||||
public class Stacked
|
||||
{
|
||||
public int[] site;
|
||||
public int[] offset;
|
||||
public int num;
|
||||
}
|
||||
public class ExchangeDesModel : BingoBrainConfigModel<ExchangeDescriptors>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class ExchangeDescriptors : BingoBrainConfigData
|
||||
{
|
||||
public string des_key;
|
||||
public string Mode_0;
|
||||
public string Mode_1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// "{\"level\":1,\"board\":[{\"vector2\":[[1,0,0,0,0,0],[1,0,0,0,0,0],[1,1,1,0,0,0],[0,1,1,1,1,1],[0,1,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],\"offset\":[0,0,0,0]},{\"vector2\":[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,1,1,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],\"offset\":[0,1,0,0]},{\"vector2\":[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,1,0,0,0,0],[0,1,0,0,0,0],[0,1,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],\"offset\":[1,0,0,0]}],\"stacked\":[{\"site\":[1,6],\"offset\":[0,1,0,0],\"num\":6},{\"site\":[7,6],\"offset\":[0,0,0,1],\"num\":5}],\"item_type\":3}"
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68d34775ccc3e4c2090d0c79844ac711
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,218 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class MakeupModel : BingoBrainConfigModel<makeup>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class makeup : BingoBrainConfigData
|
||||
{
|
||||
public int item_need;
|
||||
public bool is_onetime;
|
||||
public int task_need;
|
||||
public int ad_need;
|
||||
public int item;
|
||||
public int levels_need;
|
||||
public int AD_Down;
|
||||
public int AD_Limit_times;
|
||||
public int Login_Limit_times;
|
||||
public int Active_time;
|
||||
public int Active_time_Down;
|
||||
public int Active_Limit_times;
|
||||
|
||||
}
|
||||
public class MakeupModel_2 : BingoBrainConfigModel<makeup_2>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class makeup_2 : BingoBrainConfigData
|
||||
{
|
||||
public int item_need;
|
||||
public bool is_onetime;
|
||||
public int task_need;
|
||||
public int ad_need;
|
||||
public int item;
|
||||
public int levels_need;
|
||||
public int AD_Down;
|
||||
public int AD_Limit_times;
|
||||
public int Login_Limit_times;
|
||||
public int Active_time;
|
||||
public int Active_time_Down;
|
||||
public int Active_Limit_times;
|
||||
public int PayIncrease;
|
||||
public float ADIncrease;
|
||||
public int Reset_time;
|
||||
|
||||
}
|
||||
public class CardRedeemNewModel : BingoBrainConfigModel<cardRedeemNew>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class cardRedeemNew : BingoBrainConfigData
|
||||
{
|
||||
|
||||
public int item;
|
||||
public int redeem_id;
|
||||
public int fee_need;
|
||||
public int ServerID_USD;
|
||||
public int ServerID_BRL;
|
||||
public int ServerID_IDR;
|
||||
public int item_need;
|
||||
public decimal redeem_num;
|
||||
public int redeem_br;
|
||||
public bool is_real;
|
||||
public int task_need;
|
||||
}
|
||||
public class GameUrlsModel : BingoBrainConfigModel<GameUrls>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class GameUrls : BingoBrainConfigData
|
||||
{
|
||||
|
||||
public string webLink;
|
||||
public int webType;
|
||||
public int probability;
|
||||
public int refreshMax;
|
||||
public int darkWebTimesCT;
|
||||
public int darkWebTimesCT2;
|
||||
public int wvType;
|
||||
public int wvthrough;
|
||||
public int isMagic;
|
||||
public int[] darkWVRefreshtime;
|
||||
public int darkWVDailyrefreshtimes;
|
||||
public int WVClickAddTime;
|
||||
public int WVOffset;
|
||||
}
|
||||
public class exBrPoolModel : BingoBrainConfigModel<exBrPool>
|
||||
{
|
||||
public static List<string> config_name_list;
|
||||
public static List<string> config_money_list;
|
||||
|
||||
public static List<string> old_time_list;
|
||||
public static List<string> new_time_list;
|
||||
public static void getFaqData()
|
||||
{
|
||||
string[] b = ConfigSystem.GetConfig<exBrPoolModel>().dataList[0].user_name.Split(",");
|
||||
int c = UnityEngine.Random.Range(0, b.Length - 30);
|
||||
string[] a = new string[30];
|
||||
config_money_list = new List<string>();
|
||||
string[] d = ConfigSystem.GetConfig<exBrPoolModel>().dataList[0].amount.Split(",");
|
||||
for (int i = 0; i < 30; i++)
|
||||
{
|
||||
a[i] = b[c + i];
|
||||
config_money_list.Add(d[UnityEngine.Random.Range(0, 2)]);
|
||||
}
|
||||
config_name_list = a.ToList();
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
config_name_list.Add(config_name_list[i]);
|
||||
config_money_list.Add(config_money_list[i]);
|
||||
}
|
||||
|
||||
DateTime nowtime = DateTime.Now;
|
||||
|
||||
DateTime oldtime;
|
||||
DateTime newtime;
|
||||
old_time_list = new List<string>();
|
||||
new_time_list = new List<string>();
|
||||
for (int i = 0; i < 30; i++)
|
||||
{
|
||||
oldtime = nowtime.AddSeconds(-UnityEngine.Random.Range(20 * 86400, 30 * 86400));
|
||||
newtime = nowtime.AddSeconds(-UnityEngine.Random.Range(0, 86400));
|
||||
old_time_list.Add(oldtime.Year + "." + oldtime.Month + "." + oldtime.Day);
|
||||
new_time_list.Add(newtime.Year + "." + newtime.Month + "." + newtime.Day);
|
||||
}
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
old_time_list.Add(old_time_list[i]);
|
||||
new_time_list.Add(new_time_list[i]);
|
||||
}
|
||||
Debug.Log(JsonConvert.SerializeObject(old_time_list));
|
||||
Debug.Log(JsonConvert.SerializeObject(new_time_list));
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class exBrPool : BingoBrainConfigData
|
||||
{
|
||||
public string user_name;
|
||||
public string amount;
|
||||
}
|
||||
|
||||
public class exBrPoolModel_2 : BingoBrainConfigModel<exBrPool_2>
|
||||
{
|
||||
public static List<string> config_name_list;
|
||||
public static List<string> config_money_list;
|
||||
|
||||
public static List<string> old_time_list;
|
||||
public static List<string> new_time_list;
|
||||
public static void getFaqData()
|
||||
{
|
||||
string[] b = ConfigSystem.GetConfig<exBrPoolModel_2>().dataList[0].user_name.Split(",");
|
||||
int c = UnityEngine.Random.Range(0, b.Length - 30);
|
||||
string[] a = new string[30];
|
||||
config_money_list = new List<string>();
|
||||
string[] d = ConfigSystem.GetConfig<exBrPoolModel_2>().dataList[0].amount.Split(",");
|
||||
for (int i = 0; i < 30; i++)
|
||||
{
|
||||
a[i] = b[c + i];
|
||||
config_money_list.Add(d[UnityEngine.Random.Range(0, 2)]);
|
||||
}
|
||||
config_name_list = a.ToList();
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
config_name_list.Add(config_name_list[i]);
|
||||
config_money_list.Add(config_money_list[i]);
|
||||
}
|
||||
|
||||
DateTime nowtime = DateTime.Now;
|
||||
|
||||
DateTime oldtime;
|
||||
DateTime newtime;
|
||||
old_time_list = new List<string>();
|
||||
new_time_list = new List<string>();
|
||||
for (int i = 0; i < 30; i++)
|
||||
{
|
||||
oldtime = nowtime.AddSeconds(-UnityEngine.Random.Range(20 * 86400, 30 * 86400));
|
||||
newtime = nowtime.AddSeconds(-UnityEngine.Random.Range(0, 86400));
|
||||
old_time_list.Add(oldtime.Year + "." + oldtime.Month + "." + oldtime.Day);
|
||||
new_time_list.Add(newtime.Year + "." + newtime.Month + "." + newtime.Day);
|
||||
}
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
old_time_list.Add(old_time_list[i]);
|
||||
new_time_list.Add(new_time_list[i]);
|
||||
}
|
||||
Debug.Log(JsonConvert.SerializeObject(old_time_list));
|
||||
Debug.Log(JsonConvert.SerializeObject(new_time_list));
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class exBrPool_2 : BingoBrainConfigData
|
||||
{
|
||||
public string user_name;
|
||||
public string amount;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ac875da1c955842a69ca51e8c3c8605b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,105 @@
|
||||
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
|
||||
public class CommonModel
|
||||
{
|
||||
public float[] ballonReward102;
|
||||
public int TurntableCD;
|
||||
public int CardBoardRecoveryTime;
|
||||
public int[] Fisrtcard;
|
||||
public int[] MaxCardBoardSum;
|
||||
public int[] ballonRewardType;
|
||||
public int Init102Num;
|
||||
public int Init101Num;
|
||||
public int ballonCD;
|
||||
public int[] Activateprop;
|
||||
public int Initial101;
|
||||
public decimal hintDelayTime;
|
||||
public string contactUs;
|
||||
public int[] NumCD;
|
||||
public int[] Initialprop;
|
||||
public int Initialcardprop;
|
||||
public int DynamicType;
|
||||
public int MaxAddCallSum;
|
||||
public int WithdrawalaccelerationCD;
|
||||
public int[] inlineInitNum;
|
||||
public int[] inlineLoginDown;
|
||||
|
||||
public int inlineMin;
|
||||
public int Dailyrefreshtimes;
|
||||
public int darkDailyrefreshtimes;
|
||||
public int flyCtRate;
|
||||
public int otherH5switch;
|
||||
public int H5Refreshtime;
|
||||
public int darkThoughProbability;
|
||||
public int darkH5Refreshtime;
|
||||
|
||||
public int ThroughRewardCD;
|
||||
public int flyCD;
|
||||
public float[] flyReward;
|
||||
public int InitialNum;
|
||||
|
||||
public int loginhallrate;
|
||||
public int backhallrate;
|
||||
public int[] flyAdTime;
|
||||
public int[] propCoord;
|
||||
public int playtimes;
|
||||
public int interstitialtype;
|
||||
public int adrate;
|
||||
|
||||
public int lobbyrewrdtime;
|
||||
public int Activetimes;
|
||||
public int rewardrate;
|
||||
public int roomrewardrate;
|
||||
public int Smallrewardsrate;
|
||||
public int exchangeCD;
|
||||
public float afSendLimit;
|
||||
public float afSendNum;
|
||||
|
||||
public int rewardinsertion;
|
||||
|
||||
public int propswitch;
|
||||
public int flyswitch;
|
||||
public int RevivalCoins;
|
||||
public int Purchaseprops;
|
||||
public float Passportgift;
|
||||
public float Passportgift2;
|
||||
public float addspace;
|
||||
public float addspace2;
|
||||
public int[] darkWVRefreshtime;
|
||||
|
||||
public int[] darkWVDailyrefreshtimes;
|
||||
public int WVswitch;
|
||||
public int[] WVClickAddTime;
|
||||
|
||||
public int PassTimes;
|
||||
public int FailedGiftProgress;
|
||||
|
||||
|
||||
public int PiggyBankSwitch;
|
||||
public int FailedGiftCD;
|
||||
public int roomrate;
|
||||
public int[] WVOffset;
|
||||
public int[] darkWVRefreshtime2;
|
||||
public float[] WVClickCTAddTime1;
|
||||
public float[] WVClickCTAddTime2;
|
||||
//tixian
|
||||
public int WwalaccelerationCD;
|
||||
public int ExpiryUnlock;
|
||||
public int BalanceExpired;
|
||||
public int[] BalanceExchange;
|
||||
public int[] PotExchange;
|
||||
public int ExchangeModeToggle;
|
||||
public int ExchangeProcessMode;
|
||||
public int CHProcessMode;
|
||||
//小额奖励
|
||||
public int SmallReward;
|
||||
public int ProcessingTime;
|
||||
|
||||
public int ExchangeCard;
|
||||
public int[] ExchangeAmazon;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 954729fa345c44828d10b961f984abec
|
||||
timeCreated: 1692604823
|
||||
@@ -0,0 +1,23 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class FlopModel : BingoBrainConfigModel<Flop>
|
||||
{
|
||||
}
|
||||
|
||||
public class Flop : BingoBrainConfigData
|
||||
{
|
||||
public int itemID;
|
||||
|
||||
|
||||
public float[] quantity;
|
||||
|
||||
|
||||
public int weight;
|
||||
|
||||
|
||||
public bool isMulti;
|
||||
|
||||
|
||||
public int cont_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 328dc0c9a696452dadfa166d5e1fd6f8
|
||||
timeCreated: 1699958054
|
||||
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BingoBrain;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class GameConfigModel: BingoBrainConfigModel<GameBoard>
|
||||
{
|
||||
// public List<GameBoard> dataList1;
|
||||
// public List<GameBoard> dataList2;
|
||||
// public List<GameBoard> dataList3;
|
||||
public Dictionary<int, List<GameBoard>> game_conf = new();
|
||||
|
||||
}
|
||||
|
||||
public class GameBoard: BingoBrainConfigData
|
||||
{
|
||||
public int level;
|
||||
public string board;
|
||||
public string stacked;
|
||||
public int item_type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10bc964360df9429d9e443165a9d5c04
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
/* ========================================================
|
||||
* |
|
||||
* | 作者:Tamsiree
|
||||
* | 邮箱:
|
||||
* | 创建时间:2023年11月14日 星期二 17:28:19
|
||||
* | 文件:BingoBrainConfigData
|
||||
* | 主要功能:
|
||||
* | 详细描述:
|
||||
* | 注意事项:
|
||||
* | 脚本版本:1.0
|
||||
* | Unity版本:2021.3.24f1
|
||||
* | [ Vision 0.0.1 ]
|
||||
* | [ Copyright © 2024 Tamsiree. All rights reserved. ]
|
||||
* |
|
||||
* ======================================================== */
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public abstract class BingoBrainConfigData
|
||||
{
|
||||
public int id;
|
||||
public string key;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc0c51507fa048ba9bded470dc8f4d0c
|
||||
timeCreated: 1699954099
|
||||
@@ -0,0 +1,63 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public abstract class BingoBrainConfigModel<T> where T : BingoBrainConfigData
|
||||
{
|
||||
protected internal List<T> dataList;
|
||||
|
||||
public BingoBrainConfigModel()
|
||||
{
|
||||
}
|
||||
|
||||
public void SetDataList(List<T> data)
|
||||
{
|
||||
dataList = data;
|
||||
}
|
||||
|
||||
public BingoBrainConfigModel(List<T> data)
|
||||
{
|
||||
dataList = data;
|
||||
}
|
||||
|
||||
public int GetCount()
|
||||
{
|
||||
return dataList?.Count ?? 0;
|
||||
}
|
||||
|
||||
public T GetFirst()
|
||||
{
|
||||
return dataList?.FirstOrDefault();
|
||||
}
|
||||
|
||||
public T GetLast()
|
||||
{
|
||||
return dataList?.LastOrDefault();
|
||||
}
|
||||
|
||||
public T GetData(int id)
|
||||
{
|
||||
foreach (var item in dataList)
|
||||
{
|
||||
if (item.id == id) return item;
|
||||
}
|
||||
return dataList[0];
|
||||
}
|
||||
|
||||
public T GetData(string key)
|
||||
{
|
||||
return dataList?.FirstOrDefault(t => t.key == key);
|
||||
}
|
||||
|
||||
public T GetDataByIndex(int index)
|
||||
{
|
||||
return dataList?.ElementAtOrDefault(index);
|
||||
}
|
||||
|
||||
public List<T> GetDataList()
|
||||
{
|
||||
return dataList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76a3ba48432c4e0099121573c5ded59f
|
||||
timeCreated: 1699953959
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class Out101Model : BingoBrainConfigModel<Out101>
|
||||
{
|
||||
}
|
||||
|
||||
public class Out101 : BingoBrainConfigData
|
||||
{
|
||||
public int[] totalCoin;
|
||||
public int[] coinRange;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0001156ea2b54580940f9bc93bb4d07b
|
||||
timeCreated: 1699947661
|
||||
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class Out102Model : BingoBrainConfigModel<Out102>
|
||||
{
|
||||
}
|
||||
|
||||
public class Out102 : BingoBrainConfigData
|
||||
{
|
||||
public float[] totalCash;
|
||||
|
||||
|
||||
public float[] cashRange;
|
||||
|
||||
|
||||
public float[] cashRange2;
|
||||
|
||||
|
||||
public float range;
|
||||
public int cashmultiple;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05ae64638e224861858ee8897edb8e1e
|
||||
timeCreated: 1699947948
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class PropModel : BingoBrainConfigModel<Prop>
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public class Prop : BingoBrainConfigData
|
||||
{
|
||||
public int[] quantity;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab72cf4a85b64c528f65b5f2d4454af3
|
||||
timeCreated: 1703744566
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class QBLOXModel : BingoBrainConfigModel<QBLOX>
|
||||
{
|
||||
}
|
||||
|
||||
public class QBLOX : BingoBrainConfigData
|
||||
{
|
||||
public int itemId;
|
||||
|
||||
|
||||
public bool isCoin;
|
||||
|
||||
|
||||
public float[] quantity;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eebde22834274bd28256cd92a0b53673
|
||||
timeCreated: 1699957500
|
||||
@@ -0,0 +1,92 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class RewardNumModel: BingoBrainConfigModel<rewardNum>
|
||||
{
|
||||
// public List<RewardNum> dataList;
|
||||
}
|
||||
|
||||
public class rewardNum: BingoBrainConfigData
|
||||
{
|
||||
|
||||
public int[] cash_1;
|
||||
public int[] cash_2;
|
||||
public int[] cash_3;
|
||||
|
||||
public float[] nor_1;
|
||||
public float[] nor_2;
|
||||
public float[] nor_3;
|
||||
public float rv_1;
|
||||
public float rv_2;
|
||||
public float rv_3;
|
||||
|
||||
}
|
||||
public class SmallrewardNumModel: BingoBrainConfigModel<SmallrewardNum>
|
||||
{
|
||||
// public List<SmallrewardNum> dataList;
|
||||
}
|
||||
|
||||
public class SmallrewardNum: BingoBrainConfigData
|
||||
{
|
||||
|
||||
public float[] cash_1;
|
||||
public float[] cash_2;
|
||||
public float[] cash_3;
|
||||
public float[] nor_1;
|
||||
public float[] nor_2;
|
||||
public float[] nor_3;
|
||||
public float rv_1;
|
||||
public float rv_2;
|
||||
public float rv_3;
|
||||
}
|
||||
public class LargerewardNumModel: BingoBrainConfigModel<LargerewardNum>
|
||||
{
|
||||
// public List<LargerewardNum> dataList;
|
||||
}
|
||||
|
||||
public class LargerewardNum: BingoBrainConfigData
|
||||
{
|
||||
|
||||
public float[] cash_1;
|
||||
public float[] cash_2;
|
||||
public float[] cash_3;
|
||||
public float[] nor_1;
|
||||
public float[] nor_2;
|
||||
public float[] nor_3;
|
||||
public float rv_1;
|
||||
public float rv_2;
|
||||
public float rv_3;
|
||||
}
|
||||
public class PaidgiftModel: BingoBrainConfigModel<Paidgift>
|
||||
{
|
||||
//public List<Paidgift> dataList;
|
||||
}
|
||||
|
||||
public class Paidgift: BingoBrainConfigData
|
||||
{
|
||||
public int Paid_type;
|
||||
public float Paid_price;
|
||||
public float Paid_price2;
|
||||
|
||||
public int coins_quantity;
|
||||
public int[] props_quantity;
|
||||
|
||||
}
|
||||
public class MultigiftModel: BingoBrainConfigModel<Multigift>
|
||||
{
|
||||
//public List<Paidgift> dataList;
|
||||
}
|
||||
|
||||
public class Multigift: BingoBrainConfigData
|
||||
{
|
||||
public float Paid_price;
|
||||
public float Paid_price2;
|
||||
|
||||
public int coins_quantity;
|
||||
|
||||
public int[] props_type;
|
||||
public int[] props_quantity;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d80c8328e564d4ef2b9e3594f6f9fa0f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
|
||||
public class SignDailyModel : BingoBrainConfigModel<SignDaily>
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public class SignDaily : BingoBrainConfigData
|
||||
{
|
||||
public int item1;
|
||||
|
||||
|
||||
public float[] quantity;
|
||||
|
||||
|
||||
public bool isMulti;
|
||||
|
||||
|
||||
public int cont_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a769587e2284462b91b4fa4901ff9b2
|
||||
timeCreated: 1692608180
|
||||
@@ -0,0 +1,29 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class TaskListModel : BingoBrainConfigModel<TaskList>
|
||||
{
|
||||
}
|
||||
|
||||
public class TaskList : BingoBrainConfigData
|
||||
{
|
||||
public string taskName;
|
||||
|
||||
|
||||
public int taskNum;
|
||||
|
||||
|
||||
public int rewardID;
|
||||
|
||||
|
||||
public int rewardFirst;
|
||||
|
||||
|
||||
public float[] reward;
|
||||
|
||||
|
||||
public bool isMulti;
|
||||
|
||||
|
||||
public int cont_index;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1360a8a417d441bd9b7be73d88ad23f8
|
||||
timeCreated: 1699956808
|
||||
@@ -0,0 +1,40 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
|
||||
public class TurntableModel : BingoBrainConfigModel<Turntable>
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public class Turntable : BingoBrainConfigData
|
||||
{
|
||||
public int Seq;
|
||||
|
||||
|
||||
public int wheel_itemA;
|
||||
|
||||
|
||||
public int[] quantityA;
|
||||
|
||||
|
||||
public int weightA;
|
||||
|
||||
|
||||
public bool isMulti;
|
||||
|
||||
|
||||
public int cont_index;
|
||||
|
||||
|
||||
public int wheel_itemB;
|
||||
|
||||
|
||||
public float[] quantityB;
|
||||
|
||||
|
||||
public int weightB;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 671d5d5cb3564be889f812334b1614c6
|
||||
timeCreated: 1695370321
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a3ef8829eecb8e4785f903060bb3061
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,193 @@
|
||||
using System.Collections.Generic;
|
||||
using DG.Tweening;
|
||||
using FairyGUI;
|
||||
using BingoBrain;
|
||||
using BingoBrain.Core;
|
||||
using BingoBrain.HotFix;
|
||||
using UnityEngine;
|
||||
|
||||
public static class BingoCell
|
||||
{
|
||||
public static Transform root;
|
||||
|
||||
public static int bingoCount = 5;
|
||||
|
||||
public static int FixedNum = 12;
|
||||
|
||||
public static List<Tween> tweens = new List<Tween>();
|
||||
|
||||
public static List<int> FixedCallIndexList = new List<int>
|
||||
{
|
||||
0, 6, 24, 18, 15, 5, 4, 10, 20
|
||||
};
|
||||
|
||||
public static bool isFirstGame;
|
||||
|
||||
public static Vector2 CenterUIPos
|
||||
{
|
||||
get
|
||||
{
|
||||
Vector2 size = GRoot.inst.size / 2;
|
||||
return new Vector2(size.x, size.y);
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsPauseGame => PauseSum > 0;
|
||||
|
||||
public static bool IsGuiding => false;
|
||||
|
||||
public static bool IsInGame = false;
|
||||
|
||||
public static bool isVictory = false;
|
||||
|
||||
public static int PauseSum;
|
||||
|
||||
public static bool isProcedure;
|
||||
|
||||
#region 叫号逻辑
|
||||
|
||||
public static int MaxAddCallSum;
|
||||
|
||||
public static int AddCallSum;
|
||||
|
||||
public static int MaxCallSum;
|
||||
|
||||
private static int callSpeed = 1;
|
||||
|
||||
public static bool isGameOver = false;
|
||||
|
||||
public static int CallSpeed
|
||||
{
|
||||
get => callSpeed;
|
||||
set
|
||||
{
|
||||
callSpeed = value;
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.CallSpeedChange, callSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Bingo逻辑
|
||||
|
||||
public static int CardBoardCount
|
||||
{
|
||||
get
|
||||
{
|
||||
if (PreferencesMgr.Instance.CardBoardIndex < 0 || PreferencesMgr.Instance.CardBoardIndex > 2)
|
||||
{
|
||||
PreferencesMgr.Instance.CardBoardIndex = 0;
|
||||
}
|
||||
|
||||
return cardBoardNumList[PreferencesMgr.Instance.CardBoardIndex];
|
||||
}
|
||||
}
|
||||
|
||||
public static int MaxCoinCount
|
||||
{
|
||||
get { return GameHelper.GetCommonModel().Initialprop[1]; }
|
||||
}
|
||||
|
||||
public static int MinCoinCount
|
||||
{
|
||||
get { return GameHelper.GetCommonModel().Initialprop[0]; }
|
||||
}
|
||||
|
||||
public static int MaxCashCount
|
||||
{
|
||||
get { return GameHelper.GetCommonModel().Initialprop[3]; }
|
||||
}
|
||||
|
||||
public static int MinCashCount
|
||||
{
|
||||
get { return GameHelper.GetCommonModel().Initialprop[2]; }
|
||||
}
|
||||
|
||||
#region 能量道具
|
||||
|
||||
public static int curEnergy;
|
||||
|
||||
public static float EnergyPrg
|
||||
{
|
||||
get { return BingoCell.curEnergy * 1F / BingoCell.FullEnergy; }
|
||||
}
|
||||
|
||||
public static int FullEnergy
|
||||
{
|
||||
get { return GameHelper.GetCommonModel().Activateprop[PreferencesMgr.Instance.CardBoardIndex]; }
|
||||
}
|
||||
|
||||
public static bool IsFullEnergy
|
||||
{
|
||||
get { return curEnergy == FullEnergy; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public static List<CardBoardEntity> cardBoardList = new List<CardBoardEntity>();
|
||||
|
||||
public static Dictionary<int, List<int>> bingoDic = new Dictionary<int, List<int>>();
|
||||
|
||||
public static List<int> calledList = new List<int>();
|
||||
|
||||
private static int[] cardBoardNumList = new[]
|
||||
{
|
||||
1, 2, 4
|
||||
};
|
||||
|
||||
public static bool isCallFinish;
|
||||
|
||||
public static bool isPropRewarding;
|
||||
|
||||
public static int bingoCardboardIndex = -1;
|
||||
|
||||
#endregion
|
||||
|
||||
#region 卡牌
|
||||
|
||||
public static int KeyCardSum { get; set; }
|
||||
|
||||
public static void AddKeyCardSum(int sum)
|
||||
{
|
||||
KeyCardSum += sum;
|
||||
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.KeyCardSumChane);
|
||||
}
|
||||
|
||||
public static void OpenActivityUI(object o = null)
|
||||
{
|
||||
KeyCardSum -= 3;
|
||||
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.KeyCardSumChane);
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BingoCardUI_Open);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 奖励
|
||||
|
||||
public static decimal GetCoinSum;
|
||||
|
||||
public static decimal GetCashSum;
|
||||
|
||||
public static void AddReadSum(int id, decimal Sum)
|
||||
{
|
||||
if (id == 101)
|
||||
{
|
||||
GetCoinSum += Sum;
|
||||
}
|
||||
|
||||
if (id == 102)
|
||||
{
|
||||
GetCashSum += Sum;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 道具系统
|
||||
|
||||
public static Vector3 propOriginPos;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 988c7d7380e54d2592b9d4641552cc17
|
||||
timeCreated: 1699945443
|
||||
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class CardBoardData
|
||||
{
|
||||
public int index;
|
||||
public List<int> cardNumList = new();
|
||||
public List<int> selectList = new();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 171160b018dd4ca1ba8143f6b279e4f6
|
||||
timeCreated: 1699945675
|
||||
@@ -0,0 +1,23 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class CardData
|
||||
{
|
||||
public int index;
|
||||
public CardBoardEntity cardBoard;
|
||||
public int num;
|
||||
public bool isDelaySelect;
|
||||
public bool isSelect;
|
||||
public bool isCoin;
|
||||
public CardPropType type;
|
||||
}
|
||||
|
||||
public enum CardPropType
|
||||
{
|
||||
none=-1,
|
||||
coin,
|
||||
coinx3,
|
||||
cash,
|
||||
cashx3,
|
||||
fanpai,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 374e9c67c5ee4b1ba0fa6c590aeb92d1
|
||||
timeCreated: 1699945714
|
||||
@@ -0,0 +1,74 @@
|
||||
|
||||
|
||||
using System;
|
||||
using FairyGUI;
|
||||
using BingoBrain.Core;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class RewardedVal
|
||||
{
|
||||
private static Jcna<RewardedVal> _pool = new Jcna<RewardedVal>();
|
||||
public static RewardedVal Get(int id, double sum)
|
||||
{
|
||||
return Get(id,sum,null);
|
||||
}
|
||||
public static RewardedVal Get(int id, double sum,Action<bool> finish)
|
||||
{
|
||||
return Get(id,sum, GRoot.inst.size / 2,finish);
|
||||
}
|
||||
|
||||
public static RewardedVal Get(int id, double sum,Vector2 pot,Action<bool> finish=null)
|
||||
{
|
||||
RewardedVal val = _pool.Get();
|
||||
val.Id = id;
|
||||
val.Sum = sum;
|
||||
val.StartPot = pot;
|
||||
val.IsPlayAudio = true;
|
||||
val.IsAddReadSum = true;
|
||||
val.onfinish = finish;
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
public void Release()
|
||||
{
|
||||
Id = 0;
|
||||
Sum = 0;
|
||||
onfinish = null;
|
||||
IsMulti = false;
|
||||
cont_index = -1;
|
||||
IsPlayAudio = true;
|
||||
StartPot = GRoot.inst.size / 2;
|
||||
_pool.Release(this);
|
||||
}
|
||||
|
||||
public RewardedVal()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Action<bool> onfinish;
|
||||
public Action<bool> onResult;
|
||||
|
||||
public int Id { get; set; }
|
||||
public double Sum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否翻倍
|
||||
/// </summary>
|
||||
public bool IsMulti { get; set; }
|
||||
/// <summary>
|
||||
/// 索引index
|
||||
/// </summary>
|
||||
public int cont_index { get; set; }
|
||||
|
||||
public Vector2 StartPot;
|
||||
|
||||
public bool IsPlayAudio=true;
|
||||
|
||||
public bool IsAddReadSum = true;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d51d66b3d5b4fb482263351575f9e22
|
||||
timeCreated: 1699949510
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4115be74f64478e91e3503927734ab9
|
||||
timeCreated: 1692323976
|
||||
@@ -0,0 +1,479 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using DG.Tweening;
|
||||
using BingoBrain.Core;
|
||||
using BingoBrain.HotFix;
|
||||
using Spine.Unity;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class CardBoardEntity
|
||||
{
|
||||
public GameCell GoCell = new();
|
||||
|
||||
public CardBoardData data = new();
|
||||
public List<CardEntity> cardList = new();
|
||||
public bool isFinish;
|
||||
public bool isBingoing;
|
||||
|
||||
public SkeletonAnimation bingGoSke;
|
||||
private ParticleSystem[] idleSys = new ParticleSystem[3];
|
||||
private ParticleSystem[] enterSys = new ParticleSystem[3];
|
||||
private ParticleSystem exitSys;
|
||||
|
||||
private Vector3 originPos = new(-3.38f, 2.96f);
|
||||
private float offset = 1.685f;
|
||||
private Transform finishMask;
|
||||
|
||||
private List<int> needShowBingoList = new();
|
||||
private Gsss showBingoSequence = new();
|
||||
|
||||
private bool isDelayCheckBingo;
|
||||
|
||||
public List<int> bingoedList = new();
|
||||
|
||||
public void SetData()
|
||||
{
|
||||
InitGameObj();
|
||||
InitCardList();
|
||||
InitReward();
|
||||
}
|
||||
|
||||
void InitReward()
|
||||
{
|
||||
var coinCount = Random.Range(BingoCell.MinCoinCount, BingoCell.MaxCoinCount + 1);
|
||||
var cashCount = Random.Range(BingoCell.MinCashCount, BingoCell.MaxCashCount + 1);
|
||||
|
||||
var list = GlobalHarmony.GetRandomList(
|
||||
cardList.FindAll(tmp => !tmp.data.isSelect && !tmp.data.isCoin && tmp.data.type == CardPropType.none),
|
||||
coinCount);
|
||||
if (list != null)
|
||||
{
|
||||
foreach (var card in list)
|
||||
{
|
||||
card.data.type = CardPropType.coin;
|
||||
}
|
||||
}
|
||||
|
||||
list = GlobalHarmony.GetRandomList(
|
||||
cardList.FindAll(tmp => !tmp.data.isSelect && !tmp.data.isCoin && tmp.data.type == CardPropType.none),
|
||||
cashCount);
|
||||
if (list != null)
|
||||
{
|
||||
foreach (var card in list)
|
||||
{
|
||||
card.data.type = CardPropType.cash;
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var card in cardList)
|
||||
{
|
||||
card.SetReward();
|
||||
}
|
||||
}
|
||||
|
||||
private void InitGameObj()
|
||||
{
|
||||
if (GoCell.gameObject == null)
|
||||
{
|
||||
GoCell.InitByPath("Prefab.Game.Card", "CardBoard", () =>
|
||||
{
|
||||
GoCell.transform.SetParent(BingoCell.root, false);
|
||||
GoCell.gameObject.SetActive(false);
|
||||
finishMask = GoCell.transform.Find("Finish");
|
||||
DoSomething();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
DoSomething();
|
||||
}
|
||||
}
|
||||
|
||||
private void DoSomething()
|
||||
{
|
||||
if (!bingGoSke)
|
||||
{
|
||||
FX.Instance.GetFx<SkeletonAnimation>(Fx_Type.spine_bingo, sk =>
|
||||
{
|
||||
bingGoSke = sk;
|
||||
bingGoSke.transform.SetParent(GoCell.transform);
|
||||
bingGoSke.transform.localPosition = Vector3.zero;
|
||||
idleSys[0] = bingGoSke.transform.Find("fx_lizi_idle01").GetComponent<ParticleSystem>();
|
||||
idleSys[1] = bingGoSke.transform.Find("fx_lizi_idle02").GetComponent<ParticleSystem>();
|
||||
idleSys[2] = bingGoSke.transform.Find("fx_lizi_idle03").GetComponent<ParticleSystem>();
|
||||
enterSys[0] = bingGoSke.transform.Find("fx_lizi_enter01").GetComponent<ParticleSystem>();
|
||||
enterSys[1] = bingGoSke.transform.Find("fx_lizi_enter02").GetComponent<ParticleSystem>();
|
||||
enterSys[2] = bingGoSke.transform.Find("fx_lizi_enter03").GetComponent<ParticleSystem>();
|
||||
for (var i = 0; i < 3; i++)
|
||||
{
|
||||
idleSys[i].gameObject.SetActive(false);
|
||||
enterSys[i].gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
exitSys = bingGoSke.transform.Find("fx_lizi_exit").GetComponent<ParticleSystem>();
|
||||
bingGoSke.gameObject.SetActive(false);
|
||||
GoCell.gameObject.SetActive(true);
|
||||
finishMask.gameObject.SetActive(false);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
bingGoSke.gameObject.SetActive(false);
|
||||
GoCell.gameObject.SetActive(true);
|
||||
finishMask.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void InitCardList()
|
||||
{
|
||||
var index = 0;
|
||||
var isFirst = cardList.Count == 0;
|
||||
foreach (var cardData in data.cardNumList)
|
||||
{
|
||||
CardEntity cardEntity;
|
||||
if (isFirst)
|
||||
{
|
||||
cardEntity = new CardEntity();
|
||||
cardEntity.InitGameObj(() =>
|
||||
{
|
||||
cardEntity.data.index = index;
|
||||
cardEntity.data.cardBoard = this;
|
||||
cardList.Add(cardEntity);
|
||||
SetByIndex(cardEntity.Game.transform, index);
|
||||
cardEntity.Game.transform.SetParent(GoCell.transform, false);
|
||||
index++;
|
||||
|
||||
cardEntity.data.isSelect = false;
|
||||
cardEntity.data.isCoin = false;
|
||||
cardEntity.data.isDelaySelect = false;
|
||||
cardEntity.data.type = CardPropType.none;
|
||||
cardEntity.data.num = cardData;
|
||||
cardEntity.SetByData();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
cardEntity = cardList[index];
|
||||
cardEntity.InitGameObj(() =>
|
||||
{
|
||||
cardEntity.data.isSelect = false;
|
||||
cardEntity.data.isCoin = false;
|
||||
cardEntity.data.isDelaySelect = false;
|
||||
cardEntity.data.type = CardPropType.none;
|
||||
cardEntity.data.num = cardData;
|
||||
cardEntity.SetByData();
|
||||
});
|
||||
index++;
|
||||
}
|
||||
|
||||
if (index == data.cardNumList.Count)
|
||||
{
|
||||
finishMask.SetAsLastSibling();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetByIndex(Transform gameObjTransform, int index)
|
||||
{
|
||||
if (gameObjTransform != null)
|
||||
{
|
||||
gameObjTransform.localPosition = originPos + new Vector3(index / BingoCell.bingoCount * offset,
|
||||
index % BingoCell.bingoCount * -(offset + 0.02f));
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("[ BingoBrain ] gameObjTransform is null");
|
||||
}
|
||||
}
|
||||
|
||||
public void OnReset()
|
||||
{
|
||||
needShowBingoList.Clear();
|
||||
bingoedList.Clear();
|
||||
data.selectList.Clear();
|
||||
data.cardNumList.Clear();
|
||||
isBingoing = false;
|
||||
isFinish = false;
|
||||
foreach (var card in cardList)
|
||||
{
|
||||
card.OnReset();
|
||||
}
|
||||
|
||||
for (var i = 0; i < 3; i++)
|
||||
{
|
||||
idleSys[i].gameObject.SetActive(false);
|
||||
enterSys[i].gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
exitSys.gameObject.SetActive(false);
|
||||
|
||||
showBingoSequence?.Cancel();
|
||||
}
|
||||
|
||||
public void DelayCheckBingo()
|
||||
{
|
||||
if (BingoCell.isProcedure)
|
||||
{
|
||||
isDelayCheckBingo = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
CheckBingo();
|
||||
}
|
||||
}
|
||||
|
||||
public void CheckBingo()
|
||||
{
|
||||
if (BingoCell.isProcedure)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (BingoCell.bingoCardboardIndex != -1 && BingoCell.bingoCardboardIndex != data.index)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
var bingoType = IsBingo(data.selectList);
|
||||
while (bingoType != -1)
|
||||
{
|
||||
BingoCell.bingoCardboardIndex = data.index;
|
||||
isBingoing = true;
|
||||
bingoedList.Add(bingoType);
|
||||
PreferencesMgr.Instance.BingoSum += 1;
|
||||
|
||||
needShowBingoList.Add(bingoType);
|
||||
bingoType = IsBingo(data.selectList);
|
||||
}
|
||||
|
||||
showBingoSequence = new Gsss();
|
||||
if (needShowBingoList.Count != 0)
|
||||
{
|
||||
|
||||
showBingoSequence.Add(obj =>
|
||||
{
|
||||
var delay = 0.2f;
|
||||
foreach (var tmpType in needShowBingoList)
|
||||
{
|
||||
var count = BingoCell.bingoDic[tmpType].Count;
|
||||
|
||||
for (var j = 0; j < count; j++)
|
||||
{
|
||||
var index = BingoCell.bingoDic[tmpType][j];
|
||||
if (cardList[index].data.isCoin)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
cardList[index].SetCoin(delay);
|
||||
}
|
||||
}
|
||||
|
||||
DOVirtual.DelayedCall(delay, obj.InvokeComplete).SetAutoKill();
|
||||
});
|
||||
|
||||
|
||||
showBingoSequence.Add((obj) =>
|
||||
{
|
||||
Audio.Instance.PlayDynamicEffect("Bingo");
|
||||
|
||||
int bingoingNumber = Mathf.Clamp(bingoedList.Count, 0, 3);
|
||||
NAAVsa.SetSkin(bingGoSke, "default");
|
||||
this.bingGoSke.gameObject.SetActive(true);
|
||||
switch (bingoingNumber)
|
||||
{
|
||||
case 1:
|
||||
this.bingGoSke.state.SetAnimation(0, "single", false);
|
||||
break;
|
||||
case 2:
|
||||
this.bingGoSke.state.SetAnimation(0, "double", false);
|
||||
break;
|
||||
case 3:
|
||||
this.bingGoSke.state.SetAnimation(0, "multiple", false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
enterSys[bingoingNumber - 1].gameObject.SetActive(true);
|
||||
idleSys[bingoingNumber - 1].gameObject.SetActive(true);
|
||||
finishMask.gameObject.SetActive(true);
|
||||
if (bingoedList.Count >= 3 && !isDelayCheckBingo)
|
||||
{
|
||||
DOVirtual.DelayedCall(1.8f, () =>
|
||||
{
|
||||
NAAVsa.SetSkin(bingGoSke, "default");
|
||||
idleSys[bingoingNumber - 1].gameObject.SetActive(true);
|
||||
enterSys[bingoingNumber - 1].gameObject.SetActive(false);
|
||||
obj.InvokeComplete();
|
||||
}).SetAutoKill();
|
||||
}
|
||||
else
|
||||
{
|
||||
DOVirtual.DelayedCall(1.5f, () =>
|
||||
{
|
||||
exitSys.gameObject.SetActive(true);
|
||||
idleSys[bingoingNumber - 1].gameObject.SetActive(false);
|
||||
enterSys[bingoingNumber - 1].gameObject.SetActive(false);
|
||||
|
||||
DOVirtual.DelayedCall(0.8f, (TweenCallback)(() =>
|
||||
{
|
||||
finishMask.gameObject.SetActive(false);
|
||||
this.bingGoSke.gameObject.SetActive(false);
|
||||
exitSys.gameObject.SetActive(false);
|
||||
|
||||
obj.InvokeComplete();
|
||||
}));
|
||||
}).SetAutoKill();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if (needShowBingoList.Count > 1)
|
||||
{
|
||||
|
||||
showBingoSequence.Add(true, obj =>
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.ChestUI_Open);
|
||||
UICtrlDispatcher.Instance.AddOnceListener(SkinInfo.ChestUI_Close,
|
||||
_ => { obj.InvokeComplete(); });
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (showBingoSequence.Count != 0)
|
||||
{
|
||||
|
||||
showBingoSequence.Add(obj =>
|
||||
{
|
||||
if (BingoCell.KeyCardSum >= 3)
|
||||
{
|
||||
|
||||
UICtrlDispatcher.Instance.AddOnceListener(SkinInfo.BingoCardUI_Close, o =>
|
||||
{
|
||||
|
||||
obj.InvokeComplete();
|
||||
});
|
||||
BingoCell.OpenActivityUI();
|
||||
}
|
||||
else
|
||||
{
|
||||
obj.InvokeComplete();
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
if (BingoCell.KeyCardSum >= 3)
|
||||
{
|
||||
showBingoSequence.Add(obj =>
|
||||
{
|
||||
if (BingoCell.KeyCardSum >= 3)
|
||||
{
|
||||
|
||||
UICtrlDispatcher.Instance.AddOnceListener(SkinInfo.BingoCardUI_Close, o =>
|
||||
{
|
||||
|
||||
obj.InvokeComplete();
|
||||
});
|
||||
BingoCell.OpenActivityUI();
|
||||
}
|
||||
else
|
||||
{
|
||||
obj.InvokeComplete();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (showBingoSequence.Count != 0)
|
||||
{
|
||||
BingoCell.isProcedure = true;
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.AddPause, 1);
|
||||
showBingoSequence.onFinish = OnFinish;
|
||||
showBingoSequence.Run();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
isBingoing = false;
|
||||
BingoCell.isProcedure = false;
|
||||
showBingoSequence.onFinish = null;
|
||||
|
||||
|
||||
CheckFinish();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnFinish()
|
||||
{
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.AddPause, -1);
|
||||
needShowBingoList.Clear();
|
||||
BingoCell.bingoCardboardIndex = -1;
|
||||
|
||||
BingoCell.isProcedure = false;
|
||||
if (isDelayCheckBingo)
|
||||
{
|
||||
|
||||
isDelayCheckBingo = false;
|
||||
CheckBingo();
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.CheckBingo, data.index);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if (isBingoing)
|
||||
{
|
||||
isBingoing = false;
|
||||
CheckFinish();
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.CheckBingo, data.index);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void CheckFinish()
|
||||
{
|
||||
if (bingoedList.Count >= 3)
|
||||
{
|
||||
|
||||
isFinish = true;
|
||||
|
||||
if (!bingGoSke.gameObject.activeInHierarchy)
|
||||
{
|
||||
bingGoSke.gameObject.SetActive(true);
|
||||
NAAVsa.SetSkin(bingGoSke, "default");
|
||||
|
||||
idleSys[2].gameObject.SetActive(true);
|
||||
finishMask.gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
if (!BingoCell.IsInGame)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.FinishOneCardBoard, this);
|
||||
}
|
||||
}
|
||||
|
||||
public int IsBingo(List<int> selectList)
|
||||
{
|
||||
foreach (var kv in from kv in BingoCell.bingoDic
|
||||
where !bingoedList.Contains(kv.Key)
|
||||
let isAllMatch = kv.Value.All(selectList.Contains)
|
||||
where isAllMatch
|
||||
select kv)
|
||||
{
|
||||
return kv.Key;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b39336ad4d2546cfb31bb301d9c8e68e
|
||||
timeCreated: 1699945567
|
||||
@@ -0,0 +1,286 @@
|
||||
using System;
|
||||
using DG.Tweening;
|
||||
using BingoBrain.Core;
|
||||
using BingoBrain.HotFix;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using Spine;
|
||||
using UnityEngine.UI;
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class CardEntity
|
||||
{
|
||||
public CardData data = new CardData();
|
||||
public GameCell Game = new GameCell();
|
||||
private TextMeshPro text;
|
||||
private SpriteRenderer alphaNum;
|
||||
private GameObject selectStar;
|
||||
private GameObject coin;
|
||||
|
||||
private Transform reward;
|
||||
|
||||
private Tween alphaTween;
|
||||
|
||||
public void InitGameObj(Action action)
|
||||
{
|
||||
if (Game.gameObject == null)
|
||||
{
|
||||
string card_name = "CardItem";
|
||||
if (GameHelper.IsGiftSwitch()) card_name = "CardItem_gift";
|
||||
Game.InitByPath("Prefab.Game.Card", card_name, () =>
|
||||
{
|
||||
text = Game.transform.Find("num").GetComponent<TextMeshPro>();
|
||||
selectStar = Game.transform.Find("selectStar").gameObject;
|
||||
reward = Game.transform.Find("reward");
|
||||
coin = Game.transform.Find("coin").gameObject;
|
||||
alphaNum = text.transform.GetChild(0).GetComponent<SpriteRenderer>();
|
||||
Game.transform.localScale = Vector3.one * 1.04f;
|
||||
TriggerBingo.Get(Game.gameObject).onClick = OnClick;
|
||||
alphaNum.color = new Color(1f, 1f, 1f, 0f);
|
||||
action?.Invoke();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
alphaNum.color = new Color(1f, 1f, 1f, 0f);
|
||||
action?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetByData()
|
||||
{
|
||||
// alphaNum.text = text.text = GameHelper.GetNum(data.num);
|
||||
text.text = GameHelper.GetNum(data.num);
|
||||
if (data.cardBoard.data.selectList.Contains(data.index))
|
||||
{
|
||||
data.isSelect = true;
|
||||
}
|
||||
|
||||
if (data.isDelaySelect)
|
||||
{
|
||||
if (!data.cardBoard.data.selectList.Contains(data.index))
|
||||
{
|
||||
CheckReward();
|
||||
data.cardBoard.data.selectList.Add(data.index);
|
||||
data.isSelect = true;
|
||||
}
|
||||
}
|
||||
|
||||
SetIsSelect();
|
||||
}
|
||||
|
||||
public void AddToSelectedList()
|
||||
{
|
||||
data.isDelaySelect = true;
|
||||
}
|
||||
|
||||
public void SetReward()
|
||||
{
|
||||
if (data.type == CardPropType.none || data.isSelect)
|
||||
{
|
||||
reward.gameObject.SetActive(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
reward.gameObject.SetActive(true);
|
||||
for (int i = 0; i < reward.childCount; i++)
|
||||
{
|
||||
reward.GetChild(i).gameObject.SetActive(i == (int)data.type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void OnReset()
|
||||
{
|
||||
alphaTween?.Pause();
|
||||
delayedCall?.Kill();
|
||||
delayedCall = null;
|
||||
alphaNum.color = new Color(1f, 1f, 1f, 0f);
|
||||
data.cardBoard.isFinish = false;
|
||||
data.cardBoard.isBingoing = false;
|
||||
data.isSelect = false;
|
||||
data.isCoin = false;
|
||||
}
|
||||
|
||||
private void OnClick(PointerEventData pointerEventData)
|
||||
{
|
||||
if (!BingoCell.IsInGame)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (data.cardBoard.isFinish)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (data.cardBoard.isBingoing)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (BingoCell.isCallFinish)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (BingoCell.isGameOver)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (NNfds.IsPointerOnUI())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (data.isDelaySelect)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (BingoCell.calledList.Contains(data.num))
|
||||
{
|
||||
Audio.Instance.PlayDynamicEffect("daub");
|
||||
}
|
||||
else
|
||||
{
|
||||
Audio.Instance.PlayDynamicEffect("daub_error");
|
||||
}
|
||||
|
||||
if (!data.isSelect && BingoCell.calledList.Contains(data.num))
|
||||
{
|
||||
data.isSelect = true;
|
||||
data.cardBoard.data.selectList.Add(data.index);
|
||||
|
||||
CheckReward();
|
||||
SetIsSelect();
|
||||
data.cardBoard.CheckBingo();
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.SelectOneNum, this);
|
||||
if (!PreferencesMgr.Instance.IsCompleteFirstGame)
|
||||
{
|
||||
PreferencesMgr.Instance.IsCompleteFirstGame = true;
|
||||
}
|
||||
|
||||
alphaTween?.Pause();
|
||||
alphaNum.color = new Color(1f, 1f, 1f, 0f);
|
||||
var effect = Battle.Instance.ShungTik.Get("Effect.spark.fx_number_enter", "fx_number_enter");
|
||||
effect.transform.SetParent(Game.transform, false);
|
||||
DOVirtual.DelayedCall(1, () => { ReleaseEffect(effect); }).SetAutoKill();
|
||||
}
|
||||
}
|
||||
|
||||
private void ReleaseEffect(GameObject effect)
|
||||
{
|
||||
Battle.Instance.ShungTik.Release(effect);
|
||||
}
|
||||
|
||||
private void CheckReward()
|
||||
{
|
||||
var val = GetSumToType(data.type);
|
||||
var startPot = GameHelper.WoldToUIPot(Game.transform.position);
|
||||
var rewardData = new RewardData
|
||||
{
|
||||
displayType = RewardDisplayType.RewardFly | RewardDisplayType.ValueChange
|
||||
};
|
||||
var rewardSingleData = new Goda(101, val, RewardOrigin.Play)
|
||||
{
|
||||
startPosition = startPot
|
||||
};
|
||||
|
||||
switch (data.type)
|
||||
{
|
||||
case CardPropType.coin:
|
||||
rewardSingleData.id = 101;
|
||||
rewardData.AddReward(rewardSingleData);
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.GetReward, rewardData);
|
||||
|
||||
break;
|
||||
case CardPropType.coinx3:
|
||||
rewardSingleData.id = 101;
|
||||
rewardData.AddReward(rewardSingleData);
|
||||
GameDispatcher.Instance.Dispatch(BingoInfo.GetReward, rewardData);
|
||||
break;
|
||||
case CardPropType.cash:
|
||||
|
||||
rewardSingleData.id = 102;
|
||||
rewardData.AddReward(rewardSingleData);
|
||||
if (GameHelper.IsGiftSwitch()) UICtrlDispatcher.Instance.Dispatch(SkinInfo.StarRewardUI_Open);
|
||||
else GameDispatcher.Instance.Dispatch(BingoInfo.GetReward, rewardData);
|
||||
break;
|
||||
case CardPropType.cashx3:
|
||||
rewardSingleData.id = 102;
|
||||
rewardData.AddReward(rewardSingleData);
|
||||
if (GameHelper.IsGiftSwitch()) UICtrlDispatcher.Instance.Dispatch(SkinInfo.StarRewardUI_Open, true);
|
||||
else GameDispatcher.Instance.Dispatch(BingoInfo.GetReward, rewardData);
|
||||
break;
|
||||
case CardPropType.fanpai:
|
||||
BingoCell.AddKeyCardSum(1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public static decimal GetSumToType(CardPropType type)
|
||||
{
|
||||
var coinVO = GameHelper.GetDynamicVersion_Coin();
|
||||
var cashVO = GameHelper.GetDynamicVersion_Cash();
|
||||
switch (type)
|
||||
{
|
||||
case CardPropType.coin:
|
||||
return coinVO.coinRange[0];
|
||||
case CardPropType.coinx3:
|
||||
return coinVO.coinRange[1];
|
||||
case CardPropType.cash:
|
||||
{
|
||||
var sum = (int)((cashVO.cashRange[1] - cashVO.cashRange[0]) / cashVO.range);
|
||||
return (decimal)(cashVO.cashRange[0] + (UnityEngine.Random.Range(0, sum + 1) * cashVO.range));
|
||||
}
|
||||
case CardPropType.cashx3:
|
||||
{
|
||||
var sum = (int)((cashVO.cashRange2[1] - cashVO.cashRange2[0]) / cashVO.range);
|
||||
return (decimal)(cashVO.cashRange2[0] + (UnityEngine.Random.Range(0, sum + 1) * cashVO.range));
|
||||
}
|
||||
default:
|
||||
return 100;
|
||||
}
|
||||
}
|
||||
|
||||
private float tweenTime = 0.5f;
|
||||
private Tween delayedCall;
|
||||
|
||||
public void TweenAlphaNum()
|
||||
{
|
||||
delayedCall = DOVirtual.DelayedCall((float)GameHelper.GetCommonModel().hintDelayTime, () =>
|
||||
{
|
||||
delayedCall = null;
|
||||
if (data.isSelect)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
alphaTween ??= alphaNum.DOFade(1, tweenTime).SetLoops(-1, LoopType.Yoyo);
|
||||
|
||||
alphaTween.Restart();
|
||||
});
|
||||
}
|
||||
|
||||
void SetIsSelect()
|
||||
{
|
||||
text.gameObject.SetActive(!data.isSelect);
|
||||
selectStar.SetActive(data.isSelect);
|
||||
coin.SetActive(false);
|
||||
reward.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
public void SetCoin(float time = 0.2f)
|
||||
{
|
||||
data.isCoin = true;
|
||||
selectStar.SetActive(false);
|
||||
coin.SetActive(true);
|
||||
text.gameObject.SetActive(false);
|
||||
|
||||
coin.transform.DOScale(1.2f, time / 2).SetLoops(2, LoopType.Yoyo);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d4ccef593e44aa3883824a14fdf747b
|
||||
timeCreated: 1699945567
|
||||
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
|
||||
public class GodDa
|
||||
{
|
||||
public Goda Goda;
|
||||
|
||||
public bool isPlayAudio;
|
||||
|
||||
public string audioName;
|
||||
|
||||
public bool isNeedFly;
|
||||
public bool isNeedValueChange;
|
||||
|
||||
public event Action<decimal> UpdateCb;
|
||||
public event Action EndEventCb;
|
||||
public event Action UICloseEventCb;
|
||||
|
||||
private decimal coinAddTime = 0.45m;
|
||||
|
||||
public bool isSingle;
|
||||
|
||||
|
||||
private decimal showValue;
|
||||
|
||||
|
||||
private decimal showAddValue;
|
||||
|
||||
private bool isCompleted;
|
||||
|
||||
public GodDa(Goda goda)
|
||||
{
|
||||
this.Goda = goda;
|
||||
showValue = goda.GetTotalValue();
|
||||
showAddValue = showValue;
|
||||
}
|
||||
|
||||
public void SetUpdate(Action<decimal> updateCb)
|
||||
{
|
||||
UpdateCb = updateCb;
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
if (isCompleted)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var val = showValue * Convert.ToDecimal(Time.deltaTime) / coinAddTime;
|
||||
if (showAddValue >= val)
|
||||
{
|
||||
showAddValue -= val;
|
||||
if (isNeedValueChange)
|
||||
{
|
||||
UpdateCb?.Invoke(val);
|
||||
}
|
||||
}
|
||||
else if (showAddValue > 0)
|
||||
{
|
||||
if (isNeedValueChange)
|
||||
{
|
||||
UpdateCb?.Invoke(showAddValue);
|
||||
}
|
||||
|
||||
showAddValue = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
EndEvent();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void SetUpdateComplete(Action endEventCb)
|
||||
{
|
||||
EndEventCb = endEventCb;
|
||||
}
|
||||
|
||||
public void EndEvent()
|
||||
{
|
||||
EndEventCb?.Invoke();
|
||||
EndEventCb = null;
|
||||
isCompleted = true;
|
||||
}
|
||||
|
||||
public void UICloseEvent()
|
||||
{
|
||||
UICloseEventCb?.Invoke();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
UpdateCb = null;
|
||||
EndEventCb = null;
|
||||
UICloseEventCb = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 96c535e1964438c499609fb7a2376428
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
|
||||
public class PlayData
|
||||
{
|
||||
public Dictionary<string, object> data;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb09473f43a1ee34d82911835fdb7a1c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
|
||||
public partial class Preferences
|
||||
{
|
||||
public int gameStartCount = 0;
|
||||
|
||||
|
||||
public int loginGameTodayTimes = 0;
|
||||
|
||||
|
||||
public int videoEffective_count;
|
||||
|
||||
|
||||
public bool isLogEffective = false;
|
||||
|
||||
|
||||
public long data_ver = 0;
|
||||
|
||||
|
||||
public bool haveBeenGameStart = false;
|
||||
|
||||
|
||||
public string date = string.Empty;
|
||||
|
||||
|
||||
public int lastLoginDays = 0;
|
||||
|
||||
|
||||
public int xpReachedRewardIndex = -1;
|
||||
|
||||
|
||||
public int playerXP;
|
||||
public long uid;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fa1e3104990281d4e877ab367549a0f8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,290 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public partial class Preferences
|
||||
{
|
||||
public int currency101=50;
|
||||
|
||||
|
||||
public int max101;
|
||||
|
||||
|
||||
public long nextNewDayTime;
|
||||
|
||||
public long ballonCdTime;
|
||||
|
||||
|
||||
public int toDayMaxScore;
|
||||
|
||||
|
||||
public int historyMaxScore;
|
||||
|
||||
|
||||
public string playerName;
|
||||
|
||||
|
||||
public string code;
|
||||
|
||||
|
||||
public int playerAvatarId=1;
|
||||
|
||||
|
||||
public int ticketGameNum;
|
||||
|
||||
|
||||
public int moneyGameNum;
|
||||
|
||||
|
||||
public int loginDay;
|
||||
|
||||
|
||||
public int watchVideoBeginSum;
|
||||
|
||||
|
||||
public int active;
|
||||
|
||||
|
||||
public decimal currency102;
|
||||
|
||||
|
||||
public decimal max102;
|
||||
|
||||
|
||||
public List<bool> dailyTaskState;
|
||||
|
||||
|
||||
public List<bool> dailyTaskActiveState;
|
||||
|
||||
|
||||
public List<Task> activeMissions;
|
||||
|
||||
|
||||
public List<int> finishTaskList;
|
||||
|
||||
|
||||
public List<long> signState;
|
||||
|
||||
|
||||
public List<int> completeGuideList;
|
||||
|
||||
public bool isResetGuide;
|
||||
|
||||
|
||||
public int watchVideoSum;
|
||||
|
||||
|
||||
public bool isOpenedInvite;
|
||||
|
||||
public bool isGod;
|
||||
|
||||
|
||||
public bool isGuideFinish;
|
||||
|
||||
#region FaceBook登录
|
||||
|
||||
public string facebookId;
|
||||
|
||||
|
||||
public string facebookName;
|
||||
|
||||
|
||||
public string facebookAvatarUrl;
|
||||
|
||||
|
||||
public bool isFaceBookLogin;
|
||||
|
||||
#endregion
|
||||
|
||||
public bool isShowRewardFly101 = false;
|
||||
public bool isShowRewardFly102 = false;
|
||||
public bool isShowRewardFly105 = false;
|
||||
public bool isShowRewardFly106 = false;
|
||||
|
||||
#region 转盘
|
||||
|
||||
public int thisDayWatchSlyderVideoNum;
|
||||
|
||||
#endregion
|
||||
|
||||
#region 内购
|
||||
|
||||
public List<int> realIssueIdLst;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public bool isPayBind;
|
||||
|
||||
|
||||
public string paypalAccount;
|
||||
|
||||
|
||||
public bool isSuccessRedeem;
|
||||
|
||||
|
||||
public bool isOpenRedeem = false;
|
||||
|
||||
|
||||
public int gameOfCount;
|
||||
|
||||
|
||||
public int initPropFireCountUsed;
|
||||
|
||||
|
||||
public int initPropBombCountUsed;
|
||||
|
||||
#region 兑换
|
||||
|
||||
public bool exchangeBindGuide;
|
||||
|
||||
|
||||
public string exchangeAccount;
|
||||
|
||||
|
||||
public string exchangeName;
|
||||
|
||||
|
||||
public string exchangeCoinAccount;
|
||||
|
||||
|
||||
public string exchangeCoinFName;
|
||||
|
||||
|
||||
public string exchangeCoinLName;
|
||||
|
||||
|
||||
public string exchangeMailbox;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public int clearBubbleCount;
|
||||
|
||||
|
||||
public int usePropCount;
|
||||
|
||||
|
||||
public int winLeftExtraBallCount;
|
||||
|
||||
|
||||
public bool isRateUs;
|
||||
|
||||
|
||||
public int dailyTaskWinCount;
|
||||
|
||||
public bool isOpenedRealGift;
|
||||
|
||||
|
||||
public decimal webViewOnlineTime;
|
||||
|
||||
|
||||
public bool isClickH5Icon;
|
||||
|
||||
|
||||
public bool isShowOpenReward = false;
|
||||
|
||||
|
||||
public int openRewardCount = 0;
|
||||
|
||||
public bool isRealProcessing;
|
||||
|
||||
|
||||
public int realWatchVideo;
|
||||
|
||||
|
||||
public bool isEditInviteCode = false;
|
||||
|
||||
public decimal webViewMakeUpOnlineTime;
|
||||
|
||||
public decimal webViewADTaskOnlineTime;
|
||||
|
||||
public List<int> withdrawGear;
|
||||
|
||||
|
||||
public long adCashFlyShowTime;
|
||||
|
||||
|
||||
public int cardBoardIndex;
|
||||
|
||||
|
||||
public int bingoSum;
|
||||
|
||||
|
||||
public bool isFirstBingo = true;
|
||||
|
||||
|
||||
public bool isFirstComboBingo = true;
|
||||
|
||||
|
||||
public bool isCompleteFirstGame;
|
||||
|
||||
|
||||
public bool isFirstPropFull = true;
|
||||
|
||||
|
||||
public int gameSum;
|
||||
|
||||
#region 转盘
|
||||
|
||||
public bool isOnceWheel;
|
||||
|
||||
|
||||
public List<float> ferrWheelLst;
|
||||
|
||||
|
||||
public List<float> videlWheelLst;
|
||||
|
||||
|
||||
public string wheelVersion;
|
||||
|
||||
|
||||
public long nextOpenWheelStampTime;
|
||||
|
||||
#endregion
|
||||
|
||||
#region 签到模块
|
||||
|
||||
public long openDailyBonusStampTime;
|
||||
|
||||
#endregion
|
||||
|
||||
#region 统计
|
||||
|
||||
public Dictionary<string, bool> statisticDictionary;
|
||||
public Dictionary<int, bool> statisticMakeupDictionary;
|
||||
public List<int> statisticCashTarget;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public long nextRecoveryTime;
|
||||
|
||||
|
||||
public int cardBoardSum = -1;
|
||||
|
||||
|
||||
public bool isFirstSlot = true;
|
||||
|
||||
|
||||
public bool isFirstBox = true;
|
||||
|
||||
|
||||
public bool isSecondEndShow = true;
|
||||
|
||||
|
||||
public int sum777;
|
||||
|
||||
|
||||
public Dictionary<long, int> bankDic;
|
||||
|
||||
|
||||
public List<DailyBonusItem> dailyBonusItemLst;
|
||||
public int h5StayTime;
|
||||
public decimal makeupTaskH5Time;
|
||||
|
||||
public List<MakeupTaskData> makeupTaskHistory;
|
||||
public List<MakeupTaskData> coinMakeupTaskHistory;
|
||||
public decimal coinMakeupTaskH5Time;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c96714641282bd4599d9910970cc804
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,341 @@
|
||||
using FairyGUI;
|
||||
using System.Linq;
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[Flags]
|
||||
|
||||
public enum RewardDisplayType
|
||||
{
|
||||
None = 0b_0000_0000,
|
||||
|
||||
|
||||
Number = 0b_0000_0001,
|
||||
|
||||
|
||||
ValueChange = 0b_0000_0010,
|
||||
|
||||
|
||||
Dialog = 0b_0000_0100,
|
||||
|
||||
|
||||
RewardFly = 0b_0000_1000,
|
||||
}
|
||||
|
||||
|
||||
|
||||
public enum RewardOrigin
|
||||
{
|
||||
None,
|
||||
Ballon,
|
||||
MoreCard,
|
||||
PickBox,
|
||||
PlayBallon,
|
||||
Slot,
|
||||
PlayCard,
|
||||
Wheel,
|
||||
Redeem,
|
||||
|
||||
|
||||
Naive,
|
||||
|
||||
|
||||
GameWin,
|
||||
|
||||
|
||||
H5Icon,
|
||||
|
||||
|
||||
H5Fly102,
|
||||
|
||||
|
||||
Invite,
|
||||
|
||||
|
||||
SignIn,
|
||||
|
||||
|
||||
Play,
|
||||
|
||||
|
||||
OpenReward,
|
||||
|
||||
DailyTask,
|
||||
|
||||
LuckyWheel,
|
||||
|
||||
BuyGold,
|
||||
AdTask
|
||||
}
|
||||
|
||||
|
||||
|
||||
public enum RewardCondition
|
||||
{
|
||||
None,
|
||||
|
||||
|
||||
AD,
|
||||
}
|
||||
|
||||
|
||||
public class Goda
|
||||
{
|
||||
public int id;
|
||||
|
||||
|
||||
public int type;
|
||||
|
||||
|
||||
public decimal value;
|
||||
|
||||
|
||||
public decimal multiRate;
|
||||
|
||||
|
||||
public decimal rate;
|
||||
|
||||
|
||||
public decimal GetTotalValue()
|
||||
{
|
||||
return Math.Round(value * rate, 2);
|
||||
}
|
||||
|
||||
|
||||
public RewardOrigin origin;
|
||||
|
||||
|
||||
public Vector2 startPosition;
|
||||
|
||||
|
||||
public Vector2 endPosition;
|
||||
|
||||
public Goda(int id, decimal value, RewardOrigin origin)
|
||||
{
|
||||
this.id = id;
|
||||
this.value = value;
|
||||
this.origin = origin;
|
||||
InitData();
|
||||
}
|
||||
public Goda(int id, decimal value, RewardOrigin origin, Vector2 startPosition) : this(id, value,
|
||||
origin)
|
||||
{
|
||||
this.startPosition = startPosition;
|
||||
}
|
||||
|
||||
|
||||
private void InitData()
|
||||
{
|
||||
InitRate();
|
||||
InitMultiRate();
|
||||
}
|
||||
|
||||
|
||||
private void InitRate()
|
||||
{
|
||||
if (rate == 0)
|
||||
{
|
||||
rate = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void InitMultiRate()
|
||||
{
|
||||
if (multiRate == 0)
|
||||
{
|
||||
multiRate = 1;
|
||||
}
|
||||
}
|
||||
|
||||
public void InitFlyPosition()
|
||||
{
|
||||
InitStartPosition();
|
||||
InitEndPosition();
|
||||
}
|
||||
|
||||
private void InitStartPosition()
|
||||
{
|
||||
if (startPosition == Vector2.zero)
|
||||
{
|
||||
startPosition = GRoot.inst.size / 2;
|
||||
}
|
||||
}
|
||||
|
||||
private void InitEndPosition()
|
||||
{
|
||||
if (endPosition == Vector2.zero && id != 0)
|
||||
{
|
||||
var itemUI = GameHelper.GetItemUI(id);
|
||||
var gObject = itemUI?.GetChildAt(1);
|
||||
if (gObject != null)
|
||||
{
|
||||
endPosition = itemUI.LocalToRoot((Vector2)gObject.position + gObject.size / 2, GRoot.inst);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public bool IsCanFly()
|
||||
{
|
||||
return IsCanFly(id);
|
||||
}
|
||||
|
||||
|
||||
public static bool IsCanFly(int id)
|
||||
{
|
||||
if (id == 101 || id == 102 || id == 105 || id == 106)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class RewardData
|
||||
{
|
||||
public List<Goda> rewardDataList;
|
||||
|
||||
|
||||
public RewardDisplayType displayType;
|
||||
|
||||
|
||||
public RewardCondition condition;
|
||||
|
||||
|
||||
private Action<bool> mOnCompleted;
|
||||
|
||||
|
||||
public bool isSingle;
|
||||
|
||||
public decimal ctRate;
|
||||
|
||||
public RewardData()
|
||||
{
|
||||
InitData();
|
||||
}
|
||||
|
||||
public RewardData(int rewardId, decimal rewardValue, RewardOrigin origin, int rate) : this()
|
||||
{
|
||||
AddReward(rewardId, rewardValue, origin, rate);
|
||||
}
|
||||
|
||||
public RewardData(int rewardId, decimal rewardValue, RewardOrigin origin, int rate,
|
||||
Action<bool> onCompleted) : this(
|
||||
rewardId, rewardValue, origin, rate)
|
||||
{
|
||||
mOnCompleted = onCompleted;
|
||||
}
|
||||
|
||||
private RewardData(List<Goda> rewardDataList)
|
||||
{
|
||||
AddRewardList(rewardDataList);
|
||||
}
|
||||
|
||||
private RewardData(List<Goda> rewardDataList, Action<bool> onCompleted) : this(rewardDataList)
|
||||
{
|
||||
mOnCompleted = onCompleted;
|
||||
}
|
||||
|
||||
|
||||
private void AddRewardList(List<Goda> rewardDataList)
|
||||
{
|
||||
if (rewardDataList != null)
|
||||
{
|
||||
foreach (var rewardData in rewardDataList)
|
||||
{
|
||||
AddReward(rewardData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void SetCompleted(Action<bool> onCompleted)
|
||||
{
|
||||
mOnCompleted = onCompleted;
|
||||
}
|
||||
|
||||
|
||||
public void AddCompleted(Action<bool> onCompleted)
|
||||
{
|
||||
mOnCompleted += onCompleted;
|
||||
}
|
||||
|
||||
|
||||
public void OnCompleted(bool isSuccess)
|
||||
{
|
||||
mOnCompleted?.Invoke(isSuccess);
|
||||
}
|
||||
|
||||
public Action<bool> GetCompleted()
|
||||
{
|
||||
return mOnCompleted;
|
||||
}
|
||||
|
||||
|
||||
public void AddReward(Goda goda)
|
||||
{
|
||||
rewardDataList ??= new List<Goda>();
|
||||
|
||||
var isNeedAdd = true;
|
||||
|
||||
foreach (var data in rewardDataList.Where(data => data.id == goda.id))
|
||||
{
|
||||
data.value += goda.value;
|
||||
isNeedAdd = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (isNeedAdd)
|
||||
{
|
||||
rewardDataList.Add(goda);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void AddReward(int rewardId, decimal rewardValue, RewardOrigin origin, int rate = 1)
|
||||
{
|
||||
var rewardSingleData = new Goda(rewardId, rewardValue, origin)
|
||||
{
|
||||
rate = rate
|
||||
};
|
||||
AddReward(rewardSingleData);
|
||||
}
|
||||
|
||||
|
||||
public bool IsContainReward(int rewardId)
|
||||
{
|
||||
return rewardDataList.Any(data => data.id == rewardId);
|
||||
}
|
||||
|
||||
|
||||
private void InitData()
|
||||
{
|
||||
if (rewardDataList != null)
|
||||
{
|
||||
rewardDataList.Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
rewardDataList = new List<Goda>();
|
||||
}
|
||||
}
|
||||
|
||||
public List<Goda> GetRewardDataList()
|
||||
{
|
||||
return rewardDataList;
|
||||
}
|
||||
|
||||
public int GetRewardFlyCount()
|
||||
{
|
||||
return GetRewardDataList().Count(rewardSingleData => rewardSingleData.IsCanFly());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ab2c0def1063b543b89fed5d33423d4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,27 @@
|
||||
using BingoBrain.Asset;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class GameCell
|
||||
{
|
||||
public GameObject gameObject;
|
||||
public Transform transform;
|
||||
|
||||
public void InitByPath(string path, string name, UnityAction action)
|
||||
{
|
||||
if (gameObject != null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
BetKit.Instance.LoadGameObjectAndClone(path, name, go =>
|
||||
{
|
||||
gameObject = go;
|
||||
transform = gameObject.transform;
|
||||
action?.Invoke();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 715c9a121b5e4120a16a774b71bc8fc1
|
||||
timeCreated: 1678960256
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ddaa1d23092578e41b7ce0a701a6cc33
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,76 @@
|
||||
namespace BingoBrain.HotFix
|
||||
{
|
||||
public static partial class BingoInfo
|
||||
{
|
||||
public static readonly uint GetReward = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint ProcessReward = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint Update101 = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint Update101Completed = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint Update102 = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint Update102Completed = ++Cursor_BASE;
|
||||
|
||||
public static uint OpenGame = ++Cursor_BASE;
|
||||
|
||||
public static uint EnterMain = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint MainTab = ++Cursor_BASE;
|
||||
|
||||
public static uint UpdateTodoView = ++Cursor_BASE;
|
||||
|
||||
public static uint UpdateHotFixMax = ++Cursor_BASE;
|
||||
|
||||
public static uint UpdateHotFixProgress = ++Cursor_BASE;
|
||||
|
||||
public static uint KeyCardSumChane = ++Cursor_BASE;
|
||||
|
||||
public static uint CallSpeedChange = ++Cursor_BASE;
|
||||
|
||||
public static uint SelectOneNum = ++Cursor_BASE;
|
||||
|
||||
public static uint AddPause = ++Cursor_BASE;
|
||||
|
||||
public static uint CheckBingo = ++Cursor_BASE;
|
||||
|
||||
public static uint FinishOneCardBoard = ++Cursor_BASE;
|
||||
|
||||
public static uint StartCallNum = ++Cursor_BASE;
|
||||
|
||||
public static uint AddBallSum = ++Cursor_BASE;
|
||||
|
||||
public static uint StartBingoGame = ++Cursor_BASE;
|
||||
|
||||
public static uint ShowGameOver = ++Cursor_BASE;
|
||||
|
||||
public static uint StartFullEnergy = ++Cursor_BASE;
|
||||
|
||||
public static uint AddPropRewardFinish = ++Cursor_BASE;
|
||||
|
||||
public static uint CallNum = ++Cursor_BASE;
|
||||
|
||||
public static uint EndBingoGame = ++Cursor_BASE;
|
||||
|
||||
public static uint CallNumFinish = ++Cursor_BASE;
|
||||
|
||||
public static uint AddMoneyCell = ++Cursor_BASE;
|
||||
|
||||
public static uint RefreshMakeupData = ++Cursor_BASE;
|
||||
|
||||
public static uint resetH5progress = ++Cursor_BASE;
|
||||
|
||||
public static uint H5ViewClickBtn = ++Cursor_BASE;
|
||||
public static uint showBroadCast = ++Cursor_BASE;
|
||||
public static uint hideBroadCast = ++Cursor_BASE;
|
||||
public static uint resurgence = ++Cursor_BASE;
|
||||
public static uint resurgence_close = ++Cursor_BASE;
|
||||
public static uint RefreshSaveingPot = ++Cursor_BASE;
|
||||
public static uint updateRecordList = ++Cursor_BASE;
|
||||
public static uint Network_reconnection = ++Cursor_BASE;
|
||||
public static uint MakeUpConfirmUIClosed = ++Cursor_BASE;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e353f03ecaf641c788d83ecb0c4c8f97
|
||||
timeCreated: 1681804796
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public partial class ExternalInfo
|
||||
{
|
||||
private static uint InfoLogic = 100000;
|
||||
|
||||
public static uint GetConfig = ++InfoLogic;
|
||||
|
||||
public static uint SavePlayData = ++InfoLogic;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9cc437c270f9432a8f58536fd2ab3cad
|
||||
timeCreated: 1681977528
|
||||
@@ -0,0 +1,34 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public static partial class CtrlMsg
|
||||
{
|
||||
private static uint CtrlMsgLogic = 200000;
|
||||
|
||||
public static uint NewDays = ++CtrlMsgLogic;
|
||||
|
||||
public static uint WatchVideoFinish = ++CtrlMsgLogic;
|
||||
|
||||
public static uint ConsumeResources = ++CtrlMsgLogic;
|
||||
|
||||
public static uint GameNewDays = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Login_Succeed = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Login_ReloginSucceed = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Preferences_InitComplete = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Game_StartReady = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Game_StartBefore = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Game_Start = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Game_StartLater = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Module_GiftSwitchChange = ++CtrlMsgLogic;
|
||||
|
||||
public static uint ResetDailyTaskActive = ++CtrlMsgLogic;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ac4e4915625e4e5bbf86dde8b9bbe00b
|
||||
timeCreated: 1681804977
|
||||
@@ -0,0 +1,343 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public static partial class SkinInfo
|
||||
{
|
||||
private static uint cursor_OpenClose = 130000;
|
||||
|
||||
public static uint MainTabUI_Display = ++cursor_OpenClose;
|
||||
public static uint BingoHalldUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoHalldUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BingoHallUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoHallUI_Close = ++cursor_OpenClose;
|
||||
public static uint JMallUI_Open = ++cursor_OpenClose;
|
||||
public static uint JMallUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint JEffectUI_Open = ++cursor_OpenClose;
|
||||
public static uint JEffectUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint GodPleAcUI_Open = ++cursor_OpenClose;
|
||||
public static uint GodPleAcUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint CheckReadyUI_Open = ++cursor_OpenClose;
|
||||
public static uint CheckReadyUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint JTipsUI_Open = ++cursor_OpenClose;
|
||||
public static uint JTipsUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint EnterBingoUI_Open = ++cursor_OpenClose;
|
||||
public static uint EnterBingoUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint JTodUI_Open = ++cursor_OpenClose;
|
||||
public static uint JTodUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MaskUI_Open = ++cursor_OpenClose;
|
||||
public static uint MaskUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint JThinkUI_Open = ++cursor_OpenClose;
|
||||
public static uint JThinkUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BingoStartUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoStartUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint PlayBgUI_Open = ++cursor_OpenClose;
|
||||
public static uint PlayBgUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint OpenRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint OpenRewardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint InviteRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint InviteRewardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint BottomUI_Open = ++cursor_OpenClose;
|
||||
public static uint BottomUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BasptUI_Open = ++cursor_OpenClose;
|
||||
public static uint BasptUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint SmailUI_Open = ++cursor_OpenClose;
|
||||
public static uint SmailUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BingoToyUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoToyUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MissionUI_Open = ++cursor_OpenClose;
|
||||
public static uint MissionUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint LeaveBingoUI_Open = ++cursor_OpenClose;
|
||||
public static uint LeaveBingoUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint CallEndUI_Open = ++cursor_OpenClose;
|
||||
public static uint CallEndUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BingoEndUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoEndUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BingoCardUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoCardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MoreCardUI_Open = ++cursor_OpenClose;
|
||||
public static uint MoreCardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint ExtraItemUI_Open = ++cursor_OpenClose;
|
||||
public static uint ExtraItemUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint PropInfoUI_Open = ++cursor_OpenClose;
|
||||
public static uint PropInfoUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BingoWhatUI_Open = ++cursor_OpenClose;
|
||||
public static uint BingoWhatUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint GodPleUI_Open = ++cursor_OpenClose;
|
||||
public static uint GodPleUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint JTermUI_Open = ++cursor_OpenClose;
|
||||
public static uint JTermUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint ReadyBingoyUI_Open = ++cursor_OpenClose;
|
||||
public static uint ReadyBingoyUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint ChestUI_Open = ++cursor_OpenClose;
|
||||
public static uint ChestUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint PlayUIFX = ++cursor_OpenClose;
|
||||
public static uint H5UI_Open = ++cursor_OpenClose;
|
||||
public static uint H5UI_Close = ++cursor_OpenClose;
|
||||
public static uint StarRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint StarRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint MakeupConfirmUI_Open = ++cursor_OpenClose;
|
||||
public static uint MakeupConfirmUI_Close = ++cursor_OpenClose;
|
||||
public static uint NetLoadingUI_Open = ++cursor_OpenClose;
|
||||
public static uint NetLoadingUI_Close = ++cursor_OpenClose;
|
||||
public static uint MakeupStepUI_Open = ++cursor_OpenClose;
|
||||
public static uint MakeupStepUI_Close = ++cursor_OpenClose;
|
||||
public static uint MakeupRecordUI_Open = ++cursor_OpenClose;
|
||||
public static uint MakeupRecordUI_Close = ++cursor_OpenClose;
|
||||
public static uint FirstRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint FirstRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint FaqUIUI_Open = ++cursor_OpenClose;
|
||||
public static uint FaqUIUI_Close = ++cursor_OpenClose;
|
||||
public static uint BroadcastUI_Open = ++cursor_OpenClose;
|
||||
public static uint BroadcastUI_Close = ++cursor_OpenClose;
|
||||
public static uint MenuUI_Open = ++cursor_OpenClose;
|
||||
public static uint MenuUI_Close = ++cursor_OpenClose;
|
||||
public static uint SettingUI_Open = ++cursor_OpenClose;
|
||||
public static uint SettingUI_Close = ++cursor_OpenClose;
|
||||
public static uint RegulationUI_Open = ++cursor_OpenClose;
|
||||
public static uint RegulationUI_Close = ++cursor_OpenClose;
|
||||
public static uint SaveingPotUI_Open = ++cursor_OpenClose;
|
||||
public static uint SaveingPotUI_Close = ++cursor_OpenClose;
|
||||
public static uint RecordViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint RecordViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint PettyAwardUI_Open = ++cursor_OpenClose;
|
||||
public static uint PettyAwardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint ExchangeUI_Open = ++cursor_OpenClose;
|
||||
public static uint ExchangeUI_Close = ++cursor_OpenClose;
|
||||
}
|
||||
public static partial class UICtrlMsg
|
||||
{
|
||||
private static uint cursor_OpenClose = 135000;
|
||||
|
||||
public static uint OpenBgUI_Open = ++cursor_OpenClose;
|
||||
public static uint OpenBgUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MainUI_Display = ++cursor_OpenClose;
|
||||
public static uint MainUI_Open = ++cursor_OpenClose;
|
||||
public static uint MainUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint FXWndUI_Open = ++cursor_OpenClose;
|
||||
public static uint FXWndUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint RewardAniUI_Open = ++cursor_OpenClose;
|
||||
public static uint RewardAniUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint NetLoadingUI_Open = ++cursor_OpenClose;
|
||||
public static uint NetLoadingUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint SCTipsUI_Open = ++cursor_OpenClose;
|
||||
public static uint SCTipsUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint GameLoginUI_Open = ++cursor_OpenClose;
|
||||
public static uint GameLoginUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MaskUI_Open = ++cursor_OpenClose;
|
||||
public static uint MaskUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint RateUsDialogUI_Open = ++cursor_OpenClose;
|
||||
public static uint RateUsDialogUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint NetworkCheckUI_Open = ++cursor_OpenClose;
|
||||
public static uint NetworkCheckUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint PlayUI_Open = ++cursor_OpenClose;
|
||||
public static uint PlayUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MainTabUI_Display = ++cursor_OpenClose;
|
||||
public static uint MainTabUI_Open = ++cursor_OpenClose;
|
||||
public static uint MainTabUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint H5UI_Open = ++cursor_OpenClose;
|
||||
public static uint H5UI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint BackgroundUI_Open = ++cursor_OpenClose;
|
||||
public static uint BackgroundUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint RewardUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint RewardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint TodoUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint TodoUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint InviteFriendsUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint InviteFriendsUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint InviteCodeUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint InviteCodeUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint InviteRewardUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint InviteRewardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint SignInUI_Display = ++cursor_OpenClose;
|
||||
|
||||
public static uint SignInUI_Open = ++cursor_OpenClose;
|
||||
public static uint SignInUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint MainPopUI_Open = ++cursor_OpenClose;
|
||||
public static uint MainPopUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint ADTaskUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint ADTaskUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint CurrencyUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint CurrencyUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint GamePopUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint GamePopUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint NaiveStepUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint NaiveStepUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint OpenRewardUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint OpenRewardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint MenuUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint MenuUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint LanguageWinUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint LanguageWinUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint ProfileUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint ProfileUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint MakeupConfirmUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint MakeupConfirmUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint GuideUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint GuideUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint MakeupStepUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint MakeupStepUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint MakeupRecordUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint MakeupRecordUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint PrivacyUI_Open = ++cursor_OpenClose;
|
||||
public static uint PrivacyUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint PlayUIFX = ++cursor_OpenClose;
|
||||
public static uint TestUI_Open = ++cursor_OpenClose;
|
||||
public static uint TestUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint RegulationUI_Open = ++cursor_OpenClose;
|
||||
public static uint RegulationUI_Close = ++cursor_OpenClose;
|
||||
public static uint BroadcastUI_Open = ++cursor_OpenClose;
|
||||
public static uint BroadcastUI_Close = ++cursor_OpenClose;
|
||||
public static uint PixPayUI_Open = ++cursor_OpenClose;
|
||||
public static uint PixPayUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint ComFaqUI_Open = ++cursor_OpenClose;
|
||||
public static uint ComFaqUI_Close = ++cursor_OpenClose;
|
||||
public static uint FirstRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint FirstRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint SheepPlayUI_Open = ++cursor_OpenClose;
|
||||
public static uint SheepPlayUI_Close = ++cursor_OpenClose;
|
||||
public static uint BuyslotUI_Open = ++cursor_OpenClose;
|
||||
public static uint BuyslotUI_Close = ++cursor_OpenClose;
|
||||
public static uint RemakeUI_Open = ++cursor_OpenClose;
|
||||
public static uint RemakeUI_Close = ++cursor_OpenClose;
|
||||
public static uint SheepwindowUI_Open = ++cursor_OpenClose;
|
||||
public static uint SheepwindowUI_Close = ++cursor_OpenClose;
|
||||
public static uint LevelSuccessUI_Open = ++cursor_OpenClose;
|
||||
public static uint LevelSuccessUI_Close = ++cursor_OpenClose;
|
||||
public static uint CoinWnd_newUI_Open = ++cursor_OpenClose;
|
||||
public static uint CoinWnd_newUI_Close = ++cursor_OpenClose;
|
||||
public static uint RewardboxUI_Open = ++cursor_OpenClose;
|
||||
public static uint RewardboxUI_Close = ++cursor_OpenClose;
|
||||
public static uint NewTaskUI_Open = ++cursor_OpenClose;
|
||||
public static uint NewTaskUI_Close = ++cursor_OpenClose;
|
||||
public static uint GetTaskRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint GetTaskRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint BuygoldUI_Open = ++cursor_OpenClose;
|
||||
public static uint BuygoldUI_Close = ++cursor_OpenClose;
|
||||
public static uint OpenGameUI_Open = ++cursor_OpenClose;
|
||||
public static uint OpenGameUI_Close = ++cursor_OpenClose;
|
||||
public static uint AdcomingUI_Open = ++cursor_OpenClose;
|
||||
public static uint AdcomingUI_Close = ++cursor_OpenClose;
|
||||
public static uint PackrewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint PackrewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint PayloadingUI_Open = ++cursor_OpenClose;
|
||||
public static uint PayloadingUI_Close = ++cursor_OpenClose;
|
||||
public static uint PassunlockUI_Open = ++cursor_OpenClose;
|
||||
public static uint PassunlockUI_Close = ++cursor_OpenClose;
|
||||
public static uint TipsViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint TipsViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint ResurgenceUI_Open = ++cursor_OpenClose;
|
||||
public static uint ResurgenceUI_Close = ++cursor_OpenClose;
|
||||
public static uint SaveingPotUI_Open = ++cursor_OpenClose;
|
||||
public static uint SaveingPotUI_Close = ++cursor_OpenClose;
|
||||
public static uint RecordViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint RecordViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint ThreeDaysGiftUI_Open = ++cursor_OpenClose;
|
||||
public static uint ThreeDaysGiftUI_Close = ++cursor_OpenClose;
|
||||
public static uint RewardMulNewUI_Open = ++cursor_OpenClose;
|
||||
public static uint RewardMulNewUI_Close = ++cursor_OpenClose;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 060fde138e1047d2b0d1b1b0f19574ea
|
||||
timeCreated: 1681803677
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace BingoBrain
|
||||
{
|
||||
public class KeyValue
|
||||
{
|
||||
public string key;
|
||||
public object value;
|
||||
|
||||
public KeyValue()
|
||||
{
|
||||
}
|
||||
|
||||
public KeyValue(string key, object value)
|
||||
{
|
||||
this.key = key;
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b290bcee76f7b6f46b7f0df698139902
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user