4534 【1.3】【前端】组队功能和助战积分优化
1 文件已重命名
279个文件已修改
20个文件已添加
| New file |
| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Friday, November 23, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | | using System; |
| | | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | public partial class DungeonHelpBattleConfig : ConfigBase { |
| | | |
| | | public int ID { get ; private set ; }
|
| | | public int DataMapID { get ; private set ; }
|
| | | public int LineID { get ; private set ; }
|
| | | public int RobotFightPower { get ; private set ; }
|
| | | public int RobotLV { get ; private set ; }
|
| | | public int RobotRealmLV { get ; private set ; }
|
| | | public string RobotCloth { get ; private set; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return ID.ToString(); |
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | DataMapID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; |
| | | |
| | | LineID=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0; |
| | | |
| | | RobotFightPower=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; |
| | | |
| | | RobotLV=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; |
| | | |
| | | RobotRealmLV=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; |
| | | |
| | | RobotCloth = rawContents[6].Trim(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DebugEx.Log(ex); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 203ff429fb480b64e9aeaffe9a5d95ee |
| | | timeCreated: 1542942620 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | AddAsyncTask<IceLodeStarAwardConfig>();
|
| | | AddAsyncTask<TaskPowerConfig>();
|
| | | AddAsyncTask<GodWeaponEffectConfig>();
|
| | |
|
| | | AddAsyncTask<DungeonHelpBattleConfig>();
|
| | | while (!AllCompleted())
|
| | | {
|
| | | var completedCount = 0;
|
| File was renamed from Lua/Gen/Resources.meta |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a545fb3dcf719304fa74180c10219375 |
| | | guid: 321475f4499e8674badb34e18a006552 |
| | | folderAsset: yes |
| | | timeCreated: 1542357825 |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | DefaultImporter: |
| | | userData: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B1 05 助战登记 #tagCMHelpBattleCheckIn
|
| | |
|
| | | public class CB105_tagCMHelpBattleCheckIn : GameNetPackBasic {
|
| | |
|
| | | public CB105_tagCMHelpBattleCheckIn () {
|
| | | combineCmd = (ushort)0x03FE;
|
| | | _cmd = (ushort)0xB105;
|
| | | }
|
| | |
|
| | | public override void WriteToBytes () {
|
| | | }
|
| | |
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 72d93d2e975893a4fbc496a961b3dd0f |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B1 06 助战召唤 #tagCMHelpBattleCall
|
| | |
|
| | | public class CB106_tagCMHelpBattleCall : GameNetPackBasic {
|
| | | public byte IsOneKeyCall; // 是否一键召唤
|
| | | public uint PlayerID; // 召唤的玩家ID,大于1小于100代表机器人
|
| | | public byte IsGoldCall; // 是否仙玉召唤
|
| | |
|
| | | public CB106_tagCMHelpBattleCall () {
|
| | | combineCmd = (ushort)0x03FE;
|
| | | _cmd = (ushort)0xB106;
|
| | | }
|
| | |
|
| | | public override void WriteToBytes () {
|
| | | WriteBytes (IsOneKeyCall, NetDataType.BYTE);
|
| | | WriteBytes (PlayerID, NetDataType.DWORD);
|
| | | WriteBytes (IsGoldCall, NetDataType.BYTE);
|
| | | }
|
| | |
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4f7529352c7453547bd77d84af066255 |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B1 07 助战刷新 #tagCMHelpBattleRefresh
|
| | |
|
| | | public class CB107_tagCMHelpBattleRefresh : GameNetPackBasic {
|
| | |
|
| | | public CB107_tagCMHelpBattleRefresh () {
|
| | | combineCmd = (ushort)0x03FE;
|
| | | _cmd = (ushort)0xB107;
|
| | | }
|
| | |
|
| | | public override void WriteToBytes () {
|
| | | }
|
| | |
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e40135395eb4ffe49baddbab8e03f0cd |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B2 05 助战登记结果 #tagMCHelpBattleCheckInResult
|
| | |
|
| | | public class DTCB205_tagMCHelpBattleCheckInResult : DtcBasic {
|
| | | public override void Done(GameNetPackBasic vNetPack) {
|
| | | base.Done(vNetPack);
|
| | | HB205_tagMCHelpBattleCheckInResult vNetData = vNetPack as HB205_tagMCHelpBattleCheckInResult;
|
| | | }
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b4f653fdeab11a84699c7345284586ef |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B2 06 助战召唤结果 #tagMCHelpBattleCallResult
|
| | |
|
| | | public class DTCB206_tagMCHelpBattleCallResult : DtcBasic {
|
| | | public override void Done(GameNetPackBasic vNetPack) {
|
| | | base.Done(vNetPack);
|
| | | HB206_tagMCHelpBattleCallResult vNetData = vNetPack as HB206_tagMCHelpBattleCallResult;
|
| | | }
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8e8661b50b66fe04e94d51a6a31517a1 |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B2 07 助战机器人列表 #tagMCHelpBattleList
|
| | |
|
| | | public class DTCB207_tagMCHelpBattleList : DtcBasic {
|
| | | public override void Done(GameNetPackBasic vNetPack) {
|
| | | base.Done(vNetPack);
|
| | | HB207_tagMCHelpBattleList vNetData = vNetPack as HB207_tagMCHelpBattleList;
|
| | | }
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5edfcebd29bdfa94ebda32006925a9a1 |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B2 05 助战登记结果 #tagMCHelpBattleCheckInResult
|
| | |
|
| | | public class HB205_tagMCHelpBattleCheckInResult : GameNetPackBasic {
|
| | | public byte IsOK; //是否成功
|
| | |
|
| | | public HB205_tagMCHelpBattleCheckInResult () {
|
| | | _cmd = (ushort)0xB205;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | TransBytes (out IsOK, vBytes, NetDataType.BYTE);
|
| | | }
|
| | |
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 825e3d1a20525624dab038e8b91908ee |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B2 06 助战召唤结果 #tagMCHelpBattleCallResult
|
| | |
|
| | | public class HB206_tagMCHelpBattleCallResult : GameNetPackBasic {
|
| | | public uint ObjID; // 助战实例ID
|
| | | public uint PlayerID; // 助战镜像ID,大于1小于100代表机器人,如果是机器人前端按顺序自己记录对应实例ID代表已召唤
|
| | |
|
| | | public HB206_tagMCHelpBattleCallResult () {
|
| | | _cmd = (ushort)0xB206;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | TransBytes (out ObjID, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out PlayerID, vBytes, NetDataType.DWORD);
|
| | | }
|
| | |
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: aec01928b427d9d48847a666371fef05 |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | // B2 07 助战机器人列表 #tagMCHelpBattleList
|
| | |
|
| | | public class HB207_tagMCHelpBattleList : GameNetPackBasic {
|
| | | public byte RefreshCount; // 已刷新次数
|
| | | public byte HelpCount; // 助战个数
|
| | | public tagMCHelpBattlePlayer[] HelpPlayerList; // 助战镜像信息
|
| | |
|
| | | public HB207_tagMCHelpBattleList () {
|
| | | _cmd = (ushort)0xB207;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | TransBytes (out RefreshCount, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out HelpCount, vBytes, NetDataType.BYTE);
|
| | | HelpPlayerList = new tagMCHelpBattlePlayer[HelpCount];
|
| | | for (int i = 0; i < HelpCount; i ++) {
|
| | | HelpPlayerList[i] = new tagMCHelpBattlePlayer();
|
| | | TransBytes (out HelpPlayerList[i].ObjID, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out HelpPlayerList[i].PlayerID, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out HelpPlayerList[i].NameLen, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out HelpPlayerList[i].Name, vBytes, NetDataType.Chars, HelpPlayerList[i].NameLen);
|
| | | TransBytes (out HelpPlayerList[i].LV, vBytes, NetDataType.WORD);
|
| | | TransBytes (out HelpPlayerList[i].Job, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out HelpPlayerList[i].RealmLV, vBytes, NetDataType.WORD);
|
| | | TransBytes (out HelpPlayerList[i].FightPower, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out HelpPlayerList[i].IsNeedGold, vBytes, NetDataType.BYTE);
|
| | | }
|
| | | }
|
| | |
|
| | | public struct tagMCHelpBattlePlayer {
|
| | | public uint ObjID; // 实例ID, 0代表未召唤
|
| | | public uint PlayerID; // 助战镜像ID, 大于1小于100代表机器人,如果是机器人,没有以下信息,相关信息自己读配置
|
| | | public byte NameLen;
|
| | | public string Name; // 玩家名,size = NameLen
|
| | | public ushort LV; // 玩家等级
|
| | | public byte Job; // 玩家职业, 如果是机器人,则职业有值,服务端控制
|
| | | public ushort RealmLV; // 玩家境界等级
|
| | | public uint FightPower; // 玩家战力
|
| | | public byte IsNeedGold; // 是否需要仙玉召唤
|
| | | }
|
| | |
|
| | | }
|
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7644ffc66df9c1a49b06e43c5dc1dca3 |
| | | timeCreated: 1542939284 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | fileFormatVersion: 2 |
| | | guid: dc4d13d8870f71a41837b821c9d0e063 |
| | | folderAsset: yes |
| | | timeCreated: 1542892648 |
| | | timeCreated: 1542941427 |
| | | licenseType: Pro |
| | | DefaultImporter: |
| | | userData: |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 366ef616cf2798c4db442a16e1431ee4 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f9502491d5407e947b6353c15dc1588c |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 575c508f17509084599574c537caaea3 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1052d29a5ac367140af65e0ab05e34fe |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ed7a78ecdf6443a408a4cfddd15b1a2b |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7367406c7d706a049ac48703baaf9f28 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 903c8091fd11a4c4f8ebec1dda3e21c9 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2853dbf742661134c85ca228df893351 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 85efaee8cda3b4a4296558d4a1324604 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b8a0a9d0f3042574cb864dbe49c409ff |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 742ba637d1995814289a525960538a5e |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 65ba713f20de65b49ad7d5ad35a285b8 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e67d2566b86a54840bd1e2741653bd5a |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2b64a4df45954f646a1dd57f9d36d706 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 720623b7498f49b43afcae0922e43101 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | | |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 159, 0, 0); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSkill", _m_GetSkill_xlua_st_); |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 172, 0, 0); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetChatBubbleBox", _m_GetChatBubbleBox_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetIceLodeStarAward", _m_GetIceLodeStarAward_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMarketQuery", _m_GetMarketQuery_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGodWeaponEffect", _m_GetGodWeaponEffect_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetGuard", _m_GetGuard_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetHelpInfo", _m_GetHelpInfo_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPriorLanguage", _m_GetPriorLanguage_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPriorBundle", _m_GetPriorBundle_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetLoadingBackGround", _m_GetLoadingBackGround_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetContact", _m_GetContact_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTreasureDungeon", _m_GetTreasureDungeon_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTaskPower", _m_GetTaskPower_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetApkUpdateUrl", _m_GetApkUpdateUrl_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSkill", _m_GetSkill_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSignIn", _m_GetSignIn_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSceneShadow", _m_GetSceneShadow_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetRuneTowerFloor", _m_GetRuneTowerFloor_xlua_st_); |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetChatBubbleBox_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.ChatBubbleBoxConfig gen_ret = ConfigUtil.GetChatBubbleBox( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetIceLodeStarAward_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.IceLodeStarAwardConfig gen_ret = ConfigUtil.GetIceLodeStarAward( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetMarketQuery_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.MarketQueryConfig gen_ret = ConfigUtil.GetMarketQuery( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetGodWeaponEffect_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.GodWeaponEffectConfig gen_ret = ConfigUtil.GetGodWeaponEffect( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetGuard_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.GuardConfig gen_ret = ConfigUtil.GetGuard( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetHelpInfo_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.HelpInfoConfig gen_ret = ConfigUtil.GetHelpInfo( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetPriorLanguage_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.PriorLanguageConfig gen_ret = ConfigUtil.GetPriorLanguage( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetPriorBundle_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.PriorBundleConfig gen_ret = ConfigUtil.GetPriorBundle( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetLoadingBackGround_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.LoadingBackGroundConfig gen_ret = ConfigUtil.GetLoadingBackGround( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetContact_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.ContactConfig gen_ret = ConfigUtil.GetContact( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetTreasureDungeon_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.TreasureDungeonConfig gen_ret = ConfigUtil.GetTreasureDungeon( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetTaskPower_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.TaskPowerConfig gen_ret = ConfigUtil.GetTaskPower( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetApkUpdateUrl_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __key = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | TableConfig.ApkUpdateUrlConfig gen_ret = ConfigUtil.GetApkUpdateUrl( __key ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetSkill_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2f272517dccc3784ea7d5c8c5264ac31 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5594336958101ed4fb3cc3c7a3675511 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e75b5ad272c6d1f4889f4a60e014f759 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 57eea5bf27d44c44a836bd30700f4c90 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9a322da19987dbc4fa65ded8f50eba20 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp9(object p0, float p1) |
| | | public void __Gen_Delegate_Imp9(object p0, ScrollerDataType p1, object p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | ObjectTranslator translator = luaEnv.translator; |
| | | translator.PushAny(L, p0); |
| | | translator.Push(L, p1); |
| | | translator.PushAny(L, p2); |
| | | |
| | | PCall(L, 3, 0, errFunc); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp10(object p0, float p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public StoreModel __Gen_Delegate_Imp10(object p0) |
| | | public StoreModel __Gen_Delegate_Imp11(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp11(object p0) |
| | | public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp12(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp12(object p0) |
| | | public bool __Gen_Delegate_Imp13(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp13(object p0) |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp14(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp14(object p0, object p1) |
| | | public void __Gen_Delegate_Imp15(object p0, object p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp15(object p0, out int p1) |
| | | public bool __Gen_Delegate_Imp16(object p0, out int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp16(object p0, int p1) |
| | | public void __Gen_Delegate_Imp17(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 38127c1aba2f2f84180f8641b5485b6d |
| | | timeCreated: 1542892650 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9a293067c341ace46a9ad6875b463be6 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6a988e256acba494eadcc20a3999d360 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bfe0ba41c73fa5d4899da5f0a81086f6 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6e78a5286980d6a4387dbc681c8ce8f4 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 67758631677f240498cb4e8869b58e5a |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d954292965128ac4b8ad86c0789b2621 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d134f1057834f5e49a5d8b94c8f845bb |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e5e79b18419e49e438bb35a1a3edf542 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c1a5d7f841dd1074488292bdd04b411f |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 77cabfb770b6b2b4e9f5303e2955ddac |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c52c6861b77786143b4b10ef43463a05 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 776516ba62464d6499d794710cf35ad0 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1e173f66b6a9b1446ba7bbea76d51647 |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 16eecc21a0392494abde7ecaa0a8832d |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 831c99c185e7f1a48acbcd3c23093a7a |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 86a069a303fdb7f4383a64d5fb5c45a9 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bcc451f8eb19c3e40898480e29da495e |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 29e52f2a27fea7d429c21fcadc9c8bbf |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e1c6a0360e313da4eab15eae14f2d92a |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ad75d722cf8b88449a9c736f1893d782 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 64e7cf853bbf4bf42adef5e2e1a94dfd |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b9323ca02b46d26458c6fe6acb4aac12 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8e95293ea9fc1a74990ade8588c60553 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b289e75fb1c763a46bb13f8524351dae |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3c1a0d27eaf9e0145b0d0018ca48c0b1 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1437d7bba566e504099d72d7ae48720d |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d898d9ee8214b424290a033b4f8d210a |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 742281ed58b42804493142160cedb706 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 51676a4765e51774faa3999806d84e4a |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 826c927effcbdeb46acff0a6dfdceb6a |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2c53ea58fddcb0f45a1e6f8f6cbc69ee |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ff522c98d61db384ea53d63f06b160e7 |
| | | timeCreated: 1542892706 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8680fba7267ca044b97790a1053bc054 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4c03aab61a5a77c4bbf0d44f8d7a4388 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e3dcc9780e97eb0408f1801048b32087 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 05c7e245befdd69469423894f563652b |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965471 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3dfac8c26173ab64785fd29ea8ecd26b |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d4fb42a3e4308d44c9eb0c79686faa97 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ede522b8cf69edd4da535db4eedfc8f2 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a0c6c75008b1bee4fade9867db5126ac |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9fc52aecd7f5e3440a526bb1da56c0b2 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3eb2eeb0d312e294492ba8df035cf399 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0d3f054e3d96eb448a4df5a6cc3d37a1 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e0050a9ffeb549f49ae3dfa996aac9b9 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 443c90b4b7e2ebc48bb495dff02ab125 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7f5b1e9efce473c4cb81157946499def |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bb4f06d30c4617340a36302fffbd9807 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b7b4d10ec07658347aacc1dd71b21379 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cdbe72c783d234a4e95064569328bf88 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(PlayerDeadModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 18, 18, 9); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 18, 19, 9); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonKillArray", _g_get_dungeonKillArray); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "deadBuffId", _g_get_deadBuffId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxDeadBuffLV", _g_get_maxDeadBuffLV); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "RebornConditions", _g_get_RebornConditions); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerIsDie", _g_get_playerIsDie); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsCanReborn", _g_get_IsCanReborn); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_maxDeadBuffLV(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | PlayerDeadModel gen_to_be_invoked = (PlayerDeadModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxDeadBuffLV); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_RebornConditions(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e20be7566bae86a40bb5da178c4b869e |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: edbf072288603014abba0af3dacf6284 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f5ed1c6c3115386429a0e5046dc73d95 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3c0c3a3ee7ac3d54489db66bee9e0da4 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: aab2171e55e4960439ffa056abe6ade7 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9c14f21446dd8234884140c3874503ba |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2941dc2494d939445afc44dd89d7a812 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 83c52f4ac532a4b48be383ac8f7a7c16 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2aae40723e375b94389e06a7208bb9d1 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1e1fc048d20a48f4fa78a3f1a9395fcf |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6cc2176a3805d724eb566af133ea7af5 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b28dd16e04195c84ab4833cc1ccfd94e |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c98f51a10421287449b92b04c366fe80 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b228f3e0ca3f5d94585a1d0ea10ee09c |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f0eb44f25c31731408c2bf02535cc833 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f96e5d71694078648b3e81d014b7f4ec |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 83f82d7fc20bb404f92d95b531bd19b9 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e51a94726bd39b1428959de7c1026701 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 19db0b90a16aab94a8700f3d92a0b84d |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d4b6552434c4bf247908e89aab218761 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bc20d93b1cfe4274aa136a34f23b29ce |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 65ecd44b662fd2242ae24f6bfc8e6ee4 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9d8abcd8d920a04418c38f2ea45f7bd6 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 67b682d35abe8a14a961168bb88c68ac |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b1024eb9474128e41bd640f6c3b33f87 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4e7f587911ad1a5499a9e4a8b8b6c9ac |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a9d62babd45b7934ca0c5a15889ec95c |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 10a962aa0fe28e249826e49bc7a6aba7 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: acf6615851439784dadba24b9f23bff6 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0a8ab45402c85f240bce9fdde4dee238 |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cd76736fa49885e4bb804a441e8129da |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 431a6169055f3d54e88f58f576f50bae |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3517bd5cd5dcdb849b47f0e7874404e9 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 35141eb4f8d4e0b4596071530a48dbdc |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 33d0ac81552d8944d8e2b34adda63494 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 34d58d96b49dee445aec87d6f8c13942 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7598ad4a29bcded4b9a5f8874f28a0c9 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5d8319c3d7861b740b45a1f31af88563 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b481275ca90afeb49bf52efc8cc81e66 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c29ed11e2d46a9c4f8e48fdacaef75d0 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 35edba0768f17624aa0a208fdb3ccd61 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.DungeonAssistModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 10, 2, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 21, 12, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistReward", _m_GetAssistReward); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHelpBattleConfig", _m_GetHelpBattleConfig); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHelpInfoLocalSave", _m_SetHelpInfoLocalSave); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetAssistResult", _m_TryGetAssistResult); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistCheckInResult", _m_UpdateAssistCheckInResult); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistList", _m_UpdateAssistList); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayer", _m_UpdataAssistPlayer); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistResult", _m_UpdateAssistResult); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistPlayerInfo", _m_GetAssistPlayerInfo); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistPlayerInfos", _m_GetAssistPlayerInfos); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendAssistCheckIn", _m_SendAssistCheckIn); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPlayerAssist", _m_SendPlayerAssist); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendAssistRefresh", _m_SendAssistRefresh); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFreeRefresh", _m_TryGetFreeRefresh); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateResultEvent", _e_UpdateResultEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCheckInResultEvent", _e_UpdateCheckInResultEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayerListEvent", _e_UpdataAssistPlayerListEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdataAssistPlayerEvent", _e_UpdataAssistPlayerEvent); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpInfoLocalSave", _g_get_helpInfoLocalSave); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpInfolist", _g_get_helpInfolist); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpBattleDict", _g_get_helpBattleDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistCoolTime", _g_get_assistCoolTime); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeRefreshNum", _g_get_freeRefreshNum); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "goldRefreshNum", _g_get_goldRefreshNum); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "refreshCostMoney", _g_get_refreshCostMoney); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxXianYuanCoins", _g_get_maxXianYuanCoins); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "checkInTotalTime", _g_get_checkInTotalTime); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistCoinsDict", _g_get_assistCoinsDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsCheckInOk", _g_get_IsCheckInOk); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistRefreshNum", _g_get_assistRefreshNum); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetAssistReward(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _type = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetAssistReward( _type ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetHelpBattleConfig(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _mapId = LuaAPI.xlua_tointeger(L, 2); |
| | | int _lineId = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | TableConfig.DungeonHelpBattleConfig gen_ret = gen_to_be_invoked.GetHelpBattleConfig( _mapId, _lineId ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SetHelpInfoLocalSave(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UpdataAssistPlayer(RealStatePtr L) |
| | | static int _m_UpdateAssistCheckInResult(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | |
| | | |
| | | |
| | | { |
| | | HB205_tagMCHelpBattleCheckInResult _checkInResult = (HB205_tagMCHelpBattleCheckInResult)translator.GetObject(L, 2, typeof(HB205_tagMCHelpBattleCheckInResult)); |
| | | |
| | | gen_to_be_invoked.UpdataAssistPlayer( ); |
| | | gen_to_be_invoked.UpdateAssistCheckInResult( _checkInResult ); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UpdateAssistResult(RealStatePtr L) |
| | | static int _m_UpdateAssistList(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | HB207_tagMCHelpBattleList _battleList = (HB207_tagMCHelpBattleList)translator.GetObject(L, 2, typeof(HB207_tagMCHelpBattleList)); |
| | | |
| | | gen_to_be_invoked.UpdateAssistList( _battleList ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UpdataAssistPlayer(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | HB206_tagMCHelpBattleCallResult _callResult = (HB206_tagMCHelpBattleCallResult)translator.GetObject(L, 2, typeof(HB206_tagMCHelpBattleCallResult)); |
| | | |
| | | gen_to_be_invoked.UpdataAssistPlayer( _callResult ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetAssistPlayerInfo(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _playerId = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | Snxxz.UI.DungeonAssistModel.AssistPlayerInfo gen_ret = gen_to_be_invoked.GetAssistPlayerInfo( _playerId ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetAssistPlayerInfos(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.UpdateAssistResult( ); |
| | | System.Collections.Generic.List<Snxxz.UI.DungeonAssistModel.AssistPlayerInfo> gen_ret = gen_to_be_invoked.GetAssistPlayerInfos( ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SendAssistCheckIn(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.SendAssistCheckIn( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SendPlayerAssist(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | |
| | | if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) |
| | | { |
| | | int _isOneKey = LuaAPI.xlua_tointeger(L, 2); |
| | | int _playerId = LuaAPI.xlua_tointeger(L, 3); |
| | | int _isGold = LuaAPI.xlua_tointeger(L, 4); |
| | | |
| | | gen_to_be_invoked.SendPlayerAssist( _isOneKey, _playerId, _isGold ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) |
| | | { |
| | | int _isOneKey = LuaAPI.xlua_tointeger(L, 2); |
| | | int _playerId = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | gen_to_be_invoked.SendPlayerAssist( _isOneKey, _playerId ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) |
| | | { |
| | | int _isOneKey = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | gen_to_be_invoked.SendPlayerAssist( _isOneKey ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.SendPlayerAssist!"); |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SendAssistRefresh(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.SendAssistRefresh( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_TryGetFreeRefresh(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _remainNum; |
| | | |
| | | bool gen_ret = gen_to_be_invoked.TryGetFreeRefresh( out _remainNum ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | LuaAPI.xlua_pushinteger(L, _remainNum); |
| | | |
| | | |
| | | |
| | | |
| | | return 2; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.helpInfolist); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_helpBattleDict(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.helpBattleDict); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_assistCoolTime(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.assistCoolTime); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_freeRefreshNum(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.freeRefreshNum); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_goldRefreshNum(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.goldRefreshNum); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_refreshCostMoney(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.refreshCostMoney); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_maxXianYuanCoins(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxXianYuanCoins); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_checkInTotalTime(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.checkInTotalTime); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_assistCoinsDict(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.assistCoinsDict); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_IsCheckInOk(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsCheckInOk); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_assistRefreshNum(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.assistRefreshNum); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_UpdataAssistPlayerEvent(RealStatePtr L) |
| | | static int _e_UpdateCheckInResultEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.UpdateCheckInResultEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.UpdateCheckInResultEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdateCheckInResultEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_UpdataAssistPlayerListEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.UpdataAssistPlayerListEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.UpdataAssistPlayerListEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.DungeonAssistModel.UpdataAssistPlayerListEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_UpdataAssistPlayerEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.DungeonAssistModel gen_to_be_invoked = (Snxxz.UI.DungeonAssistModel)translator.FastGetCSObj(L, 1); |
| | | System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<int>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.UpdataAssistPlayerEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0c4f170a0e60c1f4d8390712889c2037 |
| | | timeCreated: 1542942273 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5fc3169b30fc1ae4885e31f8ddb884ad |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6eef41c9063ba58439822400982fb465 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ebc824bbbf716204db0a7dd1b6432900 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 44791766fdc6e5b4aa84e31f18eb8313 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 59359b936262095478e72944710f44d5 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 52e06f48a20c14c4c8382c613aa69686 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 080467fae347c5e4f87e034c641ab681 |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.FairyGrabBossModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 31, 18, 3); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 31, 19, 4); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "noticeShowHorse", _g_get_noticeShowHorse); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "cacheGotoBossId", _g_get_cacheGotoBossId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reduceInjuryBuffId", _g_get_reduceInjuryBuffId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "flyToGrabBossRemind", _g_get_flyToGrabBossRemind); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "helpCoolDown", _g_get_helpCoolDown); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyGrabBossHelps", _g_get_fairyGrabBossHelps); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectBoss", _s_set_selectBoss); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "flyToGrabBossRemind", _s_set_flyToGrabBossRemind); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "helpCoolDown", _s_set_helpCoolDown); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "fairyGrabBossHelps", _s_set_fairyGrabBossHelps); |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_flyToGrabBossRemind(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.flyToGrabBossRemind); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_helpCoolDown(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _s_set_flyToGrabBossRemind(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.FairyGrabBossModel gen_to_be_invoked = (Snxxz.UI.FairyGrabBossModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.flyToGrabBossRemind = LuaAPI.lua_toboolean(L, 2); |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _s_set_helpCoolDown(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cdfa7b8751044b44ca2d7d4577399cec |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e00f0b5898703144a96436f92fc448b3 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8cabe004b5cc89c449f55cca62e45d87 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 04023a30a754f7241ae20762f76b630c |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965471 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4b9fd447cb5eca74cbe6bbe110054e57 |
| | | timeCreated: 1542874645 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2121c8a8875993c4a973f7c28b29673b |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2fa5a5fc5dca0e8439001de2495e9899 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3cef829b4f138c543aa1ee99a0b4177c |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 712a87bd2e43c1d45ad766b53de6b5bd |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5bfda560a319f6040b21bd19fd0a69a2 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ffaa2a2d7630abc428a55ea2072068fb |
| | | timeCreated: 1542892706 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c9596efa8419cc044b73fc82e697890c |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c6291f150fca89d48b41ab0b26ec2137 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e23ea9b6be09d5a48aeb5a14b39d3cf0 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ff38296aef3e2da46863df35d91d92aa |
| | | timeCreated: 1542892706 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a74227626a407f940a257b888c2534eb |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8e2c9a9f5ab32924db74f0bdd61ae1b1 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 320fad661ef112542a682fa83335451e |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e6d30c3f8b1abf9488d72aa7e86b04fb |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 38f643aee0976f24aba4cd55a33ad59c |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0d0a9385bbd8291469659b1c795cfb7a |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: dc63883ab698291438f5632eed262c38 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8857b8ac5c10c1c46b68cce4d3c9b429 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f8a5a2ad126e5af448c3c3ab4e862d5d |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 06578f1ce7db3ad4890941f7cdbfc521 |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965471 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: bfba1164f8c10c24e9e638523ea9d281 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4d028498045645c4dbc9ea7c97e1405c |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 896fb0af0ecfcaa41b1bd6202498fa0c |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 80b2913261dbda24c8015736780ad730 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: aefcced4a62a09846a816cdd52fd0fd5 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 80a60d8a976330d44ad04987842a7a2f |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e647675c83372d94faa7f1d0c0a71990 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cc16e78485e0cc54a9de310d4f20585d |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 184ea66fdd47f5845bf378baabb48f50 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 48896e8ac4fe3e04cb56190be95ad16e |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6e1a755e1f65708448dceca8b6c2ae6f |
| | | timeCreated: 1542892651 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 27d94d735ae38f143890a001d9941b5e |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e68a02949c361904996cbe52470702d2 |
| | | timeCreated: 1542892651 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0b7360ccc546c954fb5cfb767b8c8ac1 |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c50d79c8d8550ea4c903207fdc0619dc |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 288bc8f0f2b492c43b7e1abb0c93b271 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b38f6da1afb9cab4a8ebe956d0ef70dc |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a4b59e2b5f1c51c4bb0dc4cec7d66cae |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a75be801f80356049a2e0800c8514bbb |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c1da5e6ed1826bb45a261d57439c0cf6 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ff2ad26384e9c4c44bb3659fc84fb939 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f97bd5cb158e7c84792b879af71e31d0 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 431f9417cee8a224fa6ffa39a745a8e0 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6f7079cfbbcfd2d4e8a4a4ba755b31d9 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ca5a3371c10a33f499a5765438d0cbee |
| | | timeCreated: 1542942273 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 295b6a9e0ff213944b3c9313fd5df193 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5093dd8dccd0ffc4583099d1c2d68b1f |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f9403e4630f3fc5478cd79acce0d4081 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1cc9cc8ffb4b42b4b8588096103346c2 |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 87f4f6943faef864aaf2a3a2e4c8c746 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5394c7fbf196b9a4eab534c240b7f963 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e89b5cefbd699924992bd979307ce9be |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b0baab9ef76072b40956c8409e0cb73a |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a0ab36028c9ef7b4a9ee0598af59866d |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6fe686db582793c4fa1f207ba4502658 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 47e4575cd41b3e64b98c6b07f3df3ffa |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0bf5bb7b7d505f945b1444602423817a |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7d9cbfb2f3cb4ef4997476166c75ebd2 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 010c47966f9b9164bbf31f61dae668f5 |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965471 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e07187f9b5216ca4b81abf50cf9332cf |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: b6df7d36a433a5247947b283f906c813 |
| | | timeCreated: 1542892700 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 38c134d9c115dbd4180fa42ccfbe0b6b |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 52832d915ae39d2409d8473f22f49173 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1e19041e473f41b4dade835092a7266b |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 5d797b770e8f4164daf5fdce8019e205 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0be4ca78de9687345bb3b4ef18baa86b |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c292fa3fe328a5b46a715d35cbd2ff15 |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 99f62f19aed557649ba25b4b2a06fba6 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6fa1c8ced3fac4345baf9ea51cbd43f8 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.TaskAllocation); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 6, 0, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 6, 1, 1); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTaskInfo", _m_GetTaskInfo); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ForRingNumber", _m_ForRingNumber); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SkillTask", _m_SkillTask); |
| | | |
| | | |
| | | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "TaskTime", _g_get_TaskTime); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "TaskTime", _s_set_TaskTime); |
| | | |
| | | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_TaskTime(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.TaskAllocation gen_to_be_invoked = (Snxxz.UI.TaskAllocation)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.TaskTime); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _s_set_TaskTime(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.TaskAllocation gen_to_be_invoked = (Snxxz.UI.TaskAllocation)translator.FastGetCSObj(L, 1); |
| | | System.DateTime gen_value;translator.Get(L, 2, out gen_value); |
| | | gen_to_be_invoked.TaskTime = gen_value; |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 82f6fccc511674f4984f208636a9221b |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4fb4960f223157e47aac6e71fc04ac16 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3c80f1a0181df9a468ea1bfb3a4aec53 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3542b5cce769e26439883aba69430d7c |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c4be420c146b060438d4a6f6336794ef |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c25c51b69d20873418fb05e93549cfdb |
| | | timeCreated: 1542892701 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a6bc1aa4349cc83439c92ef4796305e8 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8bd6f495dedd51a46a74a824278cc866 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7b4abc2a3ca957b44a968e8033558a68 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8b1987db7a470484dae7f3fd1db72def |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 315738d31a74fb64393860f94fd54e3b |
| | | timeCreated: 1542892650 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4f195a50e42f8ce4a9c158b851384ba6 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 82ef44cf21a8cfb43a66b0ab06f7634b |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c86d95025e071234f9dd598f6ef86414 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 896b185c10edd6b45808617c8f1d2068 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 179295a50262be046be00a8397aeb9b0 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 40e558ed931d2ae41ab298cf14318768 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 17a9984a5cd08e34ab884caa4d6c71fb |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6d8d613eff156b8468e98bc7f3eeb1bc |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ee2bb110aab91814191301ea984f9857 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 164aa39925cedb2438117a5a6ede7e41 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 57f0dd429fbdbc54cae34b105f0ab6ce |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 40fe2a17a6798cc4a882caf7e71f18f2 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7f1893d796d1fa94fa36426bc2965843 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 822f3e4391117494eaef4ad830ee2751 |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 62542cdc4da26af44aaed12f3c11f7c3 |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ebd7ee352d228e94db0f1a0d0b614a17 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6c7952e1f4a41c344b1151aa02cba3ce |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2f268016181278b46a3bdc8850d3205e |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f46cd0fb92220224ca20fbc6af163b43 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3f9d51ae352f8e2458d0804995f9df10 |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 6514703ebb7916f44874457055b168cc |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 59c130622e06a624c8f7a813ae8980d5 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d5a462752909cae498291208b8a2d835 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7e21841df217253489767d9a17153d9f |
| | | timeCreated: 1542892697 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4737cca69ceb4fd4f94c8382165a314e |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: e1c8280687b3f764cac9c64749a3dcff |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c7569a236c9760840bec447ceec817f7 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 7115cfc72beb4d447a469885d955ff9d |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0dbe43e2202c42e48a194e017afc35c4 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4e6a4247db787454d877da96a4f9e0cb |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4123dac3cfca9d342bbba92f423e5876 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ffcd04cd2ce98fe4bba52c7c75d3ef39 |
| | | timeCreated: 1542892706 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f543b7eb3361d1646aa5cdf856ff9ae6 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: fd298b5b25f472d4bbbd3e255238e1a4 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1b9b5724b58215046833ad9a33467304 |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1796fef401dca2b49b63e0de291f8dd6 |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 2464e0d563e2d4f4e8661631cd3b1853 |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 57e1f223b7441c74eaaed112f32f4276 |
| | | timeCreated: 1542892694 |
| | | timeCreated: 1542965476 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d2334dcae7d69cd409c6efb246c6e6b6 |
| | | timeCreated: 1542892703 |
| | | timeCreated: 1542965483 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 39c32bef984ef484e99aedd81dc9be1f |
| | | timeCreated: 1542892692 |
| | | timeCreated: 1542965474 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c9c4bc4b62136584a93f4fa13c661d00 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 88d577acadc3bcc4a9923785675d3d83 |
| | | timeCreated: 1542892698 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 03b0cc9f5eac0174182e7d00e03d216a |
| | | timeCreated: 1542892688 |
| | | timeCreated: 1542965471 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 636d7b332d92eaf4290bebbef9182f4a |
| | | timeCreated: 1542892695 |
| | | timeCreated: 1542965477 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 0fc02a3f4bbd41a4b9af2fecead23f6d |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f7adaf92af6cfde4eae80c32e354bd0b |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f1424a6b868452b4da46e73d11fdc678 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: c6e561828e791734c9f1169f0a2b6219 |
| | | timeCreated: 1542892702 |
| | | timeCreated: 1542965482 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 27ea589794e866340b8cfd604b8c3e64 |
| | | timeCreated: 1542892691 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: fe789d4f79521ab4096a8f71b43e46a0 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f892e67e8dd805d499e47a43c058f597 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 732e783f81a83e14e8cdc0baccffeee9 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1ee87da8277f62249b5ad6b9706f2282 |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a07f30e386d2f6540bb9c4708d685418 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965480 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1c7d1da32a269dc47915473fa1c87df2 |
| | | timeCreated: 1542892690 |
| | | timeCreated: 1542965473 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: edcfec831a0496b4c9250b4f3b169da5 |
| | | timeCreated: 1542892704 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 70d5423a052d756449c0aceac6627a06 |
| | | timeCreated: 1542892696 |
| | | timeCreated: 1542965478 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: a8ae24a5d19c30b4fbe3ef211808c940 |
| | | timeCreated: 1542892699 |
| | | timeCreated: 1542965481 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 19d96167c7c8cbc4086963374d7e50eb |
| | | timeCreated: 1542892689 |
| | | timeCreated: 1542965472 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 4c7103d4cb4d58b40bd056ba0d72bea4 |
| | | timeCreated: 1542892693 |
| | | timeCreated: 1542965475 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: feaa4dacd000a82468e6ed9dd02dc693 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f145ec802b6c055479f081527d83f647 |
| | | timeCreated: 1542892705 |
| | | timeCreated: 1542965484 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8babb5fb6c492df4199b8f2698b16386 |
| | | timeCreated: 1542942273 |
| | | timeCreated: 1542965479 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9b295ed99fb918f4490d2bbafe31d761 |
| | | timeCreated: 1542892706 |
| | | timeCreated: 1542965485 |
| | | licenseType: Pro |
| | | TextScriptImporter: |
| | | userData: |
| | |
| | | [SerializeField] Image headIcon;
|
| | | [SerializeField] Image realmIcon;
|
| | | [SerializeField] Button helpBtn;
|
| | | [SerializeField] Text helpText;
|
| | | [SerializeField] Button goldHelpBtn;
|
| | | [SerializeField] Text goldHelpText;
|
| | | [SerializeField] Text fightPowerText;
|
| | | [SerializeField] Text rewardText;
|
| | | [SerializeField] Image relationImg;
|
| | |
|
| | | FriendsModel friendsModel
|
| | | {
|
| | | get { return ModelCenter.Instance.GetModel<FriendsModel>(); }
|
| | | }
|
| | | DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); } }
|
| | | DungeonAssistModel.AssistPlayerInfo playerInfo = null;
|
| | |
|
| | | private void Awake()
|
| | |
|
| | | private void OnEnable()
|
| | | {
|
| | | helpBtn.AddListener(ClickHelp);
|
| | | assistModel.UpdataAssistPlayerEvent += UpdateAssistState;
|
| | | }
|
| | |
|
| | | private void OnDisable()
|
| | | {
|
| | | helpBtn.RemoveAllListeners();
|
| | | assistModel.UpdataAssistPlayerEvent -= UpdateAssistState;
|
| | | }
|
| | |
|
| | | public void SetDisplay(int playerId)
|
| | | {
|
| | | var playerInfo = friendsModel.GetFirendInfo(playerId);
|
| | | playerInfo = assistModel.GetAssistPlayerInfo(playerId);
|
| | | if (playerInfo == null) return;
|
| | |
|
| | | nameText.text = playerInfo.PlayerName;
|
| | | nameText.text = playerInfo.Name;
|
| | | headIcon.SetSprite(GeneralDefine.GetOtherJobHeadPortrait(playerInfo.Job, 0));
|
| | | int realmLv = playerInfo.RealmLV;
|
| | | var realmConfig = Config.Instance.Get<RealmConfig>(playerInfo.RealmLV);
|
| | | realmIcon.SetSprite(realmConfig == null ? "NoRealm" : realmConfig.Img);
|
| | | fightPowerText.text = StringUtility.Contact("战力:",playerInfo.FightPower);
|
| | | helpBtn.gameObject.SetActive(!playerInfo.IsGoldAssist);
|
| | | goldHelpBtn.gameObject.SetActive(playerInfo.IsGoldAssist);
|
| | | UpdateAssistState(playerInfo.PlayerID);
|
| | | int nirvanaLv = playerInfo.LV - friendsModel.OpenGreatLV;
|
| | | lvIcon.gameObject.SetActive(nirvanaLv > 0);
|
| | | if (nirvanaLv > 0)
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public void UpdateAssistState(int assistType)
|
| | | public void UpdateAssistState(int playerId)
|
| | | {
|
| | | switch(assistType)
|
| | | if (playerInfo == null || playerInfo.PlayerID != playerId) return;
|
| | |
|
| | | if(playerInfo.IsAssist)
|
| | | {
|
| | | case 0: |
| | | break;
|
| | | case 1:
|
| | | break;
|
| | | |
| | | helpText.text = "已召唤";
|
| | | }
|
| | | else
|
| | | {
|
| | | helpText.text = "召唤";
|
| | | }
|
| | | }
|
| | |
|
| | | private void ClickHelp()
|
| | | {
|
| | | assistModel.UpdataAssistPlayer();
|
| | | if (playerInfo == null) return;
|
| | |
|
| | | assistModel.SendPlayerAssist(0,playerInfo.PlayerID,playerInfo.IsNeedGold);
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | using System.Collections.Generic;
|
| | | using System.Linq;
|
| | | using System.Text;
|
| | | using TableConfig;
|
| | | using LitJson;
|
| | |
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
| | | public event Action UpdateResultEvent;
|
| | | public override void Init()
|
| | | {
|
| | | |
| | | ParseFuncConfig();
|
| | | ParseDunegonHelpConfig();
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | | |
| | | assistRefreshNum = 0;
|
| | | IsCheckInOk = false;
|
| | | assistPlayerDict.Clear();
|
| | | }
|
| | |
|
| | | public void OnPlayerLoginOk()
|
| | |
| | | public override void UnInit()
|
| | | {
|
| | |
|
| | | }
|
| | |
|
| | | #region 本地数据
|
| | | public Dictionary<string, DungeonHelpBattleConfig> helpBattleDict { get; private set;}
|
| | | private void ParseDunegonHelpConfig()
|
| | | {
|
| | | helpBattleDict = new Dictionary<string, DungeonHelpBattleConfig>();
|
| | | var helpBattles = Config.Instance.GetAllValues<DungeonHelpBattleConfig>();
|
| | | for(int i = 0; i < helpBattles.Count; i++)
|
| | | {
|
| | | var helpBattle = helpBattles[i];
|
| | | string key = StringUtility.Contact(helpBattle.DataMapID,helpBattle.LineID);
|
| | | helpBattleDict.Add(key,helpBattle);
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | public int assistCoolTime { get; private set; }
|
| | | public int goldAssistPlayer { get; private set;}
|
| | | public int freeRefreshNum { get; private set; }
|
| | | public int goldRefreshNum { get; private set; }
|
| | | public int refreshCostMoney { get; private set; }
|
| | | public int maxXianYuanCoins { get; private set; }
|
| | | public int checkInTotalTime { get; private set; }
|
| | | public Dictionary<int, List<int>> assistCoinsDict { get; private set; }
|
| | | private void ParseFuncConfig()
|
| | | {
|
| | | FuncConfigConfig HelpBattleCall = Config.Instance.Get<FuncConfigConfig>("HelpBattleCall");
|
| | | assistCoolTime = int.Parse(HelpBattleCall.Numerical4);
|
| | | goldAssistPlayer = int.Parse(HelpBattleCall.Numerical5);
|
| | | FuncConfigConfig HelpBattleRefresh = Config.Instance.Get<FuncConfigConfig>("HelpBattleRefresh");
|
| | | freeRefreshNum = int.Parse(HelpBattleRefresh.Numerical1);
|
| | | goldRefreshNum = int.Parse(HelpBattleRefresh.Numerical2);
|
| | | refreshCostMoney = int.Parse(HelpBattleRefresh.Numerical3);
|
| | | FuncConfigConfig HelpBattlePoint = Config.Instance.Get<FuncConfigConfig>("HelpBattlePoint");
|
| | | maxXianYuanCoins = int.Parse(HelpBattlePoint.Numerical1);
|
| | | JsonData assistReward = JsonMapper.ToObject(HelpBattlePoint.Numerical2);
|
| | | assistCoinsDict = new Dictionary<int, List<int>>();
|
| | | foreach (var type in assistReward.Keys)
|
| | | {
|
| | | List<int> rewards = new List<int>();
|
| | | assistCoinsDict.Add(int.Parse(type),rewards);
|
| | | JsonData rewardData = assistReward[type];
|
| | | if(rewardData.IsArray)
|
| | | {
|
| | | for(int i = 0; i < rewardData.Count; i++)
|
| | | {
|
| | | rewards.Add(int.Parse(rewardData[i].ToString()));
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | FuncConfigConfig HelpBattleCheckIn = Config.Instance.Get<FuncConfigConfig>("HelpBattleCheckIn");
|
| | | checkInTotalTime = int.Parse(HelpBattleCheckIn.Numerical1);
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 1-好友,2-盟友
|
| | | /// </summary>
|
| | | /// <param name="type"></param>
|
| | | /// <returns></returns>
|
| | | public List<int> GetAssistReward(int type)
|
| | | {
|
| | | List<int> rewards = null;
|
| | | assistCoinsDict.TryGetValue(type,out rewards);
|
| | | return rewards;
|
| | | }
|
| | |
|
| | | public DungeonHelpBattleConfig GetHelpBattleConfig(int mapId,int lineId)
|
| | | {
|
| | | DungeonHelpBattleConfig battleConfig = null;
|
| | | string key = StringUtility.Contact(mapId,lineId);
|
| | | helpBattleDict.TryGetValue(key,out battleConfig);
|
| | | return battleConfig;
|
| | | }
|
| | |
|
| | | private void GetLocalSaveData()
|
| | |
| | | }
|
| | | return false;
|
| | | }
|
| | | #endregion
|
| | |
|
| | | public event Action UpdataAssistPlayerEvent;
|
| | | public void UpdataAssistPlayer()
|
| | | #region 协议
|
| | | public bool IsCheckInOk { get; private set; }
|
| | | public event Action UpdateCheckInResultEvent;
|
| | | public void UpdateAssistCheckInResult(HB205_tagMCHelpBattleCheckInResult checkInResult)
|
| | | {
|
| | | if(UpdataAssistPlayerEvent != null)
|
| | | IsCheckInOk = checkInResult.IsOK == 1;
|
| | | if(UpdateCheckInResultEvent != null)
|
| | | {
|
| | | UpdataAssistPlayerEvent();
|
| | | UpdateCheckInResultEvent();
|
| | | }
|
| | | }
|
| | |
|
| | | #region 协议
|
| | | public void UpdateAssistResult()
|
| | | public event Action UpdataAssistPlayerListEvent;
|
| | | private Dictionary<int, AssistPlayerInfo> assistPlayerDict = new Dictionary<int, AssistPlayerInfo>();
|
| | | public int assistRefreshNum { get; private set;}
|
| | | public void UpdateAssistList(HB207_tagMCHelpBattleList battleList)
|
| | | {
|
| | | |
| | | assistPlayerDict.Clear();
|
| | | assistRefreshNum = battleList.RefreshCount;
|
| | | for(int i = 0; i < battleList.HelpCount; i++)
|
| | | {
|
| | | var info = battleList.HelpPlayerList[i];
|
| | | AssistPlayerInfo playerInfo = new AssistPlayerInfo(info);
|
| | | assistPlayerDict.Add(playerInfo.PlayerID,playerInfo);
|
| | | }
|
| | |
|
| | | if(UpdataAssistPlayerListEvent != null)
|
| | | {
|
| | | UpdataAssistPlayerListEvent();
|
| | | }
|
| | | }
|
| | |
|
| | | public event Action<int> UpdataAssistPlayerEvent;
|
| | | public void UpdataAssistPlayer(HB206_tagMCHelpBattleCallResult callResult)
|
| | | {
|
| | | AssistPlayerInfo playerInfo = GetAssistPlayerInfo((int)callResult.PlayerID);
|
| | | if(playerInfo != null)
|
| | | {
|
| | | playerInfo.SetObjID((int)callResult.ObjID);
|
| | | if (UpdataAssistPlayerEvent != null)
|
| | | {
|
| | | UpdataAssistPlayerEvent(playerInfo.PlayerID);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | public AssistPlayerInfo GetAssistPlayerInfo(int playerId)
|
| | | {
|
| | | AssistPlayerInfo playerInfo = null;
|
| | | assistPlayerDict.TryGetValue(playerId,out playerInfo);
|
| | | return playerInfo;
|
| | | }
|
| | |
|
| | | public List<AssistPlayerInfo> GetAssistPlayerInfos()
|
| | | {
|
| | | return assistPlayerDict.Values.ToList();
|
| | | }
|
| | |
|
| | | public void SendAssistCheckIn()
|
| | | {
|
| | | CB105_tagCMHelpBattleCheckIn checkIn = new CB105_tagCMHelpBattleCheckIn();
|
| | | GameNetSystem.Instance.SendInfo(checkIn);
|
| | | }
|
| | |
|
| | | public void SendPlayerAssist(int isOneKey,int playerId = 0,int isGold = 0)
|
| | | {
|
| | | CB106_tagCMHelpBattleCall helpBattleCall = new CB106_tagCMHelpBattleCall();
|
| | | helpBattleCall.IsOneKeyCall = (byte)isOneKey;
|
| | | helpBattleCall.PlayerID = (uint)playerId;
|
| | | helpBattleCall.IsGoldCall = (byte)isGold;
|
| | | GameNetSystem.Instance.SendInfo(helpBattleCall);
|
| | | }
|
| | |
|
| | | public void SendAssistRefresh()
|
| | | {
|
| | | CB107_tagCMHelpBattleRefresh battleRefresh = new CB107_tagCMHelpBattleRefresh();
|
| | | GameNetSystem.Instance.SendInfo(battleRefresh);
|
| | | }
|
| | | #endregion
|
| | |
|
| | | public bool TryGetFreeRefresh(out int remainNum)
|
| | | {
|
| | | if(assistRefreshNum < freeRefreshNum)
|
| | | {
|
| | | remainNum = freeRefreshNum - assistRefreshNum;
|
| | | }
|
| | | else
|
| | | {
|
| | | remainNum = (freeRefreshNum + goldRefreshNum) - assistRefreshNum;
|
| | | }
|
| | | return assistRefreshNum < freeRefreshNum;
|
| | | }
|
| | |
|
| | | public class AssistResult
|
| | | {
|
| | |
| | | AssistRealmNoGetScore,
|
| | | }
|
| | | }
|
| | |
|
| | | public class AssistPlayerInfo
|
| | | {
|
| | | public int ObjID { get; private set; } // 实例ID, 0代表未召唤
|
| | | public int Job { get; private set; } // 玩家职业, 如果是机器人,则职业有值,服务端控制
|
| | | public int PlayerID { get; private set; } // 助战镜像ID, 大于1小于100代表机器人,如果是机器人,没有以下信息,相关信息自己读配置
|
| | | public string Name { get; private set; } // 玩家名,size = NameLen
|
| | | public int LV { get; private set; } // 玩家等级
|
| | | public int RealmLV { get; private set; } // 玩家境界等级
|
| | | public int FightPower { get; private set; } // 玩家战力
|
| | | public int IsNeedGold { get; private set; } // 是否需要仙玉召唤
|
| | | DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); }}
|
| | |
|
| | | public AssistPlayerInfo(HB207_tagMCHelpBattleList.tagMCHelpBattlePlayer battlePlayer)
|
| | | {
|
| | | ObjID = (int)battlePlayer.ObjID;
|
| | | Job = battlePlayer.Job;
|
| | | PlayerID = (int)battlePlayer.PlayerID;
|
| | | bool isMirror = PlayerID > 100 ? true : false;
|
| | | if(isMirror)
|
| | | {
|
| | | Name = battlePlayer.Name;
|
| | | LV = battlePlayer.LV;
|
| | | RealmLV = battlePlayer.RealmLV;
|
| | | FightPower = (int)battlePlayer.FightPower;
|
| | | IsNeedGold = battlePlayer.IsNeedGold;
|
| | | }
|
| | | else
|
| | | {
|
| | | int mapId = PlayerDatas.Instance.baseData.MapID;
|
| | | int lineId = PlayerDatas.Instance.baseData.dungeonLineId;
|
| | | var battleConfig = assistModel.GetHelpBattleConfig(mapId,lineId);
|
| | | if(battleConfig != null)
|
| | | {
|
| | | LV = battleConfig.RobotLV;
|
| | | RealmLV = battleConfig.RobotRealmLV;
|
| | | FightPower = battleConfig.RobotFightPower;
|
| | | IsNeedGold = 0;
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | public void SetObjID(int _objId)
|
| | | {
|
| | | ObjID = _objId;
|
| | | }
|
| | |
|
| | | public bool IsAssist
|
| | | {
|
| | | get
|
| | | {
|
| | | return ObjID != 0;
|
| | | }
|
| | | }
|
| | |
|
| | | public bool IsGoldAssist
|
| | | {
|
| | | get
|
| | | {
|
| | | return IsNeedGold != 0;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | [SerializeField] Button oneKeyHelpBtn;
|
| | | [SerializeField] Text oneKeyHelpText;
|
| | | [SerializeField] Button refreshBtn;
|
| | | [SerializeField] Text refreshText;
|
| | | [SerializeField] List<AssistPlayerCell> assistPlayers = new List<AssistPlayerCell>();
|
| | | [SerializeField] Button freeRefreshBtn;
|
| | | [SerializeField] Text freeRefreshText;
|
| | | [SerializeField] Button goldRefreshBtn;
|
| | | [SerializeField] Text goldRefreshCostMoneyText;
|
| | | [SerializeField] Text goldRefreshRemianNumText;
|
| | | [SerializeField] ScrollerController assistPlayerCtrl;
|
| | |
|
| | | DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); } }
|
| | | public const int duration = 10;
|
| | |
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | | |
| | | assistPlayerCtrl.OnRefreshCell += RefreshAssistPlayer;
|
| | | }
|
| | |
|
| | | protected override void AddListeners()
|
| | | {
|
| | | oneKeyHelpBtn.AddListener(ClickOneKeyAssist);
|
| | | refreshBtn.AddListener(ClickRefresh);
|
| | | freeRefreshBtn.AddListener(ClickRefresh);
|
| | | }
|
| | |
|
| | | protected override void OnPreOpen()
|
| | | {
|
| | | assistModel.UpdataAssistPlayerEvent += UpdateOneKeyAssist;
|
| | | assistModel.UpdataAssistPlayerListEvent += UpdateAssistPlayersList;
|
| | | SetDisplay();
|
| | | }
|
| | |
|
| | |
| | |
|
| | | protected override void OnPreClose()
|
| | | {
|
| | | assistModel.UpdataAssistPlayerEvent -= UpdateOneKeyAssist;
|
| | | assistModel.UpdataAssistPlayerListEvent -= UpdateAssistPlayersList;
|
| | | TimeDownMgr.Instance.Stop(TimeDownMgr.CoolTimeType.DungeonAssistCoolTime);
|
| | | }
|
| | |
|
| | |
| | | UpdateRefreshTimes();
|
| | | }
|
| | |
|
| | | private void UpdateAssistPlayersList()
|
| | | {
|
| | | UpdateAssistPlayers();
|
| | | UpdateOneKeyAssist();
|
| | | UpdateRefreshTimes();
|
| | | }
|
| | |
|
| | | private void UpdateAssistPlayers()
|
| | | {
|
| | | List<int> playerIds = null;
|
| | | if (playerIds == null) return;
|
| | | |
| | | for(int i = 0; i < assistPlayers.Count; i++)
|
| | | var playerInfos = assistModel.GetAssistPlayerInfos();
|
| | | if (playerInfos == null) return;
|
| | |
|
| | | assistPlayerCtrl.Refresh();
|
| | | for(int i = 0; i < playerInfos.Count; i++)
|
| | | {
|
| | | var assistPlayer = assistPlayers[i];
|
| | | if(i < playerIds.Count)
|
| | | {
|
| | | assistPlayer.gameObject.SetActive(true);
|
| | | assistPlayer.SetDisplay(playerIds[i]);
|
| | | }
|
| | | else
|
| | | {
|
| | | assistPlayer.gameObject.SetActive(false);
|
| | | }
|
| | | var info = playerInfos[i];
|
| | | assistPlayerCtrl.AddCell(ScrollerDataType.Header,info.PlayerID);
|
| | | }
|
| | | assistPlayerCtrl.Restart();
|
| | | }
|
| | |
|
| | | private void RefreshAssistPlayer(ScrollerDataType type, CellView cell)
|
| | | {
|
| | | var playerCell = cell.GetComponent<AssistPlayerCell>();
|
| | | playerCell.SetDisplay(cell.index);
|
| | | }
|
| | |
|
| | | private void UpdateOneKeyAssist()
|
| | | {
|
| | | UpdateTime(duration);
|
| | | TimeDownMgr.Instance.Begin(TimeDownMgr.CoolTimeType.DungeonAssistCoolTime,duration,UpdateTime);
|
| | | UpdateTime(assistModel.assistCoolTime);
|
| | | TimeDownMgr.Instance.Begin(TimeDownMgr.CoolTimeType.DungeonAssistCoolTime, assistModel.assistCoolTime, UpdateTime);
|
| | | }
|
| | |
|
| | | private void UpdateRefreshTimes()
|
| | | {
|
| | | refreshText.text = StringUtility.Contact("刷新\n","(剩余",5,"次)");
|
| | | int remainNum = 0;
|
| | | bool isFree = assistModel.TryGetFreeRefresh(out remainNum);
|
| | | freeRefreshBtn.gameObject.SetActive(isFree);
|
| | | goldRefreshBtn.gameObject.SetActive(!isFree);
|
| | | if(isFree)
|
| | | {
|
| | | freeRefreshText.text = StringUtility.Contact("刷新", "(剩余", remainNum, "次)");
|
| | | }
|
| | | else
|
| | | {
|
| | | goldRefreshCostMoneyText.text = assistModel.refreshCostMoney.ToString(); |
| | | goldRefreshRemianNumText.text = StringUtility.Contact("绑玉刷新", "(剩余", remainNum, "次)");
|
| | | }
|
| | | }
|
| | |
|
| | | private void UpdateTime(float time)
|
| | | {
|
| | | if(time > 0)
|
| | | {
|
| | | oneKeyHelpText.text = StringUtility.Contact("一键召唤(",time,")");
|
| | | oneKeyHelpText.text = StringUtility.Contact(time,"秒后自动刷新");
|
| | | }
|
| | | else
|
| | | {
|
| | | oneKeyHelpText.text = "一键召唤";
|
| | | assistModel.SendPlayerAssist(1);
|
| | | }
|
| | | }
|
| | |
|