提交工程
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d32c964d4a8de44f9c204731a2c0e61
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class PlayerPrefsConst
|
||||
{
|
||||
public static string IsFaceBookLogin = "IsFaceBookLogin";
|
||||
public static string FacebookAvatarUrl = "FacebookAvatarUrl";
|
||||
public static string CachePath = Application.persistentDataPath + "/Cache/CacheLocalPreferences.super";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ecc423687b5944a2a7970936527d39f6
|
||||
timeCreated: 1684204951
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a3ef8829eecb8e4785f903060bb3061
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class AdTaskData
|
||||
{
|
||||
public int videoCount;
|
||||
public AdTaskState state = AdTaskState.None;
|
||||
}
|
||||
|
||||
public enum AdTaskState
|
||||
{
|
||||
None,
|
||||
Ready,
|
||||
Done,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a88a3ba768a5dd643ab8232366a630cb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class InviteData
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 655aee83afce67c40b9f14df6e45aaf1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public enum InviteMakeupStatus
|
||||
{
|
||||
None = 0,
|
||||
Fail = 1,
|
||||
Processing = 2,
|
||||
Success = 3,
|
||||
}
|
||||
|
||||
public class InviteMakeUpHistory
|
||||
{
|
||||
public int id;
|
||||
|
||||
public float amount;
|
||||
|
||||
public string method;
|
||||
|
||||
public long makeupTimestamp;
|
||||
|
||||
public string email;
|
||||
|
||||
public string phone;
|
||||
|
||||
public InviteMakeupStatus status;
|
||||
|
||||
public int serverOrderId;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7ff48a75ef486564bbf5425f2bfdfde3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public enum InviteRecordOrigin
|
||||
{
|
||||
InvitePlayer,
|
||||
InviteBonus,
|
||||
}
|
||||
|
||||
public class InviteRecord
|
||||
{
|
||||
public float amount;
|
||||
public long time_stamp;
|
||||
public string title;
|
||||
public long uid;
|
||||
public InviteRecordOrigin origin;
|
||||
public string icon;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28d57e0821234a75ae07aff540f7f638
|
||||
timeCreated: 1681804569
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class KeyValue
|
||||
{
|
||||
public string key;
|
||||
public object value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b290bcee76f7b6f46b7f0df698139902
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,85 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class MakeupTaskData
|
||||
{
|
||||
public int tableId;
|
||||
|
||||
|
||||
public int id;
|
||||
|
||||
|
||||
public string amountStr;
|
||||
|
||||
|
||||
public decimal amount;
|
||||
|
||||
|
||||
public long makeupTime;
|
||||
|
||||
|
||||
public int videoCount;
|
||||
|
||||
|
||||
public int inlineInitNum;
|
||||
|
||||
|
||||
public int inlineNum;
|
||||
|
||||
|
||||
public string orderID;
|
||||
|
||||
|
||||
public MakeupTaskStatus status;
|
||||
|
||||
public long order_time = 0;
|
||||
public int WatchVideoSpeedNum = 0;
|
||||
public int loginSpeedNum = 0;
|
||||
public int activeMinute = 0;
|
||||
public int activeSpeedNum = 0;
|
||||
|
||||
public long ch_time;
|
||||
public string ExchangeAccount;
|
||||
public string ExchangeName;
|
||||
public string short_name;
|
||||
public string long_name;
|
||||
public List<makeupRdData> rdData;
|
||||
public makeupRdData lastRdData;
|
||||
public int LvVideoCount;
|
||||
public void SetStatus(MakeupTaskStatus _status)
|
||||
{
|
||||
status = _status;
|
||||
}
|
||||
|
||||
public string GetAmountStr()
|
||||
{
|
||||
if (amount <= 0)
|
||||
{
|
||||
return amountStr;
|
||||
}
|
||||
else
|
||||
{
|
||||
return GameHelper.Get101Str(amount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum MakeupTaskStatus
|
||||
{
|
||||
None,
|
||||
Task,
|
||||
Level,
|
||||
Inline,
|
||||
editAccount,
|
||||
ticket,
|
||||
code,
|
||||
}
|
||||
|
||||
public class makeupRdData
|
||||
{
|
||||
public int coupon_mount;
|
||||
public string code;
|
||||
public bool isClaimed;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4fad037054f584d4db231c2ecdba0491
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,49 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
// public class
|
||||
public class UserData
|
||||
{
|
||||
public long uid;
|
||||
public string name;
|
||||
public int headId;
|
||||
public int points;
|
||||
public float bonus;
|
||||
public int[][] add_points_time; // 每个时间段获得的积分时间
|
||||
public int[][] remaining_time; // 每个时间段剩余的时间
|
||||
public int hourPoints;
|
||||
public int dayPoints;
|
||||
public int weekPoints;
|
||||
public int lastHourPoints;
|
||||
public int lastDayPoints;
|
||||
public int lastWeekPoints;
|
||||
public Dictionary<long, addPointsData> addPointsDic = new Dictionary<long, addPointsData>();
|
||||
}
|
||||
|
||||
public class RankRewardData
|
||||
{
|
||||
public int rank;
|
||||
public rankType type;
|
||||
public float bonus;
|
||||
public string time;
|
||||
}
|
||||
|
||||
public class addPointsData
|
||||
{
|
||||
public int points;
|
||||
public addPointType type;
|
||||
}
|
||||
|
||||
public enum rankType {
|
||||
hour = 1,
|
||||
day = 2,
|
||||
week = 3
|
||||
}
|
||||
|
||||
public enum addPointType {
|
||||
eliminate = 1,
|
||||
ads = 2,
|
||||
buy = 3,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd6dbb7eafafd874fa24627609d0b019
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class UrlData
|
||||
{
|
||||
public int progress;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b9c71aa9e3c74a4fa40ecf0f4d22902
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ddaa1d23092578e41b7ce0a701a6cc33
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
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 uint WatchIntVideoFinish = ++CtrlMsgLogic;
|
||||
|
||||
public static readonly uint Preferences_InitComplete = ++CtrlMsgLogic;
|
||||
public static readonly uint Game_StartBefore = ++CtrlMsgLogic;
|
||||
public static readonly uint Module_GiftSwitchChange = ++CtrlMsgLogic;
|
||||
public static readonly uint Webview_PageState = ++CtrlMsgLogic;
|
||||
public static readonly uint Webview_PageFinish = ++CtrlMsgLogic;
|
||||
public static readonly uint Webview_Open = ++CtrlMsgLogic;
|
||||
public static uint ServerNewDays = ++CtrlMsgLogic;
|
||||
public static readonly uint NewConfigRead = ++CtrlMsgLogic;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ac4e4915625e4e5bbf86dde8b9bbe00b
|
||||
timeCreated: 1681804977
|
||||
@@ -0,0 +1,62 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public static partial class GameMsg
|
||||
{
|
||||
public static readonly uint OpenGame = ++Cursor_BASE;
|
||||
public static readonly uint Update111Completed = ++Cursor_BASE;
|
||||
public static readonly uint BackMainScene = ++Cursor_BASE;
|
||||
public static readonly uint Update101Completed = ++Cursor_BASE;
|
||||
public static readonly uint Update102 = ++Cursor_BASE;
|
||||
|
||||
public static uint Slot_refresh = ++Cursor_BASE;
|
||||
public static uint Remake_state = ++Cursor_BASE;
|
||||
public static readonly uint MakeupSuccess = ++Cursor_BASE;
|
||||
public static readonly uint Update102Completed = ++Cursor_BASE;
|
||||
public static uint PaySuccess = ++Cursor_BASE;
|
||||
|
||||
public static uint Ad_success = ++Cursor_BASE;
|
||||
public static uint UpdateHotFixMax = ++Cursor_BASE;
|
||||
public static uint UpdateHotFixProgress = ++Cursor_BASE;
|
||||
public static readonly uint RefreshMakeupData = ++Cursor_BASE;
|
||||
public static uint Gold_refresh = ++Cursor_BASE;
|
||||
public static uint Sheep_item_refresh = ++Cursor_BASE;
|
||||
public static uint card_click = ++Cursor_BASE;
|
||||
public static uint UpdateCurrency102 = ++Cursor_BASE;
|
||||
|
||||
public static uint RefreshADTask = ++Cursor_BASE;
|
||||
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 MakeUpConfirmUIClosed = ++Cursor_BASE;
|
||||
|
||||
public static readonly uint Update111 = ++Cursor_BASE;
|
||||
public static uint reset_game = ++Cursor_BASE;
|
||||
public static uint GetTaskReward = ++Cursor_BASE;
|
||||
public static uint pack_close = ++Cursor_BASE;
|
||||
public static uint RefreshRedDot = ++Cursor_BASE;
|
||||
public static uint resetH5progress = ++Cursor_BASE;
|
||||
public static uint RefreshGame = ++Cursor_BASE;
|
||||
public static uint RewardUIClosed = ++Cursor_BASE;
|
||||
public static uint H5ViewClickBtn = ++Cursor_BASE;
|
||||
public static uint apple_pay_success = ++Cursor_BASE;
|
||||
public static uint ExitGame = ++Cursor_BASE;
|
||||
|
||||
public static uint UpdateNoads = ++Cursor_BASE;
|
||||
public static uint Network_reconnection = ++Cursor_BASE;
|
||||
public static uint RefreshSaveingPot = ++Cursor_BASE;
|
||||
public static uint resurgence = ++Cursor_BASE;
|
||||
public static uint resurgence_close = ++Cursor_BASE;
|
||||
public static uint rewardMul_close = ++Cursor_BASE;
|
||||
public static uint ThreeDaysGiftUIClose = ++Cursor_BASE;
|
||||
public static uint sendLog = ++Cursor_BASE;
|
||||
public static uint noads_refresh = ++Cursor_BASE;
|
||||
public static uint hideBroadCast = ++Cursor_BASE;
|
||||
public static uint showBroadCast = ++Cursor_BASE;
|
||||
public static uint updateRecordList = ++Cursor_BASE;
|
||||
public static uint faq_refresh = ++Cursor_BASE;
|
||||
public static uint add_points = ++Cursor_BASE;
|
||||
public static uint RefreshHallRank = ++Cursor_BASE;
|
||||
public static uint CloseMask = ++Cursor_BASE;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e353f03ecaf641c788d83ecb0c4c8f97
|
||||
timeCreated: 1681804796
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public partial class NetworkMsg
|
||||
{
|
||||
private static uint MsgRootLogic = 100000;
|
||||
public static uint GetConfig = ++MsgRootLogic;
|
||||
public static uint Login = ++MsgRootLogic;
|
||||
public static uint SavePlayData = ++MsgRootLogic;
|
||||
public static uint GetPlayData = ++MsgRootLogic;
|
||||
public static uint NotNetwork = ++MsgRootLogic;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9cc437c270f9432a8f58536fd2ab3cad
|
||||
timeCreated: 1681977528
|
||||
@@ -0,0 +1,132 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public static partial class UICtrlMsg
|
||||
{
|
||||
private static uint cursor_OpenClose = 130000;
|
||||
|
||||
public static uint GameLoginUI_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 RateUsDialogUI_Open = ++cursor_OpenClose;
|
||||
public static uint RateUsDialogUI_Close = ++cursor_OpenClose;
|
||||
public static uint OpenBgUI_Open = ++cursor_OpenClose;
|
||||
public static uint OpenBgUI_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 RewardboxUI_Open = ++cursor_OpenClose;
|
||||
public static uint RewardboxUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint RewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint RewardUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint NewTaskUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint MenuUI_Open = ++cursor_OpenClose;
|
||||
public static uint MenuUI_Close = ++cursor_OpenClose;
|
||||
public static uint PlayUI_Close = ++cursor_OpenClose;
|
||||
public static uint NewTaskUI_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 RainPlayUI_Open = ++cursor_OpenClose;
|
||||
public static uint RainPlayUI_Close = ++cursor_OpenClose;
|
||||
public static uint OpenGameUI_Open = ++cursor_OpenClose;
|
||||
public static uint OpenGameUI_Close = ++cursor_OpenClose;
|
||||
public static uint RegulationUI_Open = ++cursor_OpenClose;
|
||||
public static uint RegulationUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint CoinWnd_newUI_Open = ++cursor_OpenClose;
|
||||
public static uint CoinWnd_newUI_Close = ++cursor_OpenClose;
|
||||
public static uint SheepwindowUI_Open = ++cursor_OpenClose;
|
||||
public static uint SheepwindowUI_Close = ++cursor_OpenClose;
|
||||
public static uint BuyslotUI_Open = ++cursor_OpenClose;
|
||||
public static uint BuyslotUI_Close = ++cursor_OpenClose;
|
||||
public static uint BuygoldUI_Open = ++cursor_OpenClose;
|
||||
public static uint BuygoldUI_Close = ++cursor_OpenClose;
|
||||
public static uint BuyConfirmUI_Open = ++cursor_OpenClose;
|
||||
public static uint BuyConfirmUI_Close = ++cursor_OpenClose;
|
||||
public static uint LevelSuccessUI_Open = ++cursor_OpenClose;
|
||||
public static uint LevelSuccessUI_Close = ++cursor_OpenClose;
|
||||
public static uint ChoosePropUI_Open = ++cursor_OpenClose;
|
||||
public static uint ChoosePropUI_Close = ++cursor_OpenClose;
|
||||
public static uint AdcomingUI_Open = ++cursor_OpenClose;
|
||||
public static uint AdcomingUI_Close = ++cursor_OpenClose;
|
||||
|
||||
public static uint PassunlockUI_Open = ++cursor_OpenClose;
|
||||
public static uint PassunlockUI_Close = ++cursor_OpenClose;
|
||||
public static uint GetTaskRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint GetTaskRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint PayloadingUI_Open = ++cursor_OpenClose;
|
||||
public static uint PayloadingUI_Close = ++cursor_OpenClose;
|
||||
public static uint BackgroundUI_Open = ++cursor_OpenClose;
|
||||
public static uint BackgroundUI_Close = ++cursor_OpenClose;
|
||||
public static uint MainUI_Open = ++cursor_OpenClose;
|
||||
public static uint MainUI_Close = ++cursor_OpenClose;
|
||||
public static uint PlayBgUI_Close = ++cursor_OpenClose;
|
||||
public static uint EggUI_Open = ++cursor_OpenClose;
|
||||
public static uint EggUI_Close = ++cursor_OpenClose;
|
||||
public static uint WheelUI_Open = ++cursor_OpenClose;
|
||||
public static uint WheelUI_Close = ++cursor_OpenClose;
|
||||
public static uint PassViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint PassViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint SignInUI_Open = ++cursor_OpenClose;
|
||||
public static uint SignInUI_Close = ++cursor_OpenClose;
|
||||
|
||||
|
||||
public static uint MakeupConfirmUI_Close = ++cursor_OpenClose;
|
||||
public static uint MakeupConfirmUI_Open = ++cursor_OpenClose;
|
||||
|
||||
public static uint H5UI_Open = ++cursor_OpenClose;
|
||||
public static uint H5UI_Close = ++cursor_OpenClose;
|
||||
public static uint PackrewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint PackrewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint GameMenuUI_Open = ++cursor_OpenClose;
|
||||
public static uint GameMenuUI_Close = ++cursor_OpenClose;
|
||||
public static uint PixPayUI_Open = ++cursor_OpenClose;
|
||||
public static uint PixPayUI_Close = ++cursor_OpenClose;
|
||||
public static uint PersonViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint PersonViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint TipsViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint TipsViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint LevelRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint LevelRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint SaveingPotUI_Open = ++cursor_OpenClose;
|
||||
public static uint SaveingPotUI_Close = ++cursor_OpenClose;
|
||||
public static uint ResurgenceUI_Open = ++cursor_OpenClose;
|
||||
public static uint ResurgenceUI_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;
|
||||
public static uint BroadcastUI_Open = ++cursor_OpenClose;
|
||||
public static uint BroadcastUI_Close = ++cursor_OpenClose;
|
||||
public static uint RecordViewUI_Open = ++cursor_OpenClose;
|
||||
public static uint RecordViewUI_Close = ++cursor_OpenClose;
|
||||
public static uint FAQUI_Open = ++cursor_OpenClose;
|
||||
public static uint FAQUI_Close = ++cursor_OpenClose;
|
||||
public static uint AddViewoffUI_Open = ++cursor_OpenClose;
|
||||
public static uint AddViewoffUI_Close = ++cursor_OpenClose;
|
||||
public static uint RankUI_Open = ++cursor_OpenClose;
|
||||
public static uint RankUI_Close = ++cursor_OpenClose;
|
||||
public static uint RankRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint RankRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint RankRuleUI_Open = ++cursor_OpenClose;
|
||||
public static uint RankRuleUI_Close = ++cursor_OpenClose;
|
||||
public static uint GoldRewardUI_Open = ++cursor_OpenClose;
|
||||
public static uint GoldRewardUI_Close = ++cursor_OpenClose;
|
||||
public static uint AddviewnewUI_Open = ++cursor_OpenClose;
|
||||
public static uint AddviewnewUI_Close = ++cursor_OpenClose;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 060fde138e1047d2b0d1b1b0f19574ea
|
||||
timeCreated: 1681803677
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f279610afe14f24a93632de790e1bb2
|
||||
timeCreated: 1685009402
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9d4b8f1e3f240a29b60fb5ac95bc802
|
||||
timeCreated: 1692603096
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad3273bae87648ac8ff70eb4d402ae33
|
||||
timeCreated: 1692760582
|
||||
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class ADTaskModel: ConfigModel<ADTaskModel, ADTask>
|
||||
{
|
||||
public ADTaskModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class ADTask
|
||||
{
|
||||
public int id;
|
||||
public string text_read;
|
||||
public int tol_num;
|
||||
public int reward_num;
|
||||
public bool is_get;
|
||||
public int[] Boost;
|
||||
public int[] weight;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 684786be6ad2341a69ed2cadc9eab6b9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
namespace ChillConnect
|
||||
{
|
||||
|
||||
public class AppOpenAdModel : ConfigModel<AppOpenAdModel, SplashAD>
|
||||
{
|
||||
|
||||
public AppOpenAdModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class SplashAD
|
||||
{
|
||||
public int Retention_Days;
|
||||
public int Retention_Rate;
|
||||
public int upperlimit;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 02172389f870f4a618c74ad0ab72bfc3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ApplePay;
|
||||
|
||||
// using SGModule.ApplePay;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
|
||||
public class ApplePayModel : ConfigModel<ApplePayModel, ApplePay>
|
||||
{
|
||||
public ApplePayModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class ApplePay
|
||||
{
|
||||
public int id;
|
||||
public string payKey;
|
||||
public string sku;
|
||||
}
|
||||
public class ApplePayModel2: ConfigModel<ApplePayModel2, ProductConfig>
|
||||
{
|
||||
public ApplePayModel2(string key) : base(key)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7483ae0a4f54470be28efe68d32e46a
|
||||
timeCreated: 1748240480
|
||||
@@ -0,0 +1,30 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// "{\"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: 456a81636100cee45b5c7ef7ea89989c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,90 @@
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class CommonModel : ConfigModel<CommonModel>
|
||||
{
|
||||
public int InitialNum;
|
||||
public int[] inlineLoginDown;
|
||||
public int inlineMin;
|
||||
public int Purchaseprops;
|
||||
public int Smallrewardsrate;
|
||||
public int rewardrate;
|
||||
public int RevivalCoins;
|
||||
public int[] wheelTimes;
|
||||
public int[] flyAdTime;
|
||||
public int flyCD;
|
||||
public float[] flyReward;
|
||||
public int Dailyrefreshtimes;
|
||||
public int[] darkWVRefreshtime;
|
||||
public int[] darkWVDailyrefreshtimes;
|
||||
public int H5Refreshtime;
|
||||
public int flyCtRate;
|
||||
public int otherH5switch;
|
||||
public int darkThoughProbability;
|
||||
public int ThroughRewardCD;
|
||||
public float Passportgift;
|
||||
public float Passportgift2;
|
||||
public float addspace;
|
||||
public float addspace2;
|
||||
public float AddDiscount;
|
||||
public float AddDiscount2;
|
||||
public int WwalaccelerationCD;
|
||||
public int purchase1;
|
||||
public int purchase2;
|
||||
public int[] inlineInitNum;
|
||||
public int playtimes;
|
||||
public int interstitialtype;
|
||||
public int lobbyrewrdtime;
|
||||
public int roomrewardrate;
|
||||
public int Activetimes;
|
||||
public int[] propCoord;
|
||||
public int adrate;
|
||||
public int roomrate;
|
||||
public float afSendLimit;
|
||||
public float afSendNum;
|
||||
public int rewardinsertion;
|
||||
public int propswitch;
|
||||
public int flyswitch;
|
||||
public int exchangeCD = 120;
|
||||
public int WVswitch;
|
||||
public int[] WVClickAddTime;
|
||||
public int[] eggReward;
|
||||
public int eggCD;
|
||||
public string contactUs;
|
||||
public int PayRate;
|
||||
public int PiggyBankSwitch;
|
||||
public int FailedGiftCD;
|
||||
public int FailedGiftProgress;
|
||||
public int loginhallrate;
|
||||
public int AddSpaceLevel;
|
||||
public int AddDiscountLevel;
|
||||
public int AddDiscountCD;
|
||||
public int[] basePoint;
|
||||
public string[] TimeSlot;
|
||||
public int RobotNum;
|
||||
public int HourTime;
|
||||
public int eliminatePoints;
|
||||
public int[] adsPoints;
|
||||
public int USDPoints;
|
||||
public int RemoveADsPackDuration;
|
||||
public int ExpiryUnlock;
|
||||
public int BalanceExpired;
|
||||
public int[] BalanceExchange;
|
||||
public int[] PotExchange;
|
||||
public int TurnOffRewardsRate;
|
||||
public int TurnOffRewardsCD;
|
||||
public int TurnOffRewardslimit;
|
||||
public int FreeClaims;
|
||||
public int BonusInside;
|
||||
public int TurnOffPackRate;
|
||||
public int ExchangeModeToggle;
|
||||
public int RemoveADsPackPopup;
|
||||
public int ExchangeProcessMode;
|
||||
public int CHProcessMode;
|
||||
public int SplashSwitch;
|
||||
public CommonModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 954729fa345c44828d10b961f984abec
|
||||
timeCreated: 1692604823
|
||||
@@ -0,0 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7fc7bf677e87e485e8db4819f96eeeba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class DurationtasksModel : ConfigModel<DurationtasksModel, Durationtasks>
|
||||
{
|
||||
public DurationtasksModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class Durationtasks
|
||||
{
|
||||
public int id;
|
||||
public string text_read;
|
||||
public int tol_num;
|
||||
public int reward_num;
|
||||
public bool is_get;
|
||||
public int[] Boost;
|
||||
public int[] weight;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b78b92c1d9e172548b8ffe9b3ab8368c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class EndlessTreasureModel
|
||||
{
|
||||
public List<EndlessTreasure> dataList;
|
||||
}
|
||||
|
||||
public class EndlessTreasure
|
||||
{
|
||||
public int id;
|
||||
public int[] rewardType;
|
||||
public int[] reward;
|
||||
public bool is_AD;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d257ddfe2716d774397a0a462fcbd472
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
namespace ChillConnect
|
||||
{
|
||||
|
||||
public class ExchangeDesModel : ConfigModel<ExchangeDesModel, ExchangeDes>
|
||||
{
|
||||
|
||||
public ExchangeDesModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class ExchangeDes
|
||||
{
|
||||
public string des_key;
|
||||
public string Mode_0;
|
||||
public string Mode_1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b19ed446ed8ea4175afaa7b997895bee
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class GameConfigModel : ConfigModel<GameConfigModel, GameBoard>
|
||||
{
|
||||
|
||||
public Dictionary<int, List<GameBoard>> game_conf = new Dictionary<int, List<GameBoard>>();
|
||||
|
||||
public GameConfigModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class GameBoard
|
||||
{
|
||||
public int level;
|
||||
public string board;
|
||||
public string stacked;
|
||||
public int item_type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 82b36e3bf10fb56479a37bccbfe52b95
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class LargerewardNumModel : ConfigModel<LargerewardNumModel, LargerewardNum>
|
||||
{
|
||||
public LargerewardNumModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class LargerewardNum
|
||||
{
|
||||
public int id;
|
||||
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 int[] Boost_1;
|
||||
public int[] Boost_2;
|
||||
public int[] Boost_3;
|
||||
public int[] weight_1;
|
||||
public int[] weight_2;
|
||||
public int[] weight_3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91ab827f55980734fa3bd52c07c75c92
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,67 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class MakeupModel : ConfigModel<MakeupModel, Makeup>
|
||||
{
|
||||
public MakeupModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
|
||||
public Makeup GetData(int id)
|
||||
{
|
||||
return DataList.FirstOrDefault(makeup => makeup.id == id);
|
||||
}
|
||||
}
|
||||
|
||||
public class Makeup
|
||||
{
|
||||
public int id;
|
||||
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 : ConfigModel<MakeupModel_2, Makeup_2>
|
||||
{
|
||||
public MakeupModel_2(string key) : base(key)
|
||||
{
|
||||
}
|
||||
|
||||
public Makeup_2 GetData(int id)
|
||||
{
|
||||
return DataList.FirstOrDefault(makeup2 => makeup2.id == id);
|
||||
}
|
||||
}
|
||||
|
||||
public class Makeup_2
|
||||
{
|
||||
public int id;
|
||||
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 Reset_time;
|
||||
public float ADIncrease;
|
||||
public int PayIncrease;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ccc8190d0599fff48b2caed678a084a8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class OnlineRewardsModel : ConfigModel<OnlineRewardsModel, OnlineRewards>
|
||||
{
|
||||
|
||||
public OnlineRewardsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class OnlineRewards
|
||||
{
|
||||
public int OnlineLimitNum;
|
||||
public int OnlineCountTime;
|
||||
public int OnlineAward;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb0103dccee904bae947c46c5918fc51
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class PassingTaskModel : ConfigModel<PassingTaskModel, PassingTask>
|
||||
{
|
||||
public PassingTaskModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class PassingTask
|
||||
{
|
||||
public int id;
|
||||
public string text_read;
|
||||
public int tol_num;
|
||||
public int reward_num;
|
||||
public bool is_get;
|
||||
public int[] Boost;
|
||||
public int[] weight;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b52103c07b44c7542bb95c108331e805
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,61 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class PassportrewardsModel : ConfigModel<PassportrewardsModel, Passportrewards>
|
||||
{
|
||||
public PassportrewardsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class Passportrewards
|
||||
{
|
||||
public int id;
|
||||
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 int[] Boost;
|
||||
public int[] weight;
|
||||
}
|
||||
public class PaidcoinsModel : ConfigModel<PaidcoinsModel, Paidcoins>
|
||||
{
|
||||
|
||||
public PaidcoinsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class Paidcoins
|
||||
{
|
||||
public int id;
|
||||
public int Actual_coins;
|
||||
public int Discount_rate;
|
||||
public float Payment_amount;
|
||||
public float Payment_amount2;
|
||||
public bool is_paid;
|
||||
public int receive_CD;
|
||||
public string SKU;
|
||||
}
|
||||
public class MultigiftModel : ConfigModel<MultigiftModel, Multigift>
|
||||
{
|
||||
public MultigiftModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class Multigift
|
||||
{
|
||||
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: 62ce2d31f0c73c3438cdbd4ded49e1d8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RankHourRewardsModel : ConfigModel<RankHourRewardsModel, RankRewards>
|
||||
{
|
||||
public RankHourRewardsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class RankDayRewardsModel : ConfigModel<RankDayRewardsModel, RankRewards>
|
||||
{
|
||||
public RankDayRewardsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class RankWeekRewardsModel : ConfigModel<RankWeekRewardsModel, RankRewards>
|
||||
{
|
||||
public RankWeekRewardsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class RankRewards
|
||||
{
|
||||
public int id;
|
||||
public int rank;
|
||||
public int award;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: acddf7fb7f0c4d043844876d76f23e35
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,51 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RewardNumModel : ConfigModel<RewardNumModel, RewardNum>
|
||||
{
|
||||
public RewardNumModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class RewardNum
|
||||
{
|
||||
public int id;
|
||||
public int[] ch_1;
|
||||
public int[] ch_2;
|
||||
public int[] ch_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 int[] Boost_1;
|
||||
public int[] Boost_2;
|
||||
public int[] Boost_3;
|
||||
public int[] weight_1;
|
||||
public int[] weight_2;
|
||||
public int[] weight_3;
|
||||
}
|
||||
|
||||
public class PaidgiftModel : ConfigModel<PaidgiftModel, Paidgift>
|
||||
{
|
||||
public PaidgiftModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class Paidgift
|
||||
{
|
||||
public int Paid_type;
|
||||
public float Paid_price;
|
||||
public float Paid_price2;
|
||||
|
||||
public int coins_quantity;
|
||||
public int[] props_quantity;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a03954130e2b4bc9acffaf4f0df89e1c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class SignDailyRewardModel : ConfigModel<SignDailyRewardModel, SignDailyReward>
|
||||
{
|
||||
public SignDailyRewardModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class SignDailyReward
|
||||
{
|
||||
public int id;
|
||||
public bool is_com_reward;
|
||||
public bool is_double;
|
||||
public int[] item1;
|
||||
public decimal[] quantity;
|
||||
public int[] rewards_type;
|
||||
|
||||
public int[] Boost;
|
||||
public int[] weight;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f212db9bb899b0e43ac7389fcc726b95
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class SmallrewardNumModel : ConfigModel<SmallrewardNumModel, SmallrewardNum>
|
||||
{
|
||||
public SmallrewardNumModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class SmallrewardNum
|
||||
{
|
||||
public int id;
|
||||
public float[] nor_1;
|
||||
public float[] nor_2;
|
||||
public float[] nor_3;
|
||||
public float rv_1;
|
||||
public float rv_2;
|
||||
public float rv_3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a89163cfd21b1b04f87e56b3cd250ee9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class TurntableModel : ConfigModel<TurntableModel, Turntable>
|
||||
{
|
||||
public TurntableModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class Turntable
|
||||
{
|
||||
public int id;
|
||||
public int Seq;
|
||||
public int wheel_item;
|
||||
public float quantity;
|
||||
public int weight;
|
||||
|
||||
public int[] Boost;
|
||||
public int[] weight2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dae01d6b93cc45149324ea3b3601fbfe
|
||||
timeCreated: 1704963556
|
||||
@@ -0,0 +1,139 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using SGModule.ConfigLoader;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class exBrPoolModel : ConfigModel<exBrPoolModel, exBrPool>
|
||||
{
|
||||
public List<string> config_name_list;
|
||||
public List<string> config_money_list;
|
||||
|
||||
public exBrPoolModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class exBrPool
|
||||
{
|
||||
public int id;
|
||||
public string user_name;
|
||||
public string amount;
|
||||
}
|
||||
public class GameUrlsModel : ConfigModel<GameUrlsModel, GameUrls>
|
||||
{
|
||||
public GameUrlsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class GameUrls
|
||||
{
|
||||
public int id;
|
||||
public string[] countryCode;
|
||||
public string[] excludedCountryCode;
|
||||
public string webLink;
|
||||
public int webType;
|
||||
public int sectionalizerId;
|
||||
public int userType;
|
||||
public int probability;
|
||||
public int[] webTimesCT;
|
||||
public int[] hideWebTimesCT;
|
||||
public int refreshMax;
|
||||
public int darkWebTimesCT;
|
||||
public int wvType;
|
||||
public int wvthrough;
|
||||
public int isMagic;
|
||||
}
|
||||
public class exBrPoolModel_2 : ConfigModel<exBrPoolModel_2, exBrPool_2>
|
||||
{
|
||||
public List<string> config_name_list;
|
||||
public List<string> config_money_list;
|
||||
|
||||
public exBrPoolModel_2(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class exBrPool_2
|
||||
{
|
||||
public int id;
|
||||
public string user_name;
|
||||
public string amount;
|
||||
}
|
||||
|
||||
public class FAQRuleModel : ConfigModel<FAQRuleModel, FAQRule>
|
||||
{
|
||||
public FAQRuleModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class FAQRule
|
||||
{
|
||||
public int id;
|
||||
public string Rule;
|
||||
public string Information1;
|
||||
public string Information2;
|
||||
public string Information3;
|
||||
public string Information4;
|
||||
}
|
||||
public class FAQRuleModel1 : ConfigModel<FAQRuleModel1, FAQRule>
|
||||
{
|
||||
public FAQRuleModel1(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class MessageBoardModel : ConfigModel<MessageBoardModel, MessageBoard>
|
||||
{
|
||||
public MessageBoardModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class MessageBoardModel1 : ConfigModel<MessageBoardModel1, MessageBoard>
|
||||
{
|
||||
public MessageBoardModel1(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
public class MessageBoard
|
||||
{
|
||||
public int id;
|
||||
public string user_name;
|
||||
public string message;
|
||||
}
|
||||
public class TurnOffRewardsModel : ConfigModel<TurnOffRewardsModel, TurnOffRewards>
|
||||
{
|
||||
public TurnOffRewardsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class TurnOffRewards
|
||||
{
|
||||
public int Reward_Type;
|
||||
public float quantity;
|
||||
public int weight;
|
||||
|
||||
|
||||
|
||||
}
|
||||
public class LevelAttemptsModel : ConfigModel<LevelAttemptsModel, LevelAttempts>
|
||||
{
|
||||
public List<string> config_name_list;
|
||||
public List<string> config_money_list;
|
||||
public LevelAttemptsModel(string key) : base(key)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class LevelAttempts
|
||||
{
|
||||
public int id;
|
||||
public string user_name;
|
||||
public string amount;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f1f9625550f492e4f81175c313aae91a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4115be74f64478e91e3503927734ab9
|
||||
timeCreated: 1692323976
|
||||
@@ -0,0 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
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,14 @@
|
||||
namespace IgnoreOPS
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fa1e3104990281d4e877ab367549a0f8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using ChillConnect;
|
||||
|
||||
namespace IgnoreOPS
|
||||
{
|
||||
public partial class Preferences
|
||||
{
|
||||
public int currency101;
|
||||
public decimal currency102 = Decimal.Zero;
|
||||
|
||||
public int maxCurrency101;
|
||||
public int thisDayWatchSlyderVideoNum;
|
||||
public long nextNewDayTime;
|
||||
public string playerName;
|
||||
public int playerAvatarId;
|
||||
public List<long> signState;
|
||||
|
||||
public List<int> completeGuideList;
|
||||
public bool isResetGuide;
|
||||
public int gameOfCount;
|
||||
public int winOfGame;
|
||||
public List<string> onceStatistcList;
|
||||
public int watchVideoBeginSum;
|
||||
public bool isGod;
|
||||
public string facebookId;
|
||||
public string facebookName;
|
||||
public string facebookAvatarUrl;
|
||||
public bool isFaceBookLogin;
|
||||
public bool isGuideFinish;
|
||||
public int currentQuestionIndex;
|
||||
public int gameLevel = 1;
|
||||
public int ChLevel = 0;
|
||||
public bool exchangeBindGuide;
|
||||
public string exchangeAccount;
|
||||
public string exchangeName;
|
||||
public List<int> haveRedeemedSkin;
|
||||
public int inUseSkin;
|
||||
public string paypalAccount;
|
||||
public bool isSuccessRedeem;
|
||||
public List<InviteData> inviteDataList;
|
||||
public List<InviteRecord> inviteRecordList;
|
||||
public List<InviteMakeUpHistory> inviteMakeUpHistoryList;
|
||||
public bool isEditInviteCode = false;
|
||||
public decimal webViewMakeUpOnlineTime = Decimal.Zero;
|
||||
public decimal webViewADTaskOnlineTime = Decimal.Zero;
|
||||
public bool isShowRewardFly101 = false;
|
||||
public bool isShowRewardFly102 = false;
|
||||
|
||||
public decimal playReawrd111 = Decimal.Zero;
|
||||
public bool isShowRewardFly111 = false;
|
||||
public int openRewardCount = 0;
|
||||
public int interRewardShowLevel = -1;
|
||||
public bool isShowOpenReward = false;
|
||||
public bool isRealProcessing;
|
||||
public int realWatchVideo;
|
||||
public bool isClickH5Icon;
|
||||
public long lastClickMainIconTime;
|
||||
public int interH5Url1Count;
|
||||
public int interH5Url2Count;
|
||||
public List<int> makeupSatisfyGears;
|
||||
public int makeupRealReportGear;
|
||||
public bool isLastH5Tab;
|
||||
public long nextOpenWheelStampTime;
|
||||
public long adCashFlyShowTime;
|
||||
public List<AdTaskData> adTaskDataList;
|
||||
public int adTaskCount;
|
||||
public int correctAnswerCount;
|
||||
public List<bool> achievementAnswerList;
|
||||
public int h5StayTime;
|
||||
public int videoWatchCount;
|
||||
public int signInCount;
|
||||
public List<bool> achievementSignInList;
|
||||
public int inviteCount;
|
||||
public bool naiveStepFinish;
|
||||
public List<MakeupTaskData> makeupTaskHistory;
|
||||
public decimal makeupTaskH5Time = Decimal.Zero;
|
||||
public bool makeupConditionMark;
|
||||
public Dictionary<string, bool> statisticDictionary;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c96714641282bd4599d9910970cc804
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,209 @@
|
||||
using FairyGUI;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
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,
|
||||
GameWin,
|
||||
H5Icon,
|
||||
LuckyWheel,
|
||||
SignIn,
|
||||
AdTask,
|
||||
Play,
|
||||
Achievement,
|
||||
H5Fly101,
|
||||
H5Fly102,
|
||||
Passview,
|
||||
}
|
||||
|
||||
public enum RewardCondition
|
||||
{
|
||||
None,
|
||||
AD,
|
||||
}
|
||||
|
||||
|
||||
public class RewardSingleData
|
||||
{
|
||||
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 int index;
|
||||
public RewardSingleData(int id, decimal value, RewardOrigin origin, int index = 0)
|
||||
{
|
||||
this.id = id;
|
||||
this.value = value;
|
||||
this.origin = origin;
|
||||
this.index = index;
|
||||
InitData();
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
return id == 101 || id == 102 || id == 111 || id == 112;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class RewardData
|
||||
{
|
||||
private List<RewardSingleData> rewardDataList;
|
||||
|
||||
public RewardDisplayType displayType;
|
||||
|
||||
public RewardCondition condition;
|
||||
|
||||
private Action<bool> mOnCompleted;
|
||||
|
||||
public bool isSingle;
|
||||
public int sign_in_days;
|
||||
public decimal ctRate;
|
||||
|
||||
public RewardData()
|
||||
{
|
||||
InitData();
|
||||
}
|
||||
|
||||
public void AddCompleted(Action<bool> onCompleted)
|
||||
{
|
||||
mOnCompleted += onCompleted;
|
||||
}
|
||||
|
||||
|
||||
public void OnCompleted(bool isSuccess)
|
||||
{
|
||||
mOnCompleted?.Invoke(isSuccess);
|
||||
}
|
||||
|
||||
public void AddReward(RewardSingleData rewardSingleData)
|
||||
{
|
||||
rewardDataList ??= new List<RewardSingleData>();
|
||||
|
||||
var isNeedAdd = true;
|
||||
|
||||
foreach (var data in rewardDataList.Where(data => data.id == rewardSingleData.id))
|
||||
{
|
||||
data.value += rewardSingleData.value;
|
||||
isNeedAdd = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (isNeedAdd)
|
||||
{
|
||||
rewardDataList.Add(rewardSingleData);
|
||||
}
|
||||
}
|
||||
|
||||
private void InitData()
|
||||
{
|
||||
if (rewardDataList != null)
|
||||
{
|
||||
rewardDataList.Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
rewardDataList = new List<RewardSingleData>();
|
||||
}
|
||||
}
|
||||
|
||||
public List<RewardSingleData> 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,90 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RewardDisplayData
|
||||
{
|
||||
public RewardSingleData rewardSingleData;
|
||||
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 RewardDisplayData(RewardSingleData rewardSingleData)
|
||||
{
|
||||
this.rewardSingleData = rewardSingleData;
|
||||
showValue = rewardSingleData.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,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9eafcb38d704b73b585e6cf09500c46
|
||||
timeCreated: 1692324038
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7f5a30e987967a64a9eaaaebee0452c9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RespAdEventData
|
||||
{
|
||||
[JsonProperty("type")]
|
||||
public int type;
|
||||
}
|
||||
|
||||
public class RespGameTimeEventData
|
||||
{
|
||||
[JsonProperty("type")]
|
||||
public int type;
|
||||
[JsonProperty("second")]
|
||||
public int second;
|
||||
}
|
||||
|
||||
public class ResGameConfigData
|
||||
{
|
||||
[JsonProperty("conf_num")]
|
||||
public int conf_num;
|
||||
}
|
||||
public class RespAdRevenueEventData
|
||||
{
|
||||
[JsonProperty("type")]
|
||||
public int type;
|
||||
[JsonProperty("revenue")]
|
||||
public float revenue;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a77caaa8e4a54f2b8d29f94f6f68e27
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RespDebugData
|
||||
{
|
||||
[JsonProperty("uid")]
|
||||
public long uid;
|
||||
[JsonProperty("device")]
|
||||
public string device;
|
||||
[JsonProperty("os_ver")]
|
||||
public string os_ver;
|
||||
[JsonProperty("network")]
|
||||
public string network;
|
||||
[JsonProperty("device_id")]
|
||||
public string device_id;
|
||||
[JsonProperty("pack_name")]
|
||||
public string pack_name;
|
||||
[JsonProperty("version")]
|
||||
public string version;
|
||||
[JsonProperty("level")]
|
||||
public string level;
|
||||
[JsonProperty("message")]
|
||||
public string message;
|
||||
[JsonProperty("stacktrace")]
|
||||
public string stacktrace;
|
||||
[JsonProperty("channel")]
|
||||
public string channel;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f39e3d1bf01df045a747578f4116192
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,25 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RespLoginFunnelData
|
||||
{
|
||||
[JsonProperty("uid")]
|
||||
public long uid;
|
||||
[JsonProperty("trace_id")]
|
||||
public string trace_id;
|
||||
[JsonProperty("device_id")]
|
||||
public string device_id;
|
||||
[JsonProperty("pack_name")]
|
||||
public string pack_name;
|
||||
[JsonProperty("version")]
|
||||
public string version;
|
||||
[JsonProperty("channel")]
|
||||
public string channel;
|
||||
[JsonProperty("type")]
|
||||
public string type;
|
||||
[JsonProperty("payload")]
|
||||
public string payload;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f1f239ecb4377814a8d09a33c9ae35f5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 150775511ca7461893ce10ec8fde523d
|
||||
timeCreated: 1692324525
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RequestLoginData
|
||||
{
|
||||
public string device_id;
|
||||
public string pack_name;
|
||||
public string app_version;
|
||||
public string channel;
|
||||
public bool sim;
|
||||
}
|
||||
|
||||
public class ResquestTokenData
|
||||
{
|
||||
public string token;
|
||||
public long expires_at;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 379445958647447cb9d8c5bdc4a6b545
|
||||
timeCreated: 1692324059
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class ResponseData
|
||||
{
|
||||
public int code;
|
||||
public string msg;
|
||||
public object data;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 63d467dfdd754d0fb05cc967327761e7
|
||||
timeCreated: 1692339515
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa0c21c1bc4d4bb08e3fe22e1e301ec1
|
||||
timeCreated: 1692344204
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ChillConnect
|
||||
{
|
||||
public class RequestSavePlayData
|
||||
{
|
||||
public long version;
|
||||
public string data;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user