Merge remote-tracking branch 'origin/master' into LuaOrgan
1 文件已复制
1个文件已删除
1 文件已重命名
83个文件已修改
2个文件已添加
| | |
| | |
|
| | | public static float CalculateDistance(Vector3 start, Vector3 dest)
|
| | | {
|
| | | float _dis = float.MaxValue;
|
| | | float _dis = 0;
|
| | | start.y = 0;
|
| | | dest.y = 0;
|
| | | NavMesh.CalculatePath(start, dest, -1, _path);
|
| New file |
| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Thursday, July 04, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Threading; |
| | | using System; |
| | | using UnityEngine; |
| | | |
| | | [XLua.LuaCallCSharp] |
| | | public partial class ReikiRootEffectConfig |
| | | { |
| | | |
| | | public readonly int key;
|
| | | public readonly int id;
|
| | | public readonly int quality;
|
| | | public readonly int effect;
|
| | | public readonly int uiScale;
|
| | | public readonly int offsetY; |
| | | |
| | | public ReikiRootEffectConfig() |
| | | { |
| | | } |
| | | |
| | | public ReikiRootEffectConfig(string input) |
| | | { |
| | | try |
| | | { |
| | | var tables = input.Split('\t'); |
| | | |
| | | int.TryParse(tables[0],out key); |
| | |
|
| | | int.TryParse(tables[1],out id); |
| | |
|
| | | int.TryParse(tables[2],out quality); |
| | |
|
| | | int.TryParse(tables[3],out effect); |
| | |
|
| | | int.TryParse(tables[4],out uiScale); |
| | |
|
| | | int.TryParse(tables[5],out offsetY); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DebugEx.Log(ex); |
| | | } |
| | | } |
| | | |
| | | static Dictionary<string, ReikiRootEffectConfig> configs = new Dictionary<string, ReikiRootEffectConfig>(); |
| | | public static ReikiRootEffectConfig Get(string id) |
| | | { |
| | | if (!inited) |
| | | { |
| | | Debug.Log("ReikiRootEffectConfig 还未完成初始化。"); |
| | | return null; |
| | | } |
| | | |
| | | if (configs.ContainsKey(id)) |
| | | { |
| | | return configs[id]; |
| | | } |
| | | |
| | | ReikiRootEffectConfig config = null; |
| | | if (rawDatas.ContainsKey(id)) |
| | | { |
| | | config = configs[id] = new ReikiRootEffectConfig(rawDatas[id]); |
| | | rawDatas.Remove(id); |
| | | } |
| | | |
| | | return config; |
| | | } |
| | | |
| | | public static ReikiRootEffectConfig Get(int id) |
| | | { |
| | | return Get(id.ToString()); |
| | | } |
| | | |
| | | public static List<string> GetKeys() |
| | | { |
| | | var keys = new List<string>(); |
| | | keys.AddRange(configs.Keys); |
| | | keys.AddRange(rawDatas.Keys); |
| | | return keys; |
| | | } |
| | | |
| | | public static List<ReikiRootEffectConfig> GetValues() |
| | | { |
| | | var values = new List<ReikiRootEffectConfig>(); |
| | | values.AddRange(configs.Values); |
| | | |
| | | var keys = new List<string>(rawDatas.Keys); |
| | | foreach (var key in keys) |
| | | { |
| | | values.Add(Get(key)); |
| | | } |
| | | |
| | | return values; |
| | | } |
| | | |
| | | public static bool Has(string id) |
| | | { |
| | | return configs.ContainsKey(id) || rawDatas.ContainsKey(id); |
| | | } |
| | | |
| | | public static bool Has(int id) |
| | | { |
| | | return Has(id.ToString()); |
| | | } |
| | | |
| | | public static bool inited { get; private set; } |
| | | protected static Dictionary<string, string> rawDatas = new Dictionary<string, string>(); |
| | | public static void Init(bool sync=false) |
| | | { |
| | | inited = false; |
| | | var path = string.Empty; |
| | | if (AssetSource.refdataFromEditor) |
| | | { |
| | | path = ResourcesPath.CONFIG_FODLER +"/ReikiRootEffect.txt"; |
| | | } |
| | | else |
| | | { |
| | | path = AssetVersionUtility.GetAssetFilePath("config/ReikiRootEffect.txt"); |
| | | } |
| | | |
| | | configs.Clear(); |
| | | var tempConfig = new ReikiRootEffectConfig(); |
| | | var preParse = tempConfig is IConfigPostProcess; |
| | | |
| | | if (sync) |
| | | { |
| | | var lines = File.ReadAllLines(path); |
| | | if (!preParse) |
| | | { |
| | | rawDatas = new Dictionary<string, string>(lines.Length - 3); |
| | | } |
| | | for (int i = 3; i < lines.Length; i++) |
| | | { |
| | | try |
| | | { |
| | | var line = lines[i]; |
| | | var index = line.IndexOf("\t"); |
| | | if (index == -1) |
| | | { |
| | | continue; |
| | | } |
| | | var id = line.Substring(0, index); |
| | | |
| | | if (preParse) |
| | | { |
| | | var config = new ReikiRootEffectConfig(line); |
| | | configs[id] = config; |
| | | (config as IConfigPostProcess).OnConfigParseCompleted(); |
| | | } |
| | | else |
| | | { |
| | | rawDatas[id] = line; |
| | | } |
| | | } |
| | | catch (System.Exception ex) |
| | | { |
| | | Debug.LogError(ex); |
| | | } |
| | | } |
| | | inited = true; |
| | | } |
| | | else |
| | | { |
| | | ThreadPool.QueueUserWorkItem((object _object) => |
| | | { |
| | | var lines = File.ReadAllLines(path); |
| | | if (!preParse) |
| | | { |
| | | rawDatas = new Dictionary<string, string>(lines.Length - 3); |
| | | } |
| | | for (int i = 3; i < lines.Length; i++) |
| | | { |
| | | try |
| | | { |
| | | var line = lines[i]; |
| | | var index = line.IndexOf("\t"); |
| | | if (index == -1) |
| | | { |
| | | continue; |
| | | } |
| | | var id = line.Substring(0, index); |
| | | |
| | | if (preParse) |
| | | { |
| | | var config = new ReikiRootEffectConfig(line); |
| | | configs[id] = config; |
| | | (config as IConfigPostProcess).OnConfigParseCompleted(); |
| | | } |
| | | else |
| | | { |
| | | rawDatas[id] = line; |
| | | } |
| | | } |
| | | catch (System.Exception ex) |
| | | { |
| | | Debug.LogError(ex); |
| | | } |
| | | } |
| | | |
| | | inited = true; |
| | | }); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| File was renamed from System/Role/EquipShowSwitch.cs.meta |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 01dcfe375cd5cf940bd33f6b2f4db077 |
| | | timeCreated: 1547125411 |
| | | guid: a2e46f2557ae97f40a17d7d92d04e4f6 |
| | | timeCreated: 1562206024 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | public int godWeaponLV_3;
|
| | | public int godWeaponLV_4;
|
| | |
|
| | | public int reikiRootEffectId
|
| | | {
|
| | | get
|
| | | {
|
| | | return (int)equipShowSwitch / 1000 % 1000;
|
| | | }
|
| | | }
|
| | |
|
| | | public int suitLevel
|
| | | {
|
| | | get
|
| | | {
|
| | | return (int)equipShowSwitch / 10 % 100;
|
| | | }
|
| | | }
|
| | |
|
| | | public void UpdateData(H0102_tagCDBPlayer _serverInfo)
|
| | | {
|
| | | if (_serverInfo.socketType == ServerType.Main)
|
| | |
| | |
|
| | | public void SetQuickSkill(int pos, int id)
|
| | | {
|
| | | if (model.GetXpSkillID() == id)
|
| | | if (model.IsXpSkill(id))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | |
|
| | | public void ClearSkillData()
|
| | | {
|
| | | hasInitQuickSkill = false;
|
| | | isServerPrepare = false;
|
| | | m_QuickSkills.Clear();
|
| | | m_PlayerSkills.Clear();
|
| | | }
|
| New file |
| | |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | |
| | | public partial class ReikiRootEffectConfig : IConfigPostProcess
|
| | | {
|
| | | static Dictionary<int, Dictionary<int, int>> m_ReikiRootEffects = new Dictionary<int, Dictionary<int, int>>();
|
| | |
|
| | | public void OnConfigParseCompleted()
|
| | | {
|
| | | Dictionary<int, int> effects = null;
|
| | | if (!m_ReikiRootEffects.TryGetValue(id, out effects))
|
| | | {
|
| | | effects = new Dictionary<int, int>();
|
| | | m_ReikiRootEffects.Add(id, effects);
|
| | | }
|
| | | effects.Add(quality, key);
|
| | | }
|
| | |
|
| | | public static int GetReikiRootEffect(int id, int quality)
|
| | | {
|
| | | if (m_ReikiRootEffects.ContainsKey(id)
|
| | | && m_ReikiRootEffects[id].ContainsKey(quality))
|
| | | {
|
| | | var key = m_ReikiRootEffects[id][quality];
|
| | | var config = ReikiRootEffectConfig.Get(key);
|
| | | return config.effect;
|
| | | }
|
| | | return 0;
|
| | | }
|
| | | } |
copy from System/Role/EquipShowSwitch.cs.meta
copy to Core/GameEngine/Model/TelPartialConfig/PartialReikiRootEffectConfig.cs.meta
| File was copied from System/Role/EquipShowSwitch.cs.meta |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 01dcfe375cd5cf940bd33f6b2f4db077 |
| | | timeCreated: 1547125411 |
| | | guid: f3e0173ec3f51b94d85e81e0184d23ee |
| | | timeCreated: 1562140159 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | break;
|
| | | case 1:
|
| | | bossHomeModel.wearyValue = (int)info.KillCnt;
|
| | | bossHomeModel.boughtTimes = (int)info.BuyCnt;
|
| | | break;
|
| | | case 2:
|
| | | crossServerBossModel.wearyValue = (int)info.KillCnt;
|
| | |
| | | {
|
| | | base.Done(vNetPack);
|
| | | var package = vNetPack as HB212_tagMCZhuXianBossCnt;
|
| | | ModelCenter.Instance.GetModel<JadeDynastyBossModel>().OnReceivePackage(package);
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | using UnityEngine;
|
| | | using UnityEngine;
|
| | | using System.Collections;
|
| | |
|
| | | //A3 B7 当日累计攻击boss次数 #tagMCBOSSAttactCnt
|
| | |
|
| | | public class HA3B7_tagMCBOSSAttactCnt : GameNetPackBasic
|
| | | {
|
| | | public byte Cnt;
|
| | | public tagMCBossCntInfo[] KillCntInfoList = null;
|
| | |
|
| | | public HA3B7_tagMCBOSSAttactCnt()
|
| | | {
|
| | | _cmd = (ushort)0xA3B7;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes(byte[] vBytes)
|
| | | {
|
| | | TransBytes(out Cnt, vBytes, NetDataType.BYTE);
|
| | | KillCntInfoList = new tagMCBossCntInfo[Cnt];
|
| | | for (int i = 0; i < Cnt; i++)
|
| | | {
|
| | | KillCntInfoList[i] = new tagMCBossCntInfo();
|
| | | TransBytes(out KillCntInfoList[i].BossType, vBytes, NetDataType.BYTE);
|
| | | TransBytes(out KillCntInfoList[i].KillCnt, vBytes, NetDataType.DWORD);
|
| | | TransBytes(out KillCntInfoList[i].ItemAddCnt, vBytes, NetDataType.DWORD);
|
| | | }
|
| | | }
|
| | |
|
| | | public struct tagMCBossCntInfo
|
| | | {
|
| | | public byte BossType; //编号类型0-世界boss 1-boss之家
|
| | | public uint KillCnt; //击杀次数
|
| | | public uint ItemAddCnt; //物品增加次数
|
| | | }
|
| | |
|
| | | } |
| | | //A3 B7 当日累计攻击boss次数 #tagMCBOSSAttactCnt
|
| | |
|
| | | public class HA3B7_tagMCBOSSAttactCnt : GameNetPackBasic {
|
| | | public byte Cnt;
|
| | | public tagMCBossCntInfo[] KillCntInfoList = null;
|
| | |
|
| | | public HA3B7_tagMCBOSSAttactCnt () {
|
| | | _cmd = (ushort)0xA3B7;
|
| | | }
|
| | |
|
| | | public override void ReadFromBytes (byte[] vBytes) {
|
| | | TransBytes (out Cnt, vBytes, NetDataType.BYTE);
|
| | | KillCntInfoList = new tagMCBossCntInfo[Cnt];
|
| | | for (int i = 0; i < Cnt; i ++) {
|
| | | KillCntInfoList[i] = new tagMCBossCntInfo();
|
| | | TransBytes (out KillCntInfoList[i].BossType, vBytes, NetDataType.BYTE);
|
| | | TransBytes (out KillCntInfoList[i].KillCnt, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out KillCntInfoList[i].ItemAddCnt, vBytes, NetDataType.DWORD);
|
| | | TransBytes (out KillCntInfoList[i].BuyCnt, vBytes, NetDataType.BYTE);
|
| | | }
|
| | | }
|
| | |
|
| | | public struct tagMCBossCntInfo {
|
| | | public byte BossType; //编号类型0-世界boss 1-boss之家
|
| | | public uint KillCnt; //击杀次数
|
| | | public uint ItemAddCnt; //物品增加次数
|
| | | public byte BuyCnt; //购买次数
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | *max((1+aFinalHurtPer/10000.0)*(1-dFinalHurtReducePer/10000.0),0.2)*(1+suppressValueFP),aMaxAtk*0.05+rand*aMaxAtk*0.05)) */
|
| | | hurtValue = (uint)Mathf.CeilToInt((Mathf.Max(((Mathf.Max((_aMinAtk + _aMaxAtk) * .5f * (1 + _suppressLV_0) - _dDef, 0)
|
| | | + Mathf.Max(_aIceAtk - _dIceDef, 0))
|
| | | * Mathf.Max(_atkSkillValue + _aSkillAtkRate * Constants.F_DELTA - Mathf.Min(_dDamChanceDef, 8000) * Constants.F_DELTA, .5f)
|
| | | * Mathf.Max(_aAtkSkillPer + _aSkillAtkRate * Constants.F_DELTA - Mathf.Min(_dDamChanceDef, 8000) * Constants.F_DELTA, .5f)
|
| | | + _aFinalHurt - _dFinalHurtReduce + _atkSkillValue)
|
| | | * Mathf.Max((1 + _aFinalHurtPer * Constants.F_DELTA) * (1 - _dFinalHurtReduce * Constants.F_DELTA), .2f) * (1 + _suppressValueFP_0), _aMaxAtk * .05f + Random.Range(0f, 1f) * _aMaxAtk * .05f)));
|
| | | * Mathf.Max((1 + _aFinalHurtPer * Constants.F_DELTA)
|
| | | * (1 - _dFinalHurtReduce * Constants.F_DELTA), .2f) * (1 + _suppressValueFP_0), _aMaxAtk * .05f + Random.Range(0f, 1f) * _aMaxAtk * .05f)));
|
| | | }
|
| | |
|
| | | if (_isZhuxianHit)
|
| | |
| | | public void Init()
|
| | | {
|
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnServerPrepareOk;
|
| | | DTCA127_tagMCStartChangeMap.onStartChangeMap += OnServerPrepareOk;
|
| | |
|
| | | if (m_StatusDict == null)
|
| | | {
|
| | |
| | | {
|
| | | m_AllStatus.Remove(_list[i]);
|
| | | }
|
| | |
|
| | | bool _canUseSkill = _list[i].CanUseSkill();
|
| | | _list[i].UnInit(objID, type);
|
| | | _list.RemoveAt(i);
|
| | |
|
| | | if (!_canUseSkill)
|
| | | {
|
| | | if (OnReleaseCantCastSkillStatus != null)
|
| | | {
|
| | | OnReleaseCantCastSkillStatus();
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | { |
| | | if (_next is GA_NpcClientCollect) |
| | | { |
| | | _hero.MoveToPosition(_next.Pos, 1f); |
| | | var _collect = _next as GA_NpcClientCollect; |
| | | MapTransferUtility.Instance.MoveToNPC(_collect.NpcConfig.NPCID); |
| | | } |
| | | } |
| | | } |
| | |
| | | return;
|
| | | }
|
| | |
|
| | | // if (taskmodel.IsTaskMove())
|
| | | // {
|
| | | // if (Time.realtimeSinceStartup - m_CalculAutoFightTime > taskmodel.TaskAutoTime
|
| | | // && !NewBieCenter.Instance.inGuiding
|
| | | // && TaskModel.IsOPenAutoResolve())
|
| | | // {
|
| | | // if (PlayerDatas.Instance.hero != null && PlayerDatas.Instance.hero.State == E_ActorState.AutoRun
|
| | | // && onMainModel.MoveBool)
|
| | | // {
|
| | | if (taskmodel.IsTaskMove())
|
| | | {
|
| | | if (Time.realtimeSinceStartup - m_CalculAutoFightTime > taskmodel.TaskAutoTime
|
| | | && !NewBieCenter.Instance.inGuiding
|
| | | && TaskModel.IsOPenAutoResolve())
|
| | | {
|
| | | if (PlayerDatas.Instance.hero != null && PlayerDatas.Instance.hero.State == E_ActorState.AutoRun
|
| | | && onMainModel.MoveBool)
|
| | | {
|
| | |
|
| | | // }
|
| | | // else
|
| | | // {
|
| | | // SnxxzGame.Instance.StartCoroutine(Wait());
|
| | | // }
|
| | | // }
|
| | | // }
|
| | | }
|
| | | else
|
| | | {
|
| | | SnxxzGame.Instance.StartCoroutine(Wait());
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | if (MapArea.IsInMapArea(CurMapArea, MapArea.E_Type.Safe)
|
| | | || MapArea.IsInMapArea(CurMapArea, MapArea.E_Type.RebornSafe))
|
| | |
| | | if (_hp < hurtValue) |
| | | { |
| | | _hp = 0; |
| | | hurtValue = (uint)_hp; |
| | | } |
| | | else |
| | | { |
| | |
| | | yield break;
|
| | | }
|
| | |
|
| | | ClientSceneManager.Instance.ExitTransStatus();
|
| | |
|
| | | var sid = data.sid;
|
| | | NpcID = data.npcID;
|
| | | MapTransferDoType = E_MapTransferDoType.Npc;
|
| | |
| | | {
|
| | | break;
|
| | | }
|
| | | ClientSceneManager.Instance.ExitTransStatus();
|
| | | float _dis = MathUtility.DistanceSqrtXZ(_hero.Pos, _nextPos);
|
| | | while (_dis > 0.01f)
|
| | | {
|
| | |
| | | Debug.LogErrorFormat("移动至NPC: {0} 时找不到任何跳跃点, NextPos: {1}", NpcID, _nextPos);
|
| | | break;
|
| | | }
|
| | | ClientSceneManager.Instance.ExitTransStatus();
|
| | | float _dis = MathUtility.DistanceSqrtXZ(_hero.Pos, _nextPos);
|
| | | while (_dis > 0.01f)
|
| | | {
|
| | |
| | | {
|
| | | NPCInteractProcessor.InvokeEvent(E_NpcType.Func, NpcID, _npc.ServerInstID);
|
| | | }
|
| | | else if (_npc is GA_NpcClientCollect)
|
| | | {
|
| | | if (_npcConfig.NPCID == 10104200)
|
| | | {
|
| | | ClientCollectUtility.HandleCallback(E_NpcType.Collect, _npcConfig.NPCID, _npc.ServerInstID);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | Clear();
|
| | |
| | |
|
| | | static Action<Dungeon, bool> clientCustomDungeonResult;
|
| | |
|
| | | static CrossServerOneVsOneModel crossServerOneVsOneModel { get { return ModelCenter.Instance.GetModel<CrossServerOneVsOneModel>(); } }
|
| | |
|
| | | public static void Init()
|
| | | {
|
| | | DTC0102_tagCDBPlayer.switchAccountEvent += Reset;
|
| | |
| | |
|
| | | public static void GotoNormalClientDungeon(int clientMapId, int mapId, int lineId)
|
| | | {
|
| | | if (crossServerOneVsOneModel.IsMatching)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("CrossOneVsOneMatching");
|
| | | return;
|
| | | }
|
| | |
|
| | | RequestStartClientDungeon(mapId, lineId, (dungeonInfo, isOk) =>
|
| | | {
|
| | | if (!isOk)
|
| | |
| | |
|
| | | ClientSceneManager.Instance.UnInit();
|
| | | ClientCollectUtility.UnInit();
|
| | | StatusMgr.Instance.ReleaseActor(PlayerDatas.Instance.PlayerId);
|
| | | GAMgr.Instance.UnInit();
|
| | | DropItemManager.ReleaseAll();
|
| | | ClientDropItemUtility.Instance.ReleaseAll();
|
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.MagicianModel __Gen_Delegate_Imp272() |
| | | { |
| | | #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; |
| | | |
| | | PCall(L, 0, 1, errFunc); |
| | | |
| | | |
| | | Snxxz.UI.MagicianModel __gen_ret = (Snxxz.UI.MagicianModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.MagicianModel)); |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | return __gen_ret; |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp273(uint p0, out System.Collections.Generic.Dictionary<int, int> p1) |
| | | { |
| | | #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; |
| | | LuaAPI.xlua_pushuint(L, p0); |
| | | |
| | | PCall(L, 1, 2, errFunc); |
| | | |
| | | p1 = (System.Collections.Generic.Dictionary<int, int>)translator.GetObject(L, errFunc + 2, typeof(System.Collections.Generic.Dictionary<int, int>)); |
| | | |
| | | bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1); |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | return __gen_ret; |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp274(uint p0, int p1, out int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | |
| | | LuaAPI.xlua_pushuint(L, p0); |
| | | LuaAPI.xlua_pushinteger(L, p1); |
| | | |
| | | PCall(L, 2, 2, errFunc); |
| | | |
| | | p2 = LuaAPI.xlua_tointeger(L, errFunc + 2); |
| | | |
| | | bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1); |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | return __gen_ret; |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp275(Snxxz.UI.EquipShowSwitch.EquipShowSwitchType p0, uint p1) |
| | | { |
| | | #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.Push(L, p0); |
| | | LuaAPI.xlua_pushuint(L, p1); |
| | | |
| | | PCall(L, 2, 1, errFunc); |
| | | |
| | | |
| | | bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1); |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | return __gen_ret; |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp276(uint p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | |
| | | LuaAPI.xlua_pushuint(L, p0); |
| | | |
| | | PCall(L, 1, 0, errFunc); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp277(object p0) |
| | | public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp272(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int[] __Gen_Delegate_Imp278(object p0) |
| | | public int[] __Gen_Delegate_Imp273(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int[] __Gen_Delegate_Imp279(object p0, int p1) |
| | | public int[] __Gen_Delegate_Imp274(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp280(object p0, int p1) |
| | | public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp275(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp281(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2) |
| | | public bool __Gen_Delegate_Imp276(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp282(object p0, int p1, out Snxxz.UI.AutoHammerCost p2) |
| | | public bool __Gen_Delegate_Imp277(object p0, int p1, out Snxxz.UI.AutoHammerCost p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.Generic.List<int> __Gen_Delegate_Imp283(object p0, int p1) |
| | | public System.Collections.Generic.List<int> __Gen_Delegate_Imp278(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp284(object p0, object p1, object p2) |
| | | public void __Gen_Delegate_Imp279(object p0, object p1, object p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp285(object p0, int p1, out int p2, out int p3) |
| | | public bool __Gen_Delegate_Imp280(object p0, int p1, out int p2, out int p3) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public string __Gen_Delegate_Imp286(object p0, int p1, int p2) |
| | | public string __Gen_Delegate_Imp281(object p0, int p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp287(object p0, TextColType p1, bool p2) |
| | | public void __Gen_Delegate_Imp282(object p0, TextColType p1, bool p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public uint __Gen_Delegate_Imp288(object p0) |
| | | public uint __Gen_Delegate_Imp283(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp289(object p0, uint p1) |
| | | public void __Gen_Delegate_Imp284(object p0, uint p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp290(object p0, int p1, out Snxxz.UI.RuneItem p2) |
| | | public bool __Gen_Delegate_Imp285(object p0, int p1, out Snxxz.UI.RuneItem p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp291(object p0, int p1, out Snxxz.UI.RuneHoleCondition p2) |
| | | public bool __Gen_Delegate_Imp286(object p0, int p1, out Snxxz.UI.RuneHoleCondition p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp292(object p0, int p1, out Snxxz.UI.RuneItem p2) |
| | | public int __Gen_Delegate_Imp287(object p0, int p1, out Snxxz.UI.RuneItem p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp293(object p0, int p1, out Snxxz.UI.RuneModel.RuneHoleRedpoint p2) |
| | | public bool __Gen_Delegate_Imp288(object p0, int p1, out Snxxz.UI.RuneModel.RuneHoleRedpoint p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp294(object p0, int p1, float p2) |
| | | public int __Gen_Delegate_Imp289(object p0, int p1, float p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp295(object p0, int p1, uint p2) |
| | | public bool __Gen_Delegate_Imp290(object p0, int p1, uint p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.RuneResolveModel __Gen_Delegate_Imp296(object p0) |
| | | public Snxxz.UI.RuneResolveModel __Gen_Delegate_Imp291(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.RuneModel __Gen_Delegate_Imp297(object p0) |
| | | public Snxxz.UI.RuneModel __Gen_Delegate_Imp292(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public float __Gen_Delegate_Imp298(object p0, int p1, int p2, bool p3) |
| | | public float __Gen_Delegate_Imp293(object p0, int p1, int p2, bool p3) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public float __Gen_Delegate_Imp299(object p0, int p1) |
| | | public float __Gen_Delegate_Imp294(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp300(object p0, int p1, out Snxxz.UI.TreasureSkill p2) |
| | | public bool __Gen_Delegate_Imp295(object p0, int p1, out Snxxz.UI.TreasureSkill p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp301(object p0, int p1, out Snxxz.UI.TreasurePotential p2) |
| | | public bool __Gen_Delegate_Imp296(object p0, int p1, out Snxxz.UI.TreasurePotential p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.TreasureSkillModel __Gen_Delegate_Imp302(object p0) |
| | | public Snxxz.UI.TreasureSkillModel __Gen_Delegate_Imp297(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.SkillModel __Gen_Delegate_Imp303(object p0) |
| | | public Snxxz.UI.SkillModel __Gen_Delegate_Imp298(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp304(object p0) |
| | | public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp299(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp305(object p0) |
| | | public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp300(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp306(object p0) |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp301(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UIEffect __Gen_Delegate_Imp307(object p0) |
| | | public UIEffect __Gen_Delegate_Imp302(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Treasure3DConfig __Gen_Delegate_Imp308(object p0) |
| | | public Treasure3DConfig __Gen_Delegate_Imp303(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp309(object p0, UnityEngine.Vector3 p1) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp304(object p0, UnityEngine.Vector3 p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp310(object p0) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp305(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp311(object p0) |
| | | public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp306(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp312() |
| | | public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp307() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public TreasureCategory __Gen_Delegate_Imp313(object p0) |
| | | public TreasureCategory __Gen_Delegate_Imp308(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp314(object p0, bool p1, TreasureCategory p2) |
| | | public void __Gen_Delegate_Imp309(object p0, bool p1, TreasureCategory p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp315(object p0, TreasureCategory p1, object p2) |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp310(object p0, TreasureCategory p1, object p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp316(object p0, TreasureCategory p1, bool p2) |
| | | public void __Gen_Delegate_Imp311(object p0, TreasureCategory p1, bool p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp317(object p0, int p1) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp312(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp318(object p0, object p1, float p2) |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp313(object p0, object p1, float p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.SignInModel __Gen_Delegate_Imp319(object p0) |
| | | public Snxxz.UI.SignInModel __Gen_Delegate_Imp314(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | { |
| | | using Utils = XLua.Utils; |
| | | |
| | | public class JumpUITypeWrap |
| | | { |
| | | public static void __Register(RealStatePtr L) |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | Utils.BeginObjectRegister(typeof(JumpUIType), L, translator, 0, 0, 0, 0); |
| | | Utils.EndObjectRegister(typeof(JumpUIType), L, translator, null, null, null, null, null); |
| | | |
| | | Utils.BeginClassRegister(typeof(JumpUIType), L, null, 333, 0, 0); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "None", JumpUIType.None); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RoleFunc1", JumpUIType.RoleFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RoleFunc2", JumpUIType.RoleFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RoleFunc3", JumpUIType.RoleFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RoleFunc4", JumpUIType.RoleFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KnapSackFunc1", JumpUIType.KnapSackFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KnapSackFunc2", JumpUIType.KnapSackFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KnapSackFunc3", JumpUIType.KnapSackFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KnapSackFunc4", JumpUIType.KnapSackFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SkillFunc1", JumpUIType.SkillFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SkillFunc2", JumpUIType.SkillFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SkillFunc2Type2", JumpUIType.SkillFunc2Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SkillFunc3", JumpUIType.SkillFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StrengthFunc1", JumpUIType.StrengthFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StrengthFunc2", JumpUIType.StrengthFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StrengthFunc3", JumpUIType.StrengthFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StrengthFunc4", JumpUIType.StrengthFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipLowSuit", JumpUIType.EquipLowSuit); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StrengthFunc5", JumpUIType.StrengthFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipWashType2", JumpUIType.EquipWashType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeFunc1", JumpUIType.ComposeFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeFunc2", JumpUIType.ComposeFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeFunc3", JumpUIType.ComposeFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeFunc4", JumpUIType.ComposeFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeFunc5", JumpUIType.ComposeFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneFunc1", JumpUIType.RuneFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneFunc2", JumpUIType.RuneFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneFunc3", JumpUIType.RuneFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneFunc4", JumpUIType.RuneFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionStore", JumpUIType.UnionStore); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionFunc1", JumpUIType.UnionFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionFunc2", JumpUIType.UnionFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionFunc3", JumpUIType.UnionFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionFunc4", JumpUIType.UnionFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionFunc5", JumpUIType.UnionFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PetFunc1", JumpUIType.PetFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PetFunc2", JumpUIType.PetFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MountType2", JumpUIType.MountType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PetStone", JumpUIType.PetStone); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Treasure", JumpUIType.Treasure); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WorldChat", JumpUIType.WorldChat); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PrivateChat", JumpUIType.PrivateChat); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BountyInterface", JumpUIType.BountyInterface); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DailyQuestFunc1", JumpUIType.DailyQuestFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DailyQuestFunc2", JumpUIType.DailyQuestFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DailyQuestFunc3", JumpUIType.DailyQuestFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RoleTitle", JumpUIType.RoleTitle); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RealmFunc1", JumpUIType.RealmFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RolePoint", JumpUIType.RolePoint); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MainTask", JumpUIType.MainTask); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BigMap", JumpUIType.BigMap); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WorldMap", JumpUIType.WorldMap); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MountStone", JumpUIType.MountStone); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MountSkill", JumpUIType.MountSkill); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MountAppearance", JumpUIType.MountAppearance); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionBoss", JumpUIType.UnionBoss); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "IceCrystal", JumpUIType.IceCrystal); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FairyLand", JumpUIType.FairyLand); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "GridExtend", JumpUIType.GridExtend); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc1", JumpUIType.StoreFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc2", JumpUIType.StoreFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc3", JumpUIType.StoreFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc4", JumpUIType.StoreFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StoreFunc5", JumpUIType.StoreFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeFunc1", JumpUIType.VipRechargeFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeFunc2", JumpUIType.VipRechargeFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeFunc3", JumpUIType.VipRechargeFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeFunc4", JumpUIType.VipRechargeFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeFunc5", JumpUIType.VipRechargeFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc1", JumpUIType.FindPreciousFrameFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc2", JumpUIType.FindPreciousFrameFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc3", JumpUIType.FindPreciousFrameFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc4", JumpUIType.FindPreciousFrameFunc4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc5", JumpUIType.FindPreciousFrameFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc6", JumpUIType.FindPreciousFrameFunc6); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MarketFunc1", JumpUIType.MarketFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MarketFunc2", JumpUIType.MarketFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MarketFunc3", JumpUIType.MarketFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BlastFurnaceFunc1", JumpUIType.BlastFurnaceFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MyTeamType1", JumpUIType.MyTeamType1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TeamListType1", JumpUIType.TeamListType1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipExperience", JumpUIType.VipExperience); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneTower", JumpUIType.RuneTower); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WelfareFunc1", JumpUIType.WelfareFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WelfareFunc2", JumpUIType.WelfareFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SystemSettingFunc1", JumpUIType.SystemSettingFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RebornOpenBag", JumpUIType.RebornOpenBag); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RebornOpenAddPoint", JumpUIType.RebornOpenAddPoint); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RebornOpenHourse", JumpUIType.RebornOpenHourse); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RebornOpenStrength", JumpUIType.RebornOpenStrength); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RebornOpenPet", JumpUIType.RebornOpenPet); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RedPacket", JumpUIType.RedPacket); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFunc1", JumpUIType.TreasureFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFunc2", JumpUIType.TreasureFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Type1TreasureFunc1", JumpUIType.Type1TreasureFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Type1TreasureFunc2", JumpUIType.Type1TreasureFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionWarehouse", JumpUIType.UnionWarehouse); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionHall", JumpUIType.UnionHall); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionMethod", JumpUIType.UnionMethod); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionTask", JumpUIType.UnionTask); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFunc3", JumpUIType.TreasureFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RealmPractice1", JumpUIType.RealmPractice1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RealmPractice2", JumpUIType.RealmPractice2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionActive1", JumpUIType.UnionActive1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionActive2", JumpUIType.UnionActive2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AddFriend1", JumpUIType.AddFriend1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AddFriend2", JumpUIType.AddFriend2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionChat1", JumpUIType.UnionChat1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionChat2", JumpUIType.UnionChat2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TicketCompose1", JumpUIType.TicketCompose1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TicketCompose2", JumpUIType.TicketCompose2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UseNormalDrug", JumpUIType.UseNormalDrug); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XianBaguaIntr", JumpUIType.XianBaguaIntr); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnionTask2", JumpUIType.UnionTask2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerActivityFunc2_1", JumpUIType.OpenServerActivityFunc2_1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerActivityFunc2_2", JumpUIType.OpenServerActivityFunc2_2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FirstRecharge", JumpUIType.FirstRecharge); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KnapSackFunc1Type2", JumpUIType.KnapSackFunc1Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StrengthFunc1Type2", JumpUIType.StrengthFunc1Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KnapSackFunc5", JumpUIType.KnapSackFunc5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHostFunc1", JumpUIType.TreasureFindHostFunc1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHostFunc1Type2", JumpUIType.TreasureFindHostFunc1Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHostFunc2", JumpUIType.TreasureFindHostFunc2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHostFunc2Type2", JumpUIType.TreasureFindHostFunc2Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHostFunc3", JumpUIType.TreasureFindHostFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHostFunc3Type2", JumpUIType.TreasureFindHostFunc3Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHost_LLBT_Type1", JumpUIType.TreasureFindHost_LLBT_Type1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureFindHost_LLBT_Type2", JumpUIType.TreasureFindHost_LLBT_Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerGift", JumpUIType.OpenServerGift); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WelfareFunc3", JumpUIType.WelfareFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemyrescripte104", JumpUIType.Alchemyrescripte104); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemyrescripte105", JumpUIType.Alchemyrescripte105); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip3", JumpUIType.VipRechargeVip3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip2", JumpUIType.VipRechargeVip2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip4", JumpUIType.VipRechargeVip4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip5", JumpUIType.VipRechargeVip5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip6", JumpUIType.VipRechargeVip6); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip7", JumpUIType.VipRechargeVip7); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip8", JumpUIType.VipRechargeVip8); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip9", JumpUIType.VipRechargeVip9); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip10", JumpUIType.VipRechargeVip10); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PlotTaskFunc3", JumpUIType.PlotTaskFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerMountRank", JumpUIType.OpenServerMountRank); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AncientBattle", JumpUIType.AncientBattle); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XMZZBattle", JumpUIType.XMZZBattle); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "VipRechargeVip1", JumpUIType.VipRechargeVip1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_Kirin", JumpUIType.Daily_Kirin); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AttackMagicianType1", JumpUIType.AttackMagicianType1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AttackMagicianType2", JumpUIType.AttackMagicianType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerRank", JumpUIType.OpenServerRank); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_BountyMission", JumpUIType.Daily_BountyMission); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_IceCrystal", JumpUIType.Daily_IceCrystal); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_Trial", JumpUIType.Daily_Trial); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_FairyLand", JumpUIType.Daily_FairyLand); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_GuardSky", JumpUIType.Daily_GuardSky); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_Demon", JumpUIType.Daily_Demon); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_ElderGodArea", JumpUIType.Daily_ElderGodArea); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_AncientBattleGround", JumpUIType.Daily_AncientBattleGround); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_EmperorRelic", JumpUIType.Daily_EmperorRelic); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureSoul", JumpUIType.TreasureSoul); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LootPreciousFrameSpec", JumpUIType.LootPreciousFrameSpec); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneTowerSpec", JumpUIType.RuneTowerSpec); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_FairyTask", JumpUIType.Daily_FairyTask); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_BenYuan", JumpUIType.FaBaoSoul_BenYuan); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_FengMo", JumpUIType.FaBaoSoul_FengMo); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Strength", JumpUIType.FaBaoSoul_Strength); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Rune", JumpUIType.FaBaoSoul_Rune); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Mount", JumpUIType.FaBaoSoul_Mount); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Pet", JumpUIType.FaBaoSoul_Pet); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Boss", JumpUIType.FaBaoSoul_Boss); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Wings", JumpUIType.FaBaoSoul_Wings); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Suit", JumpUIType.FaBaoSoul_Suit); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FaBaoSoul_Wash", JumpUIType.FaBaoSoul_Wash); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ConsumreRebate", JumpUIType.ConsumreRebate); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OSTimeLimitGift", JumpUIType.OSTimeLimitGift); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WelfareFunc2Type2", JumpUIType.WelfareFunc2Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LimitedTimePackage", JumpUIType.LimitedTimePackage); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BossReborn", JumpUIType.BossReborn); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FlashSale", JumpUIType.FlashSale); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BestXB", JumpUIType.BestXB); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneXB", JumpUIType.RuneXB); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XBStore", JumpUIType.XBStore); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XBWarehouse", JumpUIType.XBWarehouse); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BestXBType2", JumpUIType.BestXBType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RuneXBType2", JumpUIType.RuneXBType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XBStoreType2", JumpUIType.XBStoreType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XBWarehouseType2", JumpUIType.XBWarehouseType2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TrialExchange", JumpUIType.TrialExchange); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeTicketFairy", JumpUIType.ComposeTicketFairy); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeTicketIce", JumpUIType.ComposeTicketIce); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ComposeTicketGod", JumpUIType.ComposeTicketGod); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TrialDungeonSelect", JumpUIType.TrialDungeonSelect); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TrialDungeonSelect1", JumpUIType.TrialDungeonSelect1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TrialDungeonSelect2", JumpUIType.TrialDungeonSelect2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TrialDungeonSelect3", JumpUIType.TrialDungeonSelect3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc4Type2", JumpUIType.FindPreciousFrameFunc4Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FindPreciousFrameFunc2Type2", JumpUIType.FindPreciousFrameFunc2Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FairyGrabBoss", JumpUIType.FairyGrabBoss); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerGift1", JumpUIType.OpenServerGift1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerGift2", JumpUIType.OpenServerGift2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerGift3", JumpUIType.OpenServerGift3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServerGift4", JumpUIType.OpenServerGift4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin", JumpUIType.Kylin); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin1", JumpUIType.Kylin1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin2", JumpUIType.Kylin2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin3", JumpUIType.Kylin3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin4", JumpUIType.Kylin4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin5", JumpUIType.Kylin5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Kylin6", JumpUIType.Kylin6); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PrayforDrug", JumpUIType.PrayforDrug); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose1", JumpUIType.EquipCompose1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose2", JumpUIType.EquipCompose2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose3", JumpUIType.EquipCompose3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose4", JumpUIType.EquipCompose4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CeremonyRecharge", JumpUIType.CeremonyRecharge); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CeremonyFire", JumpUIType.CeremonyFire); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CeremonyPeopleToHi", JumpUIType.CeremonyPeopleToHi); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CeremonyOutof", JumpUIType.CeremonyOutof); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DogzFunc1Type1", JumpUIType.DogzFunc1Type1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DogzFunc1Type2", JumpUIType.DogzFunc1Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DogzFunc2Type1", JumpUIType.DogzFunc2Type1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DogzFunc2Type2", JumpUIType.DogzFunc2Type2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BindGoldWheel", JumpUIType.BindGoldWheel); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FlashRushToBuy", JumpUIType.FlashRushToBuy); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipHighSuit", JumpUIType.EquipHighSuit); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Team_TrialDungeon", JumpUIType.Team_TrialDungeon); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Team_EmperorRelic", JumpUIType.Team_EmperorRelic); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "OpenServer_AccumulateRecharge", JumpUIType.OpenServer_AccumulateRecharge); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DungeonAssitCheckIn", JumpUIType.DungeonAssitCheckIn); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Chat_Trumpet", JumpUIType.Chat_Trumpet); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LifeMagicianPreview", JumpUIType.LifeMagicianPreview); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AttackMagicianPreview", JumpUIType.AttackMagicianPreview); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DefenceMagicianPreview", JumpUIType.DefenceMagicianPreview); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XianYuanCoinsStore", JumpUIType.XianYuanCoinsStore); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TrialExchange2", JumpUIType.TrialExchange2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose265", JumpUIType.EquipCompose265); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose266", JumpUIType.EquipCompose266); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose267", JumpUIType.EquipCompose267); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose268", JumpUIType.EquipCompose268); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose269", JumpUIType.EquipCompose269); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose270", JumpUIType.EquipCompose270); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "GatherSoul271", JumpUIType.GatherSoul271); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "GatherSoul272", JumpUIType.GatherSoul272); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "GatherSoul273", JumpUIType.GatherSoul273); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_GatherSoul274", JumpUIType.Daily_GatherSoul274); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerOneVsOne275", JumpUIType.CrossServerOneVsOne275); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerOneVsOne276", JumpUIType.CrossServerOneVsOne276); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerOneVsOne277", JumpUIType.CrossServerOneVsOne277); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerOneVsOne278", JumpUIType.CrossServerOneVsOne278); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerOneVsOne279", JumpUIType.CrossServerOneVsOne279); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FashionDress280", JumpUIType.FashionDress280); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour281", JumpUIType.SevenDaysTour281); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour282", JumpUIType.SevenDaysTour282); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour283", JumpUIType.SevenDaysTour283); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour284", JumpUIType.SevenDaysTour284); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour285", JumpUIType.SevenDaysTour285); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour286", JumpUIType.SevenDaysTour286); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SevenDaysTour287", JumpUIType.SevenDaysTour287); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyTower288", JumpUIType.JadeDynastyTower288); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyTowerRank289", JumpUIType.JadeDynastyTowerRank289); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyBoss290", JumpUIType.JadeDynastyBoss290); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose291", JumpUIType.EquipCompose291); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyEquip292", JumpUIType.JadeDynastyEquip292); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose293", JumpUIType.EquipCompose293); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose294", JumpUIType.EquipCompose294); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose295", JumpUIType.EquipCompose295); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose296", JumpUIType.EquipCompose296); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose297", JumpUIType.EquipCompose297); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "EquipCompose298", JumpUIType.EquipCompose298); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "NewYearTour299", JumpUIType.NewYearTour299); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "NewYearTour300", JumpUIType.NewYearTour300); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "NewYearTour301", JumpUIType.NewYearTour301); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "NewYearTour302", JumpUIType.NewYearTour302); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FestivalRedBag303", JumpUIType.FestivalRedBag303); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyGem304", JumpUIType.JadeDynastyGem304); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ToolCompose305", JumpUIType.ToolCompose305); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LuckyTreasure306", JumpUIType.LuckyTreasure306); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LoginReward307", JumpUIType.LoginReward307); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AllianceBoss1", JumpUIType.AllianceBoss1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AllianceBoss2", JumpUIType.AllianceBoss2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FairyAuction", JumpUIType.FairyAuction); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureSkill", JumpUIType.TreasureSkill); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy1", JumpUIType.Alchemy1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy2", JumpUIType.Alchemy2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy3", JumpUIType.Alchemy3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy4", JumpUIType.Alchemy4); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy5", JumpUIType.Alchemy5); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RealmEquip1", JumpUIType.RealmEquip1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy6", JumpUIType.Alchemy6); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FullServerAuction", JumpUIType.FullServerAuction); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AlchemyNormal", JumpUIType.AlchemyNormal); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AlchemyFairy", JumpUIType.AlchemyFairy); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RolePromote", JumpUIType.RolePromote); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UseFairyDrug", JumpUIType.UseFairyDrug); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MonthInvest", JumpUIType.MonthInvest); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WeekInvest", JumpUIType.WeekInvest); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FairyStore1", JumpUIType.FairyStore1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy7", JumpUIType.Alchemy7); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy8", JumpUIType.Alchemy8); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy9", JumpUIType.Alchemy9); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WorldBossCountWin", JumpUIType.WorldBossCountWin); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "RealmEquip", JumpUIType.RealmEquip); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ExchangeActiveToken", JumpUIType.ExchangeActiveToken); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_FairyFeast", JumpUIType.Daily_FairyFeast); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Daily_FairyMatches", JumpUIType.Daily_FairyMatches); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CrossServerBoss", JumpUIType.CrossServerBoss); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy10", JumpUIType.Alchemy10); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Alchemy11", JumpUIType.Alchemy11); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DhszTs", JumpUIType.DhszTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "HyqTs", JumpUIType.HyqTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "GyzTs", JumpUIType.GyzTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LqhTs", JumpUIType.LqhTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PlyTs", JumpUIType.PlyTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XhqTs", JumpUIType.XhqTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DhzTs", JumpUIType.DhzTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ZjhlTs", JumpUIType.ZjhlTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "YldTs", JumpUIType.YldTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "StfTs", JumpUIType.StfTs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "XyjJs", JumpUIType.XyjJs); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BGLJS", JumpUIType.BGLJS); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LFZJS", JumpUIType.LFZJS); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "YLJJS", JumpUIType.YLJJS); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SBXZJS", JumpUIType.SBXZJS); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "KLJJS", JumpUIType.KLJJS); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TJYJS", JumpUIType.TJYJS); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "Type1TreasureFunc3", JumpUIType.Type1TreasureFunc3); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "LLBT", JumpUIType.LLBT); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FYZJTyp1", JumpUIType.FYZJTyp1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FYZJTyp2", JumpUIType.FYZJTyp2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SHLTyp1", JumpUIType.SHLTyp1); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SHLTyp2", JumpUIType.SHLTyp2); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "HazyRegion", JumpUIType.HazyRegion); |
| | | |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "__CastFrom", __CastFrom); |
| | | |
| | | Utils.EndClassRegister(typeof(JumpUIType), L, translator); |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int __CastFrom(RealStatePtr L) |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | LuaTypes lua_type = LuaAPI.lua_type(L, 1); |
| | | if (lua_type == LuaTypes.LUA_TNUMBER) |
| | | { |
| | | translator.PushJumpUIType(L, (JumpUIType)LuaAPI.xlua_tointeger(L, 1)); |
| | | } |
| | | |
| | | else if(lua_type == LuaTypes.LUA_TSTRING) |
| | | { |
| | | if (LuaAPI.xlua_is_eq_str(L, 1, "None")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.None); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RoleFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RoleFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RoleFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RoleFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RoleFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RoleFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RoleFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RoleFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KnapSackFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KnapSackFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KnapSackFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KnapSackFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KnapSackFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KnapSackFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KnapSackFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KnapSackFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SkillFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SkillFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SkillFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SkillFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SkillFunc2Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SkillFunc2Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SkillFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SkillFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StrengthFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StrengthFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StrengthFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StrengthFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StrengthFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StrengthFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StrengthFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StrengthFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipLowSuit")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipLowSuit); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StrengthFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StrengthFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipWashType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipWashType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionStore")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionStore); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PetFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PetFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PetFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PetFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MountType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MountType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PetStone")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PetStone); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Treasure")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Treasure); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WorldChat")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WorldChat); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PrivateChat")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PrivateChat); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BountyInterface")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BountyInterface); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DailyQuestFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DailyQuestFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DailyQuestFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DailyQuestFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DailyQuestFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DailyQuestFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RoleTitle")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RoleTitle); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RealmFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RealmFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RolePoint")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RolePoint); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MainTask")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MainTask); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BigMap")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BigMap); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WorldMap")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WorldMap); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MountStone")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MountStone); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MountSkill")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MountSkill); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MountAppearance")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MountAppearance); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionBoss")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionBoss); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "IceCrystal")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.IceCrystal); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FairyLand")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FairyLand); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "GridExtend")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.GridExtend); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StoreFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StoreFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StoreFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StoreFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StoreFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StoreFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StoreFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StoreFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StoreFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StoreFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc6")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc6); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MarketFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MarketFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MarketFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MarketFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MarketFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MarketFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BlastFurnaceFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BlastFurnaceFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MyTeamType1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MyTeamType1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TeamListType1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TeamListType1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipExperience")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipExperience); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneTower")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneTower); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WelfareFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WelfareFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WelfareFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WelfareFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SystemSettingFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SystemSettingFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RebornOpenBag")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RebornOpenBag); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RebornOpenAddPoint")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RebornOpenAddPoint); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RebornOpenHourse")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RebornOpenHourse); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RebornOpenStrength")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RebornOpenStrength); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RebornOpenPet")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RebornOpenPet); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RedPacket")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RedPacket); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Type1TreasureFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Type1TreasureFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Type1TreasureFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Type1TreasureFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionWarehouse")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionWarehouse); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionHall")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionHall); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionMethod")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionMethod); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionTask")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionTask); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RealmPractice1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RealmPractice1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RealmPractice2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RealmPractice2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionActive1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionActive1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionActive2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionActive2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AddFriend1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AddFriend1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AddFriend2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AddFriend2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionChat1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionChat1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionChat2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionChat2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TicketCompose1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TicketCompose1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TicketCompose2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TicketCompose2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UseNormalDrug")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UseNormalDrug); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XianBaguaIntr")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XianBaguaIntr); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UnionTask2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UnionTask2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerActivityFunc2_1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerActivityFunc2_1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerActivityFunc2_2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerActivityFunc2_2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FirstRecharge")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FirstRecharge); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KnapSackFunc1Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KnapSackFunc1Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StrengthFunc1Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StrengthFunc1Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KnapSackFunc5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KnapSackFunc5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHostFunc1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHostFunc1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHostFunc1Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHostFunc1Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHostFunc2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHostFunc2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHostFunc2Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHostFunc2Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHostFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHostFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHostFunc3Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHostFunc3Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHost_LLBT_Type1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHost_LLBT_Type1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureFindHost_LLBT_Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureFindHost_LLBT_Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerGift")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerGift); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WelfareFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WelfareFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemyrescripte104")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemyrescripte104); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemyrescripte105")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemyrescripte105); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip6")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip6); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip7")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip7); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip8")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip8); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip9")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip9); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip10")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip10); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PlotTaskFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PlotTaskFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerMountRank")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerMountRank); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AncientBattle")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AncientBattle); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XMZZBattle")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XMZZBattle); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "VipRechargeVip1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.VipRechargeVip1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_Kirin")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_Kirin); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AttackMagicianType1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AttackMagicianType1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AttackMagicianType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AttackMagicianType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerRank")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerRank); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_BountyMission")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_BountyMission); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_IceCrystal")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_IceCrystal); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_Trial")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_Trial); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_FairyLand")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_FairyLand); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_GuardSky")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_GuardSky); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_Demon")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_Demon); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_ElderGodArea")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_ElderGodArea); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_AncientBattleGround")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_AncientBattleGround); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_EmperorRelic")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_EmperorRelic); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureSoul")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureSoul); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LootPreciousFrameSpec")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LootPreciousFrameSpec); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneTowerSpec")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneTowerSpec); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_FairyTask")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_FairyTask); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_BenYuan")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_BenYuan); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_FengMo")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_FengMo); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Strength")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Strength); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Rune")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Rune); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Mount")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Mount); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Pet")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Pet); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Boss")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Boss); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Wings")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Wings); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Suit")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Suit); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FaBaoSoul_Wash")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FaBaoSoul_Wash); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ConsumreRebate")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ConsumreRebate); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OSTimeLimitGift")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OSTimeLimitGift); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WelfareFunc2Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WelfareFunc2Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LimitedTimePackage")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LimitedTimePackage); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BossReborn")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BossReborn); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FlashSale")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FlashSale); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BestXB")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BestXB); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneXB")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneXB); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XBStore")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XBStore); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XBWarehouse")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XBWarehouse); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BestXBType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BestXBType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RuneXBType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RuneXBType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XBStoreType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XBStoreType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XBWarehouseType2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XBWarehouseType2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TrialExchange")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TrialExchange); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeTicketFairy")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeTicketFairy); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeTicketIce")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeTicketIce); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ComposeTicketGod")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ComposeTicketGod); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TrialDungeonSelect")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TrialDungeonSelect); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TrialDungeonSelect1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TrialDungeonSelect1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TrialDungeonSelect2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TrialDungeonSelect2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TrialDungeonSelect3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TrialDungeonSelect3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc4Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc4Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FindPreciousFrameFunc2Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FindPreciousFrameFunc2Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FairyGrabBoss")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FairyGrabBoss); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerGift1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerGift1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerGift2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerGift2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerGift3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerGift3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServerGift4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServerGift4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Kylin6")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Kylin6); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PrayforDrug")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PrayforDrug); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CeremonyRecharge")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CeremonyRecharge); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CeremonyFire")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CeremonyFire); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CeremonyPeopleToHi")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CeremonyPeopleToHi); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CeremonyOutof")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CeremonyOutof); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DogzFunc1Type1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DogzFunc1Type1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DogzFunc1Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DogzFunc1Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DogzFunc2Type1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DogzFunc2Type1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DogzFunc2Type2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DogzFunc2Type2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BindGoldWheel")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BindGoldWheel); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FlashRushToBuy")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FlashRushToBuy); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipHighSuit")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipHighSuit); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Team_TrialDungeon")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Team_TrialDungeon); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Team_EmperorRelic")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Team_EmperorRelic); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "OpenServer_AccumulateRecharge")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.OpenServer_AccumulateRecharge); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DungeonAssitCheckIn")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DungeonAssitCheckIn); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Chat_Trumpet")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Chat_Trumpet); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LifeMagicianPreview")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LifeMagicianPreview); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AttackMagicianPreview")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AttackMagicianPreview); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DefenceMagicianPreview")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DefenceMagicianPreview); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XianYuanCoinsStore")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XianYuanCoinsStore); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TrialExchange2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TrialExchange2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose265")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose265); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose266")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose266); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose267")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose267); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose268")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose268); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose269")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose269); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose270")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose270); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "GatherSoul271")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.GatherSoul271); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "GatherSoul272")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.GatherSoul272); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "GatherSoul273")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.GatherSoul273); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_GatherSoul274")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_GatherSoul274); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerOneVsOne275")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CrossServerOneVsOne275); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerOneVsOne276")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CrossServerOneVsOne276); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerOneVsOne277")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CrossServerOneVsOne277); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerOneVsOne278")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CrossServerOneVsOne278); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerOneVsOne279")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CrossServerOneVsOne279); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FashionDress280")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FashionDress280); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour281")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour281); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour282")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour282); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour283")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour283); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour284")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour284); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour285")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour285); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour286")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour286); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SevenDaysTour287")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SevenDaysTour287); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "JadeDynastyTower288")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.JadeDynastyTower288); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "JadeDynastyTowerRank289")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.JadeDynastyTowerRank289); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "JadeDynastyBoss290")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.JadeDynastyBoss290); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose291")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose291); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "JadeDynastyEquip292")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.JadeDynastyEquip292); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose293")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose293); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose294")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose294); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose295")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose295); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose296")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose296); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose297")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose297); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "EquipCompose298")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.EquipCompose298); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "NewYearTour299")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.NewYearTour299); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "NewYearTour300")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.NewYearTour300); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "NewYearTour301")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.NewYearTour301); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "NewYearTour302")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.NewYearTour302); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FestivalRedBag303")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FestivalRedBag303); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "JadeDynastyGem304")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.JadeDynastyGem304); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ToolCompose305")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ToolCompose305); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LuckyTreasure306")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LuckyTreasure306); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LoginReward307")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LoginReward307); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AllianceBoss1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AllianceBoss1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AllianceBoss2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AllianceBoss2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FairyAuction")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FairyAuction); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TreasureSkill")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TreasureSkill); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy4")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy4); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy5")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy5); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RealmEquip1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RealmEquip1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy6")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy6); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FullServerAuction")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FullServerAuction); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AlchemyNormal")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AlchemyNormal); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "AlchemyFairy")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.AlchemyFairy); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RolePromote")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RolePromote); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "UseFairyDrug")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.UseFairyDrug); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "MonthInvest")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.MonthInvest); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WeekInvest")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WeekInvest); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FairyStore1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FairyStore1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy7")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy7); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy8")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy8); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy9")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy9); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "WorldBossCountWin")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.WorldBossCountWin); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "RealmEquip")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.RealmEquip); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ExchangeActiveToken")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ExchangeActiveToken); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_FairyFeast")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_FairyFeast); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Daily_FairyMatches")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Daily_FairyMatches); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "CrossServerBoss")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.CrossServerBoss); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy10")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy10); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Alchemy11")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy11); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DhszTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DhszTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "HyqTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.HyqTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "GyzTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.GyzTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LqhTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LqhTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "PlyTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.PlyTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XhqTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XhqTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DhzTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DhzTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "ZjhlTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.ZjhlTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "YldTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.YldTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "StfTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.StfTs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "XyjJs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.XyjJs); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BGLJS")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.BGLJS); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LFZJS")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LFZJS); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "YLJJS")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.YLJJS); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SBXZJS")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SBXZJS); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "KLJJS")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.KLJJS); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "TJYJS")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.TJYJS); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "Type1TreasureFunc3")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Type1TreasureFunc3); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "LLBT")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.LLBT); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FYZJTyp1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FYZJTyp1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "FYZJTyp2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.FYZJTyp2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SHLTyp1")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SHLTyp1); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SHLTyp2")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SHLTyp2); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "HazyRegion")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.HazyRegion); |
| | | } |
| | | else |
| | | { |
| | | return LuaAPI.luaL_error(L, "invalid string for JumpUIType!"); |
| | | } |
| | | } |
| | | |
| | | else |
| | | { |
| | | return LuaAPI.luaL_error(L, "invalid lua type for JumpUIType! Expect number or string, got + " + lua_type); |
| | | } |
| | | |
| | | return 1; |
| | | } |
| | | } |
| | | |
| | | public class E_ActorClassTypeWrap |
| | | { |
| | | public static void __Register(RealStatePtr L) |
| | |
| | | Utils.BeginObjectRegister(typeof(VipPrivilegeType), L, translator, 0, 0, 0, 0); |
| | | Utils.EndObjectRegister(typeof(VipPrivilegeType), L, translator, null, null, null, null, null); |
| | | |
| | | Utils.BeginClassRegister(typeof(VipPrivilegeType), L, null, 35, 0, 0); |
| | | Utils.BeginClassRegister(typeof(VipPrivilegeType), L, null, 36, 0, 0); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "TreasureAtk", VipPrivilegeType.TreasureAtk); |
| | | |
| | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "JadeDynastyBoss", VipPrivilegeType.JadeDynastyBoss); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BatchAlchemyFairy", VipPrivilegeType.BatchAlchemyFairy); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "BossHomeBuyTimes", VipPrivilegeType.BossHomeBuyTimes); |
| | | |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "__CastFrom", __CastFrom); |
| | | |
| | |
| | | { |
| | | translator.PushVipPrivilegeType(L, VipPrivilegeType.BatchAlchemyFairy); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "BossHomeBuyTimes")) |
| | | { |
| | | translator.PushVipPrivilegeType(L, VipPrivilegeType.BossHomeBuyTimes); |
| | | } |
| | | else |
| | | { |
| | | return LuaAPI.luaL_error(L, "invalid string for VipPrivilegeType!"); |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.BossHomeModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 10, 4, 4); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 11, 6, 5); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossHomeFloorSelectedEvent", _e_bossHomeFloorSelectedEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossSelectedEvent", _e_bossSelectedEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossWearyValueChangeEvent", _e_bossWearyValueChangeEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "boughtTimeChangeEvent", _e_boughtTimeChangeEvent); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedFloor", _g_get_selectedFloor); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedBoss", _g_get_selectedBoss); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "wearyValue", _g_get_wearyValue); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "boughtTimes", _g_get_boughtTimes); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "remindTimes", _g_get_remindTimes); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "bossHomeRedpoint", _g_get_bossHomeRedpoint); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectedFloor", _s_set_selectedFloor); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectedBoss", _s_set_selectedBoss); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "wearyValue", _s_set_wearyValue); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "boughtTimes", _s_set_boughtTimes); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "bossHomeRedpoint", _s_set_bossHomeRedpoint); |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_boughtTimes(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.BossHomeModel gen_to_be_invoked = (Snxxz.UI.BossHomeModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.boughtTimes); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_remindTimes(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.BossHomeModel gen_to_be_invoked = (Snxxz.UI.BossHomeModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.remindTimes); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_bossHomeRedpoint(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | |
| | | Snxxz.UI.BossHomeModel gen_to_be_invoked = (Snxxz.UI.BossHomeModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.wearyValue = LuaAPI.xlua_tointeger(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_boughtTimes(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.BossHomeModel gen_to_be_invoked = (Snxxz.UI.BossHomeModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.boughtTimes = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_boughtTimeChangeEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.BossHomeModel gen_to_be_invoked = (Snxxz.UI.BossHomeModel)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.boughtTimeChangeEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.boughtTimeChangeEvent -= 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.BossHomeModel.boughtTimeChangeEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.FairyModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 41, 32, 9); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 41, 33, 9); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "guardSkyCompleteEvent", _e_guardSkyCompleteEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "fakeFairyUpdateEvent", _e_fakeFairyUpdateEvent); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentChangeMember", _g_get_presentChangeMember); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "changeNotifyLevelLimit", _g_get_changeNotifyLevelLimit); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentChangeMember", _g_get_presentChangeMember); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOnAllot", _g_get_IsOnAllot); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "createFairyLv", _g_get_createFairyLv); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "createFairyCost", _g_get_createFairyCost); |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_changeNotifyLevelLimit(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.FairyModel gen_to_be_invoked = (Snxxz.UI.FairyModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.changeNotifyLevelLimit); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_presentChangeMember(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.HazyRegionModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 23, 18, 3); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 23, 19, 3); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "requireIncidentAnimation", _g_get_requireIncidentAnimation); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "incidentDirty", _g_get_incidentDirty); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "openActviePoint", _g_get_openActviePoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "autoOpenLimitLevel", _g_get_autoOpenLimitLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectIncident", _g_get_selectIncident); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "InFakeHazyRegion", _g_get_InFakeHazyRegion); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "incidentTypesSort", _g_get_incidentTypesSort); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_autoOpenLimitLevel(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.HazyRegionModel gen_to_be_invoked = (Snxxz.UI.HazyRegionModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.autoOpenLimitLevel); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_selectIncident(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsJadeDynastyBoss", _m_IsJadeDynastyBoss); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBossUnLocked", _m_IsBossUnLocked); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAssistState", _m_IsAssistState); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetJadeDynastyBosses", _m_GetJadeDynastyBosses); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetParticipantCount", _m_GetParticipantCount); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLatestUnLockBoss", _m_GetLatestUnLockBoss); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetBossLine", _m_TryGetBossLine); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryEnterDungeon", _m_TryEnterDungeon); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisplayErrorTip", _m_DisplayErrorTip); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnReceivePackage", _m_OnReceivePackage); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "selectBossRefresh", _e_selectBossRefresh); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "bossLineRefresh", _e_bossLineRefresh); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "assistTimeRefresh", _e_assistTimeRefresh); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "jadeDynastyScoreRefresh", _e_jadeDynastyScoreRefresh); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "challengeLimitCount", _g_get_challengeLimitCount); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "challengeTimes", _g_get_challengeTimes); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "assistTimes", _g_get_assistTimes); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectBossId", _g_get_selectBossId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "assginSelectBossId", _g_get_assginSelectBossId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint", _g_get_redpoint); |
| | |
| | | |
| | | |
| | | return 2; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsAssistState(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.JadeDynastyBossModel gen_to_be_invoked = (Snxxz.UI.JadeDynastyBossModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsAssistState( ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_OnReceivePackage(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.JadeDynastyBossModel gen_to_be_invoked = (Snxxz.UI.JadeDynastyBossModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | |
| | | if(gen_param_count == 2&& translator.Assignable<HA007_tagGCFBLinePlayerCnt>(L, 2)) |
| | | { |
| | | HA007_tagGCFBLinePlayerCnt _package = (HA007_tagGCFBLinePlayerCnt)translator.GetObject(L, 2, typeof(HA007_tagGCFBLinePlayerCnt)); |
| | | |
| | | gen_to_be_invoked.OnReceivePackage( _package ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 2&& translator.Assignable<HB212_tagMCZhuXianBossCnt>(L, 2)) |
| | | { |
| | | HB212_tagMCZhuXianBossCnt _package = (HB212_tagMCZhuXianBossCnt)translator.GetObject(L, 2, typeof(HB212_tagMCZhuXianBossCnt)); |
| | | |
| | | gen_to_be_invoked.OnReceivePackage( _package ); |
| | | |
| | | |
| | | |
| | | 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.JadeDynastyBossModel.OnReceivePackage!"); |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SortCompare_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | |
| | | Snxxz.UI.JadeDynastyBossModel gen_to_be_invoked = (Snxxz.UI.JadeDynastyBossModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.challengeTimes); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_assistTimes(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.JadeDynastyBossModel gen_to_be_invoked = (Snxxz.UI.JadeDynastyBossModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.assistTimes); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.JadeDynastyBossModel.bossLineRefresh!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_assistTimeRefresh(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.JadeDynastyBossModel gen_to_be_invoked = (Snxxz.UI.JadeDynastyBossModel)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.assistTimeRefresh += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.assistTimeRefresh -= 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.JadeDynastyBossModel.assistTimeRefresh!"); |
| | | return 0; |
| | | } |
| | | |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.ReikiRootModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 27, 24, 11); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 29, 25, 11); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetUnLimitTimeResetItem", _m_GetUnLimitTimeResetItem); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsQualityProperty", _m_IsQualityProperty); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPreReikiRoot", _m_IsPreReikiRoot); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAfterReikiRoot", _m_IsAfterReikiRoot); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSatisfyReikiRootCondition", _m_IsSatisfyReikiRootCondition); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReceivePackage", _m_ReceivePackage); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendAddPoint", _m_SendAddPoint); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshReikiRootPoint", _m_RefreshReikiRootPoint); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "effectLimitLevel", _g_get_effectLimitLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointAutoAddLevel", _g_get_reikiPointAutoAddLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "levelUpAddPoint", _g_get_levelUpAddPoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "afterReikiRootLimitLevel", _g_get_afterReikiRootLimitLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "titleAddPoint", _g_get_titleAddPoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "treasureAddPoint", _g_get_treasureAddPoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "lastReikiRootPoints", _g_get_lastReikiRootPoints); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsAfterReikiRoot(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _id = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsAfterReikiRoot( _id ); |
| | | LuaAPI.lua_pushboolean(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_IsSatisfyReikiRootCondition(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _id = LuaAPI.xlua_tointeger(L, 2); |
| | | int _condition; |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsSatisfyReikiRootCondition( _id, out _condition ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | LuaAPI.xlua_pushinteger(L, _condition); |
| | | |
| | | |
| | | |
| | | |
| | | return 2; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_ReceivePackage(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_afterReikiRootLimitLevel(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.afterReikiRootLimitLevel); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_titleAddPoint(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.SkillModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 35, 25, 15); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 36, 27, 16); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuickBaseSkillArray", _m_GetQuickBaseSkillArray); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQuickSkillIdByPos", _m_GetQuickSkillIdByPos); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetXpSkillID", _m_GetXpSkillID); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsXpSkill", _m_IsXpSkill); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshSltSkill", _m_RefreshSltSkill); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "AutoUseXp", _m_AutoUseXp); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAutoUseXp", _m_SetAutoUseXp); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToPass", _g_get_jumpToPass); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "minTaskHole", _g_get_minTaskHole); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxTaskHole", _g_get_maxTaskHole); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillMatchRedpointable", _g_get_skillMatchRedpointable); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "xpSkill", _g_get_xpSkill); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentEquipPage", _g_get_presentEquipPage); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "taskHoleDict", _g_get_taskHoleDict); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "passEquipGetWays", _g_get_passEquipGetWays); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "passEquipGetWayTxts", _g_get_passEquipGetWayTxts); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpoint", _g_get_redpoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillMatchRedpoint", _g_get_skillMatchRedpoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentSltSkillID", _g_get_presentSltSkillID); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillDraging", _g_get_skillDraging); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "skillDragId", _g_get_skillDragId); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "passSkillHoleRedpoints", _g_get_passSkillHoleRedpoints); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "jumpToPass", _s_set_jumpToPass); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "skillMatchRedpointable", _s_set_skillMatchRedpointable); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "equipPassPage", _s_set_equipPassPage); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "UnlockPassHole", _s_set_UnlockPassHole); |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "passSkillLimits", _s_set_passSkillLimits); |
| | |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetXpSkillID( ); |
| | | LuaAPI.xlua_pushinteger(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_IsXpSkill(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int _skillId = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsXpSkill( _skillId ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_skillMatchRedpointable(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.skillMatchRedpointable); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_xpSkill(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | |
| | | Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.redpoint); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_skillMatchRedpoint(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.skillMatchRedpoint); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _s_set_skillMatchRedpointable(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.SkillModel gen_to_be_invoked = (Snxxz.UI.SkillModel)translator.FastGetCSObj(L, 1); |
| | | gen_to_be_invoked.skillMatchRedpointable = 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_equipPassPage(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.TreasureSkillModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 25, 7, 4); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 26, 7, 4); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetPotential", _m_TryGetPotential); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetExpertActiveLevel", _m_TryGetExpertActiveLevel); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTotalExpertSkillLevel", _m_GetTotalExpertSkillLevel); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSatisfyLevelUpMinCostSkillId", _m_GetSatisfyLevelUpMinCostSkillId); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnReceivePackage", _m_OnReceivePackage); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnDeleteSkill", _m_OnDeleteSkill); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryLevelUpTreasureSkill", _m_TryLevelUpTreasureSkill); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetSatisfyLevelUpMinCostSkillId(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.TreasureSkillModel gen_to_be_invoked = (Snxxz.UI.TreasureSkillModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetSatisfyLevelUpMinCostSkillId( ); |
| | | LuaAPI.xlua_pushinteger(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_OnReceivePackage(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 68bc00126159b12408beda121bcbfa5a |
| | | timeCreated: 1557818438 |
| | | timeCreated: 1562147310 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | translator.RegisterPushAndGetAndUpdate<UnityEngine.Ray>(translator.PushUnityEngineRay, translator.Get, translator.UpdateUnityEngineRay); |
| | | translator.RegisterPushAndGetAndUpdate<UnityEngine.Bounds>(translator.PushUnityEngineBounds, translator.Get, translator.UpdateUnityEngineBounds); |
| | | translator.RegisterPushAndGetAndUpdate<UnityEngine.Ray2D>(translator.PushUnityEngineRay2D, translator.Get, translator.UpdateUnityEngineRay2D); |
| | | translator.RegisterPushAndGetAndUpdate<JumpUIType>(translator.PushJumpUIType, translator.Get, translator.UpdateJumpUIType); |
| | | translator.RegisterPushAndGetAndUpdate<E_ActorClassType>(translator.PushE_ActorClassType, translator.Get, translator.UpdateE_ActorClassType); |
| | | translator.RegisterPushAndGetAndUpdate<E_ActorState>(translator.PushE_ActorState, translator.Get, translator.UpdateE_ActorState); |
| | | translator.RegisterPushAndGetAndUpdate<E_BuffType>(translator.PushE_BuffType, translator.Get, translator.UpdateE_BuffType); |
| | |
| | | if (!CopyByValue.Pack(buff, 0, val)) |
| | | { |
| | | throw new Exception("pack fail for UnityEngine.Ray2D ,value="+val); |
| | | } |
| | | } |
| | | |
| | | else |
| | | { |
| | | throw new Exception("try to update a data with lua type:" + LuaAPI.lua_type(L, index)); |
| | | } |
| | | } |
| | | |
| | | int JumpUIType_TypeID = -1; |
| | | int JumpUIType_EnumRef = -1; |
| | | |
| | | public void PushJumpUIType(RealStatePtr L, JumpUIType val) |
| | | { |
| | | if (JumpUIType_TypeID == -1) |
| | | { |
| | | bool is_first; |
| | | JumpUIType_TypeID = getTypeId(L, typeof(JumpUIType), out is_first); |
| | | |
| | | if (JumpUIType_EnumRef == -1) |
| | | { |
| | | Utils.LoadCSTable(L, typeof(JumpUIType)); |
| | | JumpUIType_EnumRef = LuaAPI.luaL_ref(L, LuaIndexes.LUA_REGISTRYINDEX); |
| | | } |
| | | |
| | | } |
| | | |
| | | if (LuaAPI.xlua_tryget_cachedud(L, (int)val, JumpUIType_EnumRef) == 1) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | IntPtr buff = LuaAPI.xlua_pushstruct(L, 4, JumpUIType_TypeID); |
| | | if (!CopyByValue.Pack(buff, 0, (int)val)) |
| | | { |
| | | throw new Exception("pack fail fail for JumpUIType ,value="+val); |
| | | } |
| | | |
| | | LuaAPI.lua_getref(L, JumpUIType_EnumRef); |
| | | LuaAPI.lua_pushvalue(L, -2); |
| | | LuaAPI.xlua_rawseti(L, -2, (int)val); |
| | | LuaAPI.lua_pop(L, 1); |
| | | |
| | | } |
| | | |
| | | public void Get(RealStatePtr L, int index, out JumpUIType val) |
| | | { |
| | | LuaTypes type = LuaAPI.lua_type(L, index); |
| | | if (type == LuaTypes.LUA_TUSERDATA ) |
| | | { |
| | | if (LuaAPI.xlua_gettypeid(L, index) != JumpUIType_TypeID) |
| | | { |
| | | throw new Exception("invalid userdata for JumpUIType"); |
| | | } |
| | | |
| | | IntPtr buff = LuaAPI.lua_touserdata(L, index); |
| | | int e; |
| | | if (!CopyByValue.UnPack(buff, 0, out e)) |
| | | { |
| | | throw new Exception("unpack fail for JumpUIType"); |
| | | } |
| | | val = (JumpUIType)e; |
| | | |
| | | } |
| | | else |
| | | { |
| | | val = (JumpUIType)objectCasters.GetCaster(typeof(JumpUIType))(L, index, null); |
| | | } |
| | | } |
| | | |
| | | public void UpdateJumpUIType(RealStatePtr L, int index, JumpUIType val) |
| | | { |
| | | |
| | | if (LuaAPI.lua_type(L, index) == LuaTypes.LUA_TUSERDATA) |
| | | { |
| | | if (LuaAPI.xlua_gettypeid(L, index) != JumpUIType_TypeID) |
| | | { |
| | | throw new Exception("invalid userdata for JumpUIType"); |
| | | } |
| | | |
| | | IntPtr buff = LuaAPI.lua_touserdata(L, index); |
| | | if (!CopyByValue.Pack(buff, 0, (int)val)) |
| | | { |
| | | throw new Exception("pack fail for JumpUIType ,value="+val); |
| | | } |
| | | } |
| | | |
| | |
| | | translator.PushUnityEngineRay2D(L, array[index]); |
| | | return true; |
| | | } |
| | | else if (type == typeof(JumpUIType[])) |
| | | { |
| | | JumpUIType[] array = obj as JumpUIType[]; |
| | | translator.PushJumpUIType(L, array[index]); |
| | | return true; |
| | | } |
| | | else if (type == typeof(E_ActorClassType[])) |
| | | { |
| | | E_ActorClassType[] array = obj as E_ActorClassType[]; |
| | |
| | | translator.Get(L, obj_idx, out array[array_idx]); |
| | | return true; |
| | | } |
| | | else if (type == typeof(JumpUIType[])) |
| | | { |
| | | JumpUIType[] array = obj as JumpUIType[]; |
| | | translator.Get(L, obj_idx, out array[array_idx]); |
| | | return true; |
| | | } |
| | | else if (type == typeof(E_ActorClassType[])) |
| | | { |
| | | E_ActorClassType[] array = obj as E_ActorClassType[]; |
| | |
| | | translator.DelayWrapLoader(typeof(WindowJumpMgr), WindowJumpMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(JumpUIType), JumpUITypeWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MapModel), SnxxzUIMapModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(WorldMapSkip), WorldMapSkipWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FuncOpen), SnxxzUIFuncOpenWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit10(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FuncOpen), SnxxzUIFuncOpenWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FunctionButton), SnxxzUIFunctionButtonWrap.__Register); |
| | | |
| | |
| | | |
| | | translator.DelayWrapLoader(typeof(E_AttackMode), E_AttackModeWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(E_ItemColor), E_ItemColorWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit11(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(E_ItemColor), E_ItemColorWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FindPreciousType), FindPreciousTypeWrap.__Register); |
| | | |
| | | |
| | |
| | | <type fullname="Snxxz.UI.OneLevelWin" preserve="all"/> |
| | | <type fullname="Snxxz.UI.WindowCenter" preserve="all"/> |
| | | <type fullname="WindowJumpMgr" preserve="all"/> |
| | | <type fullname="JumpUIType" preserve="all"/> |
| | | <type fullname="Snxxz.UI.MapModel" preserve="all"/> |
| | | <type fullname="WorldMapSkip" preserve="all"/> |
| | | <type fullname="Snxxz.UI.FuncOpen" preserve="all"/> |
| | |
| | | table.SetMetaTable(meta); |
| | | meta.Dispose(); |
| | | |
| | | table.Set("this", this); |
| | | table.Set("transform", this.transform); |
| | | LuaUtility.DoString(fileName, "LuaBehaviour", table); |
| | | |
| | | var luaAwake = table.Get<Action>("Awake"); |
| | |
| | | public bool satisfyStep { get; private set; }
|
| | | private bool serverNotify = false;
|
| | | private int cacheMapId = 0;
|
| | | private Int3 taskInfo = Int3.zero;
|
| | | private const string BOSS_SHOW_KEY = "BossShow";
|
| | | public event Action bossShowPreparedEvent;
|
| | | public event Action bossShowCompletedEvent;
|
| | |
| | |
|
| | | public void ReceivePackage(H0827_tagMissionDesc vNetData)
|
| | | {
|
| | | if (DTC0403_tagPlayerLoginLoadOK.finishedLogin)
|
| | | var _taskInfo = new Int3((int)vNetData.MissionID, vNetData.MissionState, vNetData.DiscriptionIndex);
|
| | | if (_taskInfo != taskInfo)
|
| | | {
|
| | | var configs = ActorShowConfig.GetValues();
|
| | | foreach (var config in configs)
|
| | | taskInfo = _taskInfo;
|
| | | if (DTC0403_tagPlayerLoginLoadOK.finishedLogin)
|
| | | {
|
| | | if (config.BindMissionID.x == vNetData.MissionID
|
| | | && config.BindMissionID.y == vNetData.MissionState
|
| | | && config.BindMissionID.z == vNetData.DiscriptionIndex)
|
| | | var configs = ActorShowConfig.GetValues();
|
| | | foreach (var config in configs)
|
| | | {
|
| | | Start(config.MapID, config.NpcID);
|
| | | if (PlayerDatas.Instance.hero != null)
|
| | | if (config.BindMissionID == taskInfo)
|
| | | {
|
| | | PlayerDatas.Instance.hero.StopAll();
|
| | | Start(config.MapID, config.NpcID);
|
| | | if (PlayerDatas.Instance.hero != null)
|
| | | {
|
| | | PlayerDatas.Instance.hero.StopAll();
|
| | | }
|
| | | return;
|
| | | }
|
| | | return;
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | unlockTypeName.text = itemCompound.secondTypeName;
|
| | | arrowImg.gameObject.SetActive(thirdType != 0);
|
| | | UpdateBtnImg(selectSecondType);
|
| | | if (firstType == (int)ComposeFuncType.Item
|
| | | && composeModel.secondTypeRedDict.ContainsKey(secondType))
|
| | |
|
| | | var index = composeModel.composeRedpointCategories.FindIndex((x) =>
|
| | | {
|
| | | return x.x == firstType && x.y == secondType;
|
| | | });
|
| | |
|
| | | if (index != -1)
|
| | | {
|
| | | redpoint.gameObject.SetActive(true);
|
| | | redpoint.redpointId = composeModel.secondTypeRedDict[secondType].id;
|
| | |
| | | #region 红点逻辑
|
| | | public const int COMPOSE_REDKEY = 109;
|
| | | public const int COMPOSETOOL_REDKEY = 10905;
|
| | | public const int COMPOSETICKET_REDKEY = 10903;
|
| | | public const int COMPOSEBTN_REDKEY = 10910;
|
| | | public Redpoint composeRed = new Redpoint(MainRedDot.RedPoint_key, COMPOSE_REDKEY);
|
| | | public Redpoint composeBtnRed = new Redpoint(COMPOSEBTN_REDKEY);
|
| | | public Redpoint composeToolRed = new Redpoint(COMPOSE_REDKEY, COMPOSETOOL_REDKEY);
|
| | | public Redpoint composeTicketRed = new Redpoint(COMPOSE_REDKEY, COMPOSETICKET_REDKEY);
|
| | | public Dictionary<int, Redpoint> secondTypeRedDict = new Dictionary<int, Redpoint>();
|
| | | public Dictionary<string, Redpoint> thirdTypeRedDict = new Dictionary<string, Redpoint>();
|
| | | public List<Int3> composeRedpointCategories = new List<Int3>();
|
| | | public void SetComposeTypeRed()
|
| | | {
|
| | | var funcConfig = FuncConfigConfig.Get("ComposeRedpoint");
|
| | | var stringArray = funcConfig.Numerical1.Split('|');
|
| | | for (int i = 0; i < stringArray.Length; i++)
|
| | | {
|
| | | Int3 category;
|
| | | if (Int3.TryParse(stringArray[i], out category))
|
| | | {
|
| | | composeRedpointCategories.Add(category);
|
| | | }
|
| | | }
|
| | |
|
| | | secondTypeRedDict.Clear();
|
| | | thirdTypeRedDict.Clear();
|
| | | if (composeDataDict.ContainsKey((int)ComposeFuncType.Item))
|
| | | //if (composeDataDict.ContainsKey((int)ComposeFuncType.Item))
|
| | | //{
|
| | | // var firstTypeData = composeDataDict[(int)ComposeFuncType.Item];
|
| | | // var secondTypeDict = firstTypeData.secondTypeDict;
|
| | | // foreach (var second in secondTypeDict.Keys)
|
| | | // {
|
| | | // var thirdTypeDict = secondTypeDict[second].thirdTypeDict;
|
| | | // int secondRedKey = COMPOSETOOL_REDKEY * 100 + second;
|
| | | // Redpoint secondRed = new Redpoint(COMPOSETOOL_REDKEY, secondRedKey);
|
| | | // secondTypeRedDict.Add(second, secondRed);
|
| | | // foreach (var third in thirdTypeDict.Keys)
|
| | | // {
|
| | | // int thirdRedKey = secondRedKey * 100 + third;
|
| | | // Redpoint thirdRed = new Redpoint(secondRedKey, thirdRedKey);
|
| | | // string key = StringUtility.Contact(second, 10, third);
|
| | | // thirdTypeRedDict.Add(key, thirdRed);
|
| | | // }
|
| | | // }
|
| | | //}
|
| | |
|
| | | foreach (var category in composeRedpointCategories)
|
| | | {
|
| | | var firstTypeData = composeDataDict[(int)ComposeFuncType.Item];
|
| | | var secondTypeDict = firstTypeData.secondTypeDict;
|
| | | foreach (var second in secondTypeDict.Keys)
|
| | | if (composeDataDict.ContainsKey(category.x))
|
| | | {
|
| | | var thirdTypeDict = secondTypeDict[second].thirdTypeDict;
|
| | | int secondRedKey = COMPOSETOOL_REDKEY * 100 + second;
|
| | | Redpoint secondRed = new Redpoint(COMPOSETOOL_REDKEY, secondRedKey);
|
| | | secondTypeRedDict.Add(second, secondRed);
|
| | | foreach (var third in thirdTypeDict.Keys)
|
| | | var firstTypeData = composeDataDict[category.x];
|
| | | var secondTypeDict = firstTypeData.secondTypeDict;
|
| | | foreach (var second in secondTypeDict.Keys)
|
| | | {
|
| | | int thirdRedKey = secondRedKey * 100 + third;
|
| | | Redpoint thirdRed = new Redpoint(secondRedKey, thirdRedKey);
|
| | | string key = StringUtility.Contact(second, 10, third);
|
| | | thirdTypeRedDict.Add(key, thirdRed);
|
| | | var thirdTypeDict = secondTypeDict[second].thirdTypeDict;
|
| | | int secondRedKey = COMPOSETICKET_REDKEY * 100 + second;
|
| | | Redpoint secondRed = new Redpoint(COMPOSETICKET_REDKEY, secondRedKey);
|
| | | secondTypeRedDict.Add(second, secondRed);
|
| | | foreach (var third in thirdTypeDict.Keys)
|
| | | {
|
| | | int thirdRedKey = secondRedKey * 100 + third;
|
| | | Redpoint thirdRed = new Redpoint(secondRedKey, thirdRedKey);
|
| | | string key = StringUtility.Contact(second, 10, third);
|
| | | thirdTypeRedDict.Add(key, thirdRed);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | readonly List<int> redpointItemTypes = new List<int>()
|
| | | {
|
| | | 35,
|
| | | 44,
|
| | | };
|
| | |
|
| | | private void OnItemCntRefresh(PackType type, int index, int id)
|
| | | {
|
| | | if (type != PackType.Item) return;
|
| | |
|
| | | ItemConfig itemConfig = ItemConfig.Get(id);
|
| | | if (itemConfig != null && itemConfig.Type == (int)ItemType.ComposeSuitStone)
|
| | | if (itemConfig != null && redpointItemTypes.Contains(itemConfig.Type))
|
| | | {
|
| | | RefreshComposeRed();
|
| | | }
|
| | |
| | |
|
| | | public void RefreshComposeRed()
|
| | | {
|
| | | ComposeFirstTypeData firstTypeData = null;
|
| | | TryGetFirstTypeData((int)ComposeFuncType.Item, out firstTypeData);
|
| | | if (firstTypeData == null
|
| | | || !FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Compose)) return;
|
| | |
|
| | | ComposeSecondTypeData secondTypeData = null;
|
| | | TryGetSecondTypeData((int)ComposeFuncType.Item, 3, out secondTypeData);
|
| | | if (secondTypeData != null)
|
| | | if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Compose))
|
| | | {
|
| | | var thirdTypeDict = secondTypeData.thirdTypeDict;
|
| | | foreach (var third in thirdTypeDict.Keys)
|
| | | return;
|
| | | }
|
| | |
|
| | | foreach (var category in composeRedpointCategories)
|
| | | {
|
| | | ComposeSecondTypeData secondTypeData = null;
|
| | | TryGetSecondTypeData(category.x, category.y, out secondTypeData);
|
| | | if (secondTypeData != null)
|
| | | {
|
| | | List<ComposeThirdTypeData> thirdTypeDatas = thirdTypeDict[third];
|
| | | for (int i = 0; i < thirdTypeDatas.Count; i++)
|
| | | var thirdTypeDict = secondTypeData.thirdTypeDict;
|
| | | foreach (var third in thirdTypeDict.Keys)
|
| | | {
|
| | | var itemCompound = thirdTypeDatas[i].itemCompound;
|
| | | int makeID = itemCompound.makeID[0];
|
| | | string key = StringUtility.Contact(3, 10, third);
|
| | | if (IsComposeJobLimit(makeID) && IsEnoughFixedMat(itemCompound))
|
| | | List<ComposeThirdTypeData> thirdTypeDatas = thirdTypeDict[third];
|
| | | for (int i = 0; i < thirdTypeDatas.Count; i++)
|
| | | {
|
| | | if (thirdTypeRedDict[key].state != RedPointState.Simple)
|
| | | var itemCompound = thirdTypeDatas[i].itemCompound;
|
| | | int makeID = itemCompound.makeID[0];
|
| | | string key = StringUtility.Contact(category.y, 10, third);
|
| | | if (IsEnoughFixedMat(itemCompound))
|
| | | {
|
| | | thirdTypeRedDict[key].state = RedPointState.Simple;
|
| | | if (thirdTypeRedDict[key].state != RedPointState.Simple)
|
| | | {
|
| | | thirdTypeRedDict[key].state = RedPointState.Simple;
|
| | | }
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | if (thirdTypeRedDict[key].state != RedPointState.None)
|
| | | else
|
| | | {
|
| | | thirdTypeRedDict[key].state = RedPointState.None;
|
| | | if (thirdTypeRedDict[key].state != RedPointState.None)
|
| | | {
|
| | | thirdTypeRedDict[key].state = RedPointState.None;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | switch ((DailyQuestType)_dailyQuestId)
|
| | | {
|
| | | case DailyQuestType.FairyFeast:
|
| | | case DailyQuestType.FairyTask:
|
| | | case DailyQuestType.FairyGrabBoss:
|
| | | case DailyQuestType.AllianceBoss:
|
| | | return defaultUnlock && PlayerDatas.Instance.baseData.FamilyId > 0;
|
| | |
| | | case DailyQuestType.FairyTask:
|
| | | if (PlayerDatas.Instance.baseData.LV <= GeneralDefine.dailyQuestRedpointLevelLimit)
|
| | | {
|
| | | if (FuncOpen.Instance.IsFuncOpen(16) && PlayerDatas.Instance.baseData.FamilyId > 0
|
| | | && TaskAllocation.Instance.FairyAuAllNumber() < taskModel.FairyAuTaskCount_Day)
|
| | | if (FuncOpen.Instance.IsFuncOpen(16) |
| | | && TaskAllocation.Instance.FairyAuAllNumber() < taskModel.FairyAuTaskCount_Day)
|
| | | {
|
| | | dailyQuest.redpoint.state = RedPointState.Simple;
|
| | | }
|
| | |
| | | {
|
| | | var type = (DailyQuestType)_dailyQuestId;
|
| | | var dailyConfig = DailyQuestConfig.Get(_dailyQuestId);
|
| | | if (type == DailyQuestType.FairyFeast || type == DailyQuestType.FairyTask || type == DailyQuestType.FairyGrabBoss)
|
| | | if (type == DailyQuestType.FairyFeast || type == DailyQuestType.FairyGrabBoss)
|
| | | {
|
| | | if (PlayerDatas.Instance.fairyData.HasFairy)
|
| | | {
|
| | |
| | | public const string EQUIPSTRENGTH_REDPOINT = "EquipStrength_Redpoint";
|
| | | public const string SHIFTEQUIPREMIND1 = "ShiftEquipRemind1";
|
| | | public const string SHIFTEQUIPREMIND2 = "ShiftEquipRemind2";
|
| | | public const string DAILYREALMREDPOINT = "DailyRealmRedpoint";
|
| | |
|
| | | public Dictionary<string, int[]> dayRemindDic = new Dictionary<string, int[]>();
|
| | |
|
| | |
| | | SetDayRemind(EQUIPSTRENGTH_REDPOINT);
|
| | | SetDayRemind(SHIFTEQUIPREMIND1);
|
| | | SetDayRemind(SHIFTEQUIPREMIND2);
|
| | | SetDayRemind(DAILYREALMREDPOINT);
|
| | | }
|
| | |
|
| | | public void SetDayRemind(string _key)
|
| | |
| | | public class DungeonBossBriefInfoBehaviour : MonoBehaviour
|
| | | {
|
| | | [SerializeField] Button m_MoveTo;
|
| | |
|
| | | [SerializeField] Text m_Level;
|
| | | [SerializeField] Text m_RebornTime;
|
| | | [SerializeField] Text m_Alive;
|
| | | [SerializeField] Text m_RebornAtOnce;
|
| | | [SerializeField] Text m_Locked;
|
| | |
|
| | | [SerializeField] RebornRightNowBossInfoQuery m_BossInfoQuery;
|
| | |
|
| | | int bossId = 0;
|
| | |
| | |
|
| | | private void MoveToNpc()
|
| | | {
|
| | | var bossState = CalculateBossState();
|
| | | if (bossState == BossState.Locked)
|
| | | {
|
| | | var config = NPCConfig.Get(bossId);
|
| | | if (config != null)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("BossRealmHint2", config.Realm);
|
| | | }
|
| | | return;
|
| | | }
|
| | |
|
| | | if (PlayerDatas.Instance.hero != null)
|
| | | {
|
| | | PlayerDatas.Instance.hero.StopPathFind();
|
| | |
| | | if (!model.TryGetBossInfo(bossId, out bossInfo))
|
| | | {
|
| | | return BossState.None;
|
| | | }
|
| | |
|
| | | if (!model.IsBossUnlock(bossId))
|
| | | {
|
| | | return BossState.Locked;
|
| | | }
|
| | |
|
| | | var isAlive = bossInfo.IsBossAlive();
|
| | |
| | | m_Alive.SetActive(bossState == BossState.Alive);
|
| | | m_RebornTime.SetActive(bossState == BossState.Dead);
|
| | | m_RebornAtOnce.SetActive(bossState == BossState.RebornSoon);
|
| | | m_Locked.SetActive(bossState == BossState.Locked);
|
| | |
|
| | | if (bossState == BossState.Dead)
|
| | | {
|
| | |
| | | public enum BossState
|
| | | {
|
| | | None,
|
| | | Locked,
|
| | | Alive,
|
| | | Dead,
|
| | | RebornSoon,
|
| | |
| | | public ServerItem[] itemInfo;
|
| | | public ServerItem[] succItemInfo;
|
| | | public ServerItem[] AuctionItem;
|
| | | public ServerItem[] firstPassItem;
|
| | | public int[] xianyuanCoin;
|
| | | public int sp;
|
| | | public int startRewardLineID;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | if (dungeonNuwaModel.SatisfyChallengeFloor(result.lineID + 2))
|
| | | var satisfyChallengeNext = dungeonNuwaModel.SatisfyChallengeFloor(result.lineID + 2);
|
| | |
|
| | | if (satisfyChallengeNext &&
|
| | | (result.firstPassItem == null || result.firstPassItem.Length == 0))
|
| | | {
|
| | | m_ContainerReward.gameObject.SetActive(false);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_ContainerReward.gameObject.SetActive(true);
|
| | | m_ChallengeRemind.gameObject.SetActive(result.grade >= 5
|
| | | && result.lineID + 1 < dungeonNuwaModel.floorCount);
|
| | | m_ChallengeRemind.gameObject.SetActive(false);
|
| | | if (result.grade >= 5)
|
| | | {
|
| | | if (satisfyChallengeNext || result.lineID + 1 >= dungeonNuwaModel.floorCount)
|
| | | {
|
| | | if (result.firstPassItem != null && result.firstPassItem.Length > 0)
|
| | | {
|
| | | m_ChallengeRemind.gameObject.SetActive(true);
|
| | | m_ChallengeRemind.text = Language.Get("DungeonNuwaRemind2");
|
| | | m_ChallengeRemind.color = UIHelper.GetUIColor(TextColType.Green);
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | m_ChallengeRemind.gameObject.SetActive(true);
|
| | | m_ChallengeRemind.text = Language.Get("DungeonNuwaRemind1");
|
| | | m_ChallengeRemind.color = UIHelper.GetUIColor(TextColType.Red);
|
| | | }
|
| | | }
|
| | |
|
| | | DrawItemRewards();
|
| | |
|
| | | if (hasAssistPoint)
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | List<ServerItem> Serveritem = new List<ServerItem>();
|
| | | List<ServerItem> displayItems = new List<ServerItem>();
|
| | | protected override void DrawItemRewards()
|
| | | {
|
| | | Serveritem.Clear();
|
| | | var merged = false;
|
| | | displayItems.Clear();
|
| | |
|
| | | var serveritems = dungeonModel.dungeonResult.itemInfo;
|
| | | if (serveritems == null)
|
| | | if (serveritems != null && serveritems.Length > 0)
|
| | | {
|
| | | return;
|
| | | List<ServerItem> items = new List<ServerItem>(serveritems);
|
| | | items.Sort(Compare);
|
| | | displayItems.AddRange(items);
|
| | | }
|
| | | for (int i = 0; i < serveritems.Length; i++)
|
| | |
|
| | | var firstPassItems = dungeonModel.dungeonResult.firstPassItem;
|
| | | if (firstPassItems != null && firstPassItems.Length > 0)
|
| | | {
|
| | | Serveritem.Add(serveritems[i]);
|
| | | List<ServerItem> items = new List<ServerItem>(firstPassItems);
|
| | | items.Sort(Compare);
|
| | | displayItems.AddRange(items);
|
| | | }
|
| | | Serveritem.Sort(Compare);
|
| | | var hasReward = (serveritems != null && serveritems.Length > 0) || dungeonModel.specialItemCollectRecord.count > 0;
|
| | |
|
| | | var hasReward = displayItems.Count > 0;
|
| | |
|
| | | m_RewardIndexs.Clear();
|
| | | if (m_RewardTweens != null && m_RewardTweens.Length > 0)
|
| | |
| | | m_RewardTweens[i].SetEndState();
|
| | | }
|
| | | }
|
| | |
|
| | | m_ContainerReward.gameObject.SetActive(hasReward);
|
| | |
|
| | | if (Serveritem != null)
|
| | | if (displayItems != null)
|
| | | {
|
| | | var items = new List<ItemModel>();
|
| | | for (int i = 0; i < Serveritem.Count; i++)
|
| | | for (int i = 0; i < displayItems.Count; i++)
|
| | | {
|
| | | var serverItem = Serveritem[i];
|
| | | var serverItem = displayItems[i];
|
| | |
|
| | | var itemInfo = new ItemInfo();
|
| | | itemInfo.itemId = serverItem.ItemID;
|
| | | itemInfo.userData = serverItem.UserData;
|
| | | if (!merged && itemInfo.itemId == dungeonModel.specialItemCollectRecord.id)
|
| | | {
|
| | | itemInfo.count = serverItem.Count + dungeonModel.specialItemCollectRecord.count;
|
| | | merged = true;
|
| | | }
|
| | | else
|
| | | {
|
| | | itemInfo.count = serverItem.Count;
|
| | | }
|
| | | itemInfo.count = serverItem.Count;
|
| | |
|
| | | items.Add(new ItemModel(PackType.Item, itemInfo));
|
| | | }
|
| | |
| | | {
|
| | | behaviour.transform.parent.gameObject.SetActive(true);
|
| | | behaviour.gameObject.SetActive(false);
|
| | | behaviour.serverItem = Serveritem[i];
|
| | | behaviour.firstPassItem = serveritems == null || i >= serveritems.Length;
|
| | | behaviour.serverItem = displayItems[i];
|
| | | behaviour.Init(items[i]);
|
| | | m_RewardIndexs.Add(m_SpecialItemCollect == null ? i : i + 1);
|
| | | m_RewardIndexs.Add(i);
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | behaviour.gameObject.SetActive(false);
|
| | | }
|
| | | }
|
| | |
|
| | | if (m_SpecialItemCollect != null)
|
| | | {
|
| | | if (!merged && dungeonModel.specialItemCollectRecord.count > 0)
|
| | | {
|
| | | m_SpecialItemCollect.transform.parent.gameObject.SetActive(true);
|
| | | m_SpecialItemCollect.gameObject.SetActive(false);
|
| | | m_SpecialItemCollect.SetItem(dungeonModel.specialItemCollectRecord);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_SpecialItemCollect.transform.parent.gameObject.SetActive(false);
|
| | | m_SpecialItemCollect.gameObject.SetActive(false);
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | if (m_RewardIndexs.Count > 0 && m_RewardTweens != null && m_RewardTweens.Length > 0)
|
| | | {
|
| | |
| | | ItemConfig itemConfigx = ItemConfig.Get(x.ItemID);
|
| | | ItemConfig itemConfigy = ItemConfig.Get(y.ItemID);
|
| | | if (itemConfigx.ItemColor.CompareTo(itemConfigy.ItemColor) != 0)
|
| | | {
|
| | | return -itemConfigx.ItemColor.CompareTo(itemConfigy.ItemColor);
|
| | | }
|
| | | return 1;
|
| | | }
|
| | | }
|
| | |
| | | switch (currentDugeonId)
|
| | | {
|
| | | case JadeDynastyBossModel.JADEDYNASTY_MAP:
|
| | | if (jadeDynastyBossModel.IsAssistState())
|
| | | {
|
| | | mineValueText.text = string.Empty;
|
| | | }
|
| | | else
|
| | | {
|
| | | mineValueText.text = UIHelper.ReplaceLargeNum((ulong)hurt);
|
| | | }
|
| | | mineValueText.text = UIHelper.ReplaceLargeNum((ulong)hurt);
|
| | | break;
|
| | | default:
|
| | | if (mineRankText != null)
|
| | |
| | |
|
| | | private void DisplayAssistHurt()
|
| | | {
|
| | | if (jadeDynastyBossModel.IsAssistState())
|
| | | {
|
| | | mineRankText.text = Language.Get("JadeDynastyBossDungeon9");
|
| | | mineValueText.text = string.Empty;
|
| | | }
|
| | | else
|
| | | {
|
| | | mineRankText.text = Language.Get("DemonJar16");
|
| | | }
|
| | | mineRankText.text = Language.Get("DemonJar16");
|
| | | }
|
| | |
|
| | | private void SetDefault()
|
| | |
| | |
|
| | | public class DungeonRewardItem : CommonItemBaisc
|
| | | {
|
| | | [SerializeField] UIEffect m_FirstPass;
|
| | | public ServerItem serverItem { get; set; }
|
| | | public bool firstPassItem { get; set; }
|
| | |
|
| | |
|
| | | UIEffect itemColorSfx = null;
|
| | |
| | | {
|
| | | button.AddListener(ShowItemTip);
|
| | | RequestSfx();
|
| | | RequestFirstPassSfx();
|
| | | }
|
| | |
|
| | | private void OnDisable()
|
| | |
| | | itemColorSfx = null;
|
| | | }
|
| | | }
|
| | |
|
| | | private void RequestFirstPassSfx()
|
| | | {
|
| | | if (firstPassItem && m_FirstPass != null)
|
| | | {
|
| | | m_FirstPass.Play();
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | |
| | | public EquipAppearance GetAppearance() |
| | | { |
| | | var level = PlayerDatas.Instance.baseData.equipShowSwitch / 10; |
| | | var level = PlayerDatas.Instance.baseData.suitLevel; |
| | | var isSuit = PlayerDatas.Instance.baseData.equipShowSwitch % 10 > 0; |
| | | |
| | | var appearance = GetAppearance((int)level); |
| | |
| | | case PlayerDataType.EquipShowSwitch: |
| | | UpdateAppearanceState(selectedLevel.value); |
| | | |
| | | var level = (int)PlayerDatas.Instance.baseData.equipShowSwitch / 10; |
| | | var level = (int)PlayerDatas.Instance.baseData.suitLevel; |
| | | if (level != 0 && level == selectedLevel.value) |
| | | { |
| | | var equipSet = GetEquipSet(level); |
| | |
| | | equipDirty = true; |
| | | } |
| | | |
| | | if (clientPlace.x == PlayerDatas.Instance.baseData.equipShowSwitch / 10) |
| | | if (clientPlace.x == PlayerDatas.Instance.baseData.suitLevel) |
| | | { |
| | | if (appearanceChangeEvent != null) |
| | | { |
| | |
| | | |
| | | private void UpdateAppearanceState(int level) |
| | | { |
| | | isAppearanceLevel.value = level == PlayerDatas.Instance.baseData.equipShowSwitch / 10; |
| | | isAppearanceLevel.value = level == PlayerDatas.Instance.baseData.suitLevel; |
| | | } |
| | | |
| | | private void UpdateSuitPlaces(int level, int star) |
| | |
| | | |
| | | var titleIcon = oneLevelFrame.GetComponent<Image>("Container_BackGround/Img_Title"); |
| | | titleIcon.SetSprite("OneLevelTitle_30"); |
| | | titleIcon.SetNativeSize(); |
| | | |
| | | m_LevelsContainer = oneLevelFrame.GetComponent<RectTransform>("Container_Functions/Content"); |
| | | m_Close = oneLevelFrame.GetComponent<Button>("Container_Buttons/Btn_Close"); |
| | |
| | | m_Hint.gameObject.SetActive(isUnLocked && !hasMaterial); |
| | | if (hasMaterial) |
| | | { |
| | | m_Empty.gameObject.SetActive(false); |
| | | var item = packModel.GetItemByGuid(material); |
| | | m_Item.gameObject.SetActive(true); |
| | | m_Item.SetItem(item.itemId, 1); |
| | | if (item != null) |
| | | { |
| | | m_Empty.gameObject.SetActive(false); |
| | | m_Item.gameObject.SetActive(true); |
| | | m_Item.SetItem(item.itemId, 1); |
| | | } |
| | | else |
| | | { |
| | | m_Item.gameObject.SetActive(false); |
| | | m_Empty.gameObject.SetActive(true); |
| | | } |
| | | } |
| | | else |
| | | { |
| | |
| | | [SerializeField] Text _ReceiveImageText;//领奖倒计时2
|
| | | [SerializeField] Transform m_GridLeft;//左侧奖励
|
| | | [SerializeField] Slider m_Slider;//进度条
|
| | | [SerializeField] UIEffect m_LeaveBtnEffect;
|
| | | [SerializeField] Text m_LeaveText;
|
| | |
|
| | | [Header("等待时间(秒)")]
|
| | | public int Second = 20;
|
| | |
| | |
|
| | | void FairyAuTask(int _taskID)//仙盟任务
|
| | | {
|
| | |
|
| | | if (TaskAllocation.Instance.FairyAuNumber() >= taskmodel.FairyAuTaskCount_Round)
|
| | | {
|
| | | Btn_Leave.gameObject.SetActive(false);
|
| | |
| | | string _RewardStr = TaskAllocation.Instance.GetTaskInfo(rewardConfig.show_writing, _taskID);
|
| | | RewardAnalysis.Inst.GetReward(_RewardStr, ref rewardList);
|
| | | RewardInformationDisplay(rewardList);
|
| | | m_LeaveText.text = Language.Get("CoinTaskText_8");
|
| | | }
|
| | |
|
| | | void TheDefaultTask(int _taskID)//仙盟任务未接取特殊状态
|
| | | {
|
| | | m_LeaveBtnEffect.Play();
|
| | | m_LeaveText.text = Language.Get("CoinTaskText_11");
|
| | | Btn_Finish.gameObject.SetActive(false);
|
| | | Btn_Leave.gameObject.SetActive(true);
|
| | | RoundText_L.text = Language.Get("FairyAuTaskWin_Text3", SetNumberOfRounds(0));
|
| | |
| | | DestroyImmediate(_Grid.GetChild(i).gameObject);
|
| | | }
|
| | | }
|
| | | m_LeaveText.text = Language.Get("CoinTaskText_8");
|
| | | }
|
| | | void RewardInformationDisplay(List<RewardAnalysis.RewardInfo> rewardList)//奖励信息
|
| | | {
|
| | |
| | | ServerTipDetails.DisplayNormalTip(Language.Get("L1019")); |
| | | return; |
| | | } |
| | | if (PlayerDatas.Instance.baseData.LV < model.changeNotifyLevelLimit)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("jiazu_pan_592935", model.changeNotifyLevelLimit);
|
| | | return;
|
| | | } |
| | | WindowCenter.Instance.Open<FairyChangeTipWin>(); |
| | | } |
| | | |
| | |
| | | [XLua.LuaCallCSharp]
|
| | | public class FairyModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
|
| | | {
|
| | | public int changeNotifyLevelLimit { get; private set; }
|
| | |
|
| | | DungeonModel dungeonModel { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } }
|
| | | FairyBossModel fairyBossModel { get { return ModelCenter.Instance.GetModel<FairyBossModel>(); } }
|
| | |
|
| | |
| | | fairyMethodToLimit = int.Parse(config.Numerical1);
|
| | | config = FuncConfigConfig.Get("FamilyMatchSet");
|
| | | fairyLeagueLimit = int.Parse(config.Numerical1);
|
| | | config = FuncConfigConfig.Get("FamilyPurview");
|
| | | changeNotifyLevelLimit = int.Parse(config.Numerical2);
|
| | | }
|
| | |
|
| | | public static string GetFairyGradeLabel(int rank)
|
| | |
| | | {
|
| | | alive = true;
|
| | | m_Exp.transform.localScale = Vector3.zero;
|
| | | m_Exp.text = StringUtility.Contact("EXP+", exp);
|
| | | m_Exp.text = StringUtility.Contact("+$", exp);
|
| | | m_Animation.Play();
|
| | | overLifeTime = Time.time + 2.0f;
|
| | | }
|
| | |
| | | int fashionClothes = _leaderData.GetItemId(RoleEquipType.FashionClothes);
|
| | | int fashionWeapon = _leaderData.GetItemId(RoleEquipType.FashionWeapon);
|
| | | int fashionWeapon2 = _leaderData.GetItemId(RoleEquipType.FashionWeapon2);
|
| | | var reikiRootEffectId = _leaderData.rolePropData.EquipShowSwitch / 1000 % 1000;
|
| | |
|
| | | var data = new UI3DPlayerExhibitionData
|
| | | {
|
| | |
| | | weaponId = weapon,
|
| | | wingsId = wing,
|
| | | secondaryId = weapon2,
|
| | | reikiRootEffectId = (int)reikiRootEffectId,
|
| | | isDialogue = false,
|
| | | };
|
| | |
|
| | |
| | | _DicRedBag.Remove(list[i].RedPacketID); |
| | | } |
| | | } |
| | | IsRedBagGet(); |
| | | } |
| | | } |
| | | public void RedEnvelopeInfo(HA404_tagGCFamilyRedPacketInfo info)//家族红包总信息 |
| | |
| | | |
| | | public void IsRedBagGet() |
| | | { |
| | | IsRedBagGetBool = false; |
| | | var existUnGetRedpack = false; |
| | | foreach (var value in _DicRedBag.Values) |
| | | { |
| | | if (!IsDisplayInFamily(value.GetWay)) |
| | |
| | | } |
| | | if (value.State == 1) |
| | | { |
| | | IsRedBagGetBool = true; |
| | | existUnGetRedpack = true; |
| | | break; |
| | | } |
| | | } |
| | | if (IsRedBagGetBool) |
| | | if (IsRedBagGetBool != existUnGetRedpack) |
| | | { |
| | | IsRedBagGetBool = existUnGetRedpack; |
| | | if (OnRedBagGetEvent != null) |
| | | { |
| | | OnRedBagGetEvent(); |
| | |
| | | }
|
| | | }
|
| | |
|
| | | int m_BoughtTimes = 0;
|
| | | public int boughtTimes {
|
| | | get { return m_BoughtTimes; }
|
| | | set {
|
| | | m_BoughtTimes = value;
|
| | | UpdateRedpoint();
|
| | | if (boughtTimeChangeEvent != null)
|
| | | {
|
| | | boughtTimeChangeEvent();
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | public int remindTimes {
|
| | | get {
|
| | | var wearyValueLimit = vipModel.GetVipPrivilegeCnt(VipPrivilegeType.BossHomeAwardLimit);
|
| | | return wearyValueLimit + boughtTimes - wearyValue;
|
| | | }
|
| | | }
|
| | |
|
| | | public event Action<int> bossHomeFloorSelectedEvent;
|
| | | public event Action<int> bossSelectedEvent;
|
| | | public event Action bossWearyValueChangeEvent;
|
| | | public event Action boughtTimeChangeEvent;
|
| | |
|
| | | public Redpoint bossHomeRedpoint = new Redpoint(FindPreciousModel.FINDPRECIOUS_REDPOINTID, BOSSHOME_REDPOINT);
|
| | | Dictionary<int, BossHomeData> bossHomes = new Dictionary<int, BossHomeData>();
|
| | |
| | | {
|
| | | var bossId = sortedBosses[i];
|
| | | var bossHomeConfig = BossHomeConfig.Get(bossId);
|
| | | if (findPreciousModel.IsBossUnlock(bossId) |
| | | if (findPreciousModel.IsBossUnlock(bossId)
|
| | | && vipLevel >= GetFloorVipRequirement(bossHomeConfig.FloorNum))
|
| | | {
|
| | | return bossHomeConfig.FloorNum;
|
| | |
| | |
|
| | | private void UpdateRedpoint()
|
| | | {
|
| | | var count = vipModel.GetVipPrivilegeCnt(VipPrivilegeType.BossHomeAwardLimit) - m_WearyValue;
|
| | | var count = remindTimes;
|
| | | bossHomeRedpoint.count = count;
|
| | | bossHomeRedpoint.state = count > 0 ? RedPointState.Quantity : RedPointState.None;
|
| | | }
|
| | |
| | | m_FloorGroup.Init();
|
| | | m_Vip.text = StringUtility.Contact("V", model.GetFloorVipRequirement(model.selectedFloor));
|
| | |
|
| | | var wearyValueLimit = vipModel.GetVipPrivilegeCnt(VipPrivilegeType.BossHomeAwardLimit);
|
| | | m_WearyContainer.gameObject.SetActive(wearyValueLimit > 0);
|
| | | if (wearyValueLimit > 0)
|
| | | {
|
| | | m_WearyValue.text = Language.Get("WorldBoss_Endurance0", wearyValueLimit - model.wearyValue);
|
| | | m_WearyValue.colorType = model.wearyValue >= wearyValueLimit ? TextColType.Red : TextColType.DarkGreen;
|
| | | }
|
| | | DisplayRemindTimes();
|
| | | }
|
| | |
|
| | | protected override void OnAfterOpen()
|
| | | {
|
| | | model.bossSelectedEvent += OnBossSelected;
|
| | | model.bossHomeFloorSelectedEvent += OnFloorSelected;
|
| | | model.boughtTimeChangeEvent += DisplayRemindTimes;
|
| | | findPreciousModel.bossSubscribeChangeEvent += OnSubscribeBoss;
|
| | | }
|
| | |
|
| | |
| | | m_FloorGroup.UnInit();
|
| | | model.bossSelectedEvent -= OnBossSelected;
|
| | | model.bossHomeFloorSelectedEvent -= OnFloorSelected;
|
| | | model.boughtTimeChangeEvent -= DisplayRemindTimes;
|
| | | findPreciousModel.bossSubscribeChangeEvent -= OnSubscribeBoss;
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void DisplayRemindTimes()
|
| | | {
|
| | | var wearyValueLimit = vipModel.GetVipPrivilegeCnt(VipPrivilegeType.BossHomeAwardLimit);
|
| | | m_WearyContainer.gameObject.SetActive(wearyValueLimit > 0);
|
| | | if (wearyValueLimit > 0)
|
| | | {
|
| | | var countInfo = string.Format("{0}/{1}", model.remindTimes, wearyValueLimit);
|
| | | m_WearyValue.text = countInfo;
|
| | | m_WearyValue.colorType = model.remindTimes <= 0 ? TextColType.Red : TextColType.DarkGreen;
|
| | | }
|
| | | }
|
| | |
|
| | | private void DisplayGotoKillButton(int bossId)
|
| | | {
|
| | | }
|
| | |
| | | public bool incidentDirty { get; set; }
|
| | |
|
| | | public int openActviePoint { get; private set; }
|
| | | public int autoOpenLimitLevel { get; private set; }
|
| | |
|
| | | int m_SelectIncident;
|
| | | public int selectIncident
|
| | |
| | | HazyGrassModel hazyGrassModel { get { return ModelCenter.Instance.GetModel<HazyGrassModel>(); } }
|
| | | TaskModel taskModel { get { return ModelCenter.Instance.GetModel<TaskModel>(); } }
|
| | | FindPreciousModel findPreciousModel { get { return ModelCenter.Instance.GetModel<FindPreciousModel>(); } }
|
| | | CrossServerOneVsOneModel crossServerOneVsOneModel { get { return ModelCenter.Instance.GetModel<CrossServerOneVsOneModel>(); } }
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | |
| | |
|
| | | private void OnExitAdventureStage()
|
| | | {
|
| | | SnxxzGame.Instance.StartCoroutine(Co_TryOpenHazyRegionWin());
|
| | | if (PlayerDatas.Instance.baseData.LV > autoOpenLimitLevel)
|
| | | {
|
| | | SnxxzGame.Instance.StartCoroutine(Co_TryOpenHazyRegionWin());
|
| | | }
|
| | | //WindowCenter.Instance.Close<HazyAdventureHintWin>();
|
| | | //taskModel.AutomaticTripToTask(taskModel.currentMission);
|
| | | }
|
| | |
| | | var mapId = PlayerDatas.Instance.baseData.MapID;
|
| | | if (!MapUtility.IsDungeon(mapId))
|
| | | {
|
| | | if (IsIncidentDungeon(cacheMapId))
|
| | | if (PlayerDatas.Instance.baseData.LV > autoOpenLimitLevel
|
| | | && IsIncidentDungeon(cacheMapId))
|
| | | {
|
| | | SnxxzGame.Instance.StartCoroutine(Co_TryOpenHazyRegionWin());
|
| | | }
|
| | |
| | |
|
| | | funcConfig = FuncConfigConfig.Get("ImmortalDomainActivePoint");
|
| | | openActviePoint = int.Parse(funcConfig.Numerical2);
|
| | |
|
| | | funcConfig = FuncConfigConfig.Get("HazyRegionAutoOpen");
|
| | | autoOpenLimitLevel = int.Parse(funcConfig.Numerical1);
|
| | | }
|
| | |
|
| | | public bool TryGetIncident(int id, out Incident incident)
|
| | |
| | | if (CrossServerUtility.IsCrossServer())
|
| | | {
|
| | | error = 1;
|
| | | return false;
|
| | | }
|
| | | if (crossServerOneVsOneModel.IsMatching)
|
| | | {
|
| | | error = 8;
|
| | | return false;
|
| | | }
|
| | | var mapId = PlayerDatas.Instance.baseData.MapID;
|
| | |
| | | case 7:
|
| | | SysNotifyMgr.Instance.ShowTip("Boss_Leave");
|
| | | break;
|
| | | case 8:
|
| | | SysNotifyMgr.Instance.ShowTip("CrossOneVsOneMatching");
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | |
|
| | | public event Action<int> selectBossRefresh;
|
| | | public event Action bossLineRefresh;
|
| | | public event Action assistTimeRefresh;
|
| | | public event Action jadeDynastyScoreRefresh;
|
| | |
|
| | | public int challengeLimitCount { get; private set; }
|
| | | public int challengeTimes { get; private set; }
|
| | | public int assistTimes { get; private set; }
|
| | |
|
| | | int m_SelectBossId = 0;
|
| | | public int selectBossId
|
| | |
| | | {
|
| | | jadeDynastyBossLineDict.Clear();
|
| | | challengeTimes = 0;
|
| | | assistTimes = 0;
|
| | | }
|
| | |
|
| | | public void OnAfterPlayerDataInitialize()
|
| | |
| | | return true;
|
| | | }
|
| | |
|
| | | public bool IsAssistState()
|
| | | {
|
| | | var totalTimes = dungeonModel.GetTotalTimes(JADEDYNASTY_MAP);
|
| | | var enterTimes = dungeonModel.GetEnterTimes(JADEDYNASTY_MAP);
|
| | | if (enterTimes >= totalTimes && assistTimes > 0)
|
| | | {
|
| | | return true;
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
|
| | | public List<int> GetJadeDynastyBosses()
|
| | | {
|
| | | List<int> list = new List<int>();
|
| | |
| | |
|
| | | var totalTimes = dungeonModel.GetTotalTimes(JADEDYNASTY_MAP);
|
| | | var enterTimes = dungeonModel.GetEnterTimes(JADEDYNASTY_MAP);
|
| | | if (enterTimes >= totalTimes && assistTimes <= 0)
|
| | | if (enterTimes >= totalTimes)
|
| | | {
|
| | | error = 4;
|
| | | return false;
|
| | |
| | | {
|
| | | bossLineRefresh();
|
| | | }
|
| | | }
|
| | |
|
| | | public void OnReceivePackage(HB212_tagMCZhuXianBossCnt package)
|
| | | {
|
| | | assistTimes = package.Cnt;
|
| | | if (assistTimeRefresh != null)
|
| | | {
|
| | | assistTimeRefresh();
|
| | | }
|
| | | UpdateRedpoint();
|
| | | }
|
| | |
|
| | | public static int SortCompare(JadeDynastyBossData lhs, JadeDynastyBossData rhs)
|
| | |
| | | if (existAnyChallengeable)
|
| | | {
|
| | | var count = dungeonModel.GetTotalTimes(JADEDYNASTY_MAP) - dungeonModel.GetEnterTimes(JADEDYNASTY_MAP);
|
| | | redpoint.count = count + assistTimes;
|
| | | redpoint.count = count;
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | [SerializeField] NewDropItemTrigger m_NewDrop;
|
| | | [SerializeField] ItemCell[] m_Items;
|
| | | [SerializeField] Text m_ChallengeTimes;
|
| | | [SerializeField] Text m_AssistTimes;
|
| | | [SerializeField] Text m_JadeDynastyScore;
|
| | | [SerializeField] Button m_BuyTimes;
|
| | | [SerializeField] Transform m_SurpassLevel;
|
| | |
| | | findPreciousModel.bossSubscribeChangeEvent += DisplaySubscribe;
|
| | | findPreciousModel.bossInfoUpdateEvent += BossInfoUpdateEvent;
|
| | | model.bossLineRefresh += BossLineRefresh;
|
| | | model.assistTimeRefresh += AssistTimeRefresh;
|
| | | model.jadeDynastyScoreRefresh += JadeDynastyScoreRefresh;
|
| | | }
|
| | |
|
| | |
| | | findPreciousModel.bossSubscribeChangeEvent -= DisplaySubscribe;
|
| | | findPreciousModel.bossInfoUpdateEvent -= BossInfoUpdateEvent;
|
| | | model.bossLineRefresh -= BossLineRefresh;
|
| | | model.assistTimeRefresh -= AssistTimeRefresh;
|
| | | model.jadeDynastyScoreRefresh -= JadeDynastyScoreRefresh;
|
| | |
|
| | | refreshBossStateTime = -1f;
|
| | |
| | | DisplaySubscribe(model.selectBossId);
|
| | | DisplayKillRecord();
|
| | | DisplayBelongTo();
|
| | | DisplayAssistTimes();
|
| | | DisplayJadeDynastyScore();
|
| | | }
|
| | |
|
| | |
| | | var enterTimes = dungeonModel.GetEnterTimes(JadeDynastyBossModel.JADEDYNASTY_MAP);
|
| | |
|
| | | m_ChallengeTimes.text = StringUtility.Contact(totalTimes - enterTimes, "/", model.challengeLimitCount);
|
| | | }
|
| | |
|
| | | public void DisplayAssistTimes()
|
| | | {
|
| | | m_AssistTimes.text = model.assistTimes.ToString();
|
| | | }
|
| | |
|
| | | void DisplayDropItems()
|
| | |
| | | private void BossLineRefresh()
|
| | | {
|
| | | DisplayBelongTo();
|
| | | }
|
| | |
|
| | | private void AssistTimeRefresh()
|
| | | {
|
| | | DisplayAssistTimes();
|
| | | }
|
| | |
|
| | | private void ChallengeTimesRefresh()
|
| | |
| | | using UnityEngine.UI;
|
| | |
|
| | | using System.Collections.Generic;
|
| | | using System;
|
| | |
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
| | | [SerializeField] public RawImage modelImg;
|
| | | [SerializeField] public Text fightPowerText;
|
| | | [SerializeField] public Image fightImg;
|
| | | [SerializeField] Button m_ViewSkill;
|
| | |
|
| | | int displayId = 0;
|
| | |
|
| | | ModelShowType showType;
|
| | | FashionDressModel fashionDressModel { get { return ModelCenter.Instance.GetModel<FashionDressModel>(); } }
|
| | | ItemTipsModel tipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
|
| | |
|
| | | private void Awake()
|
| | | {
|
| | | if (m_ViewSkill != null)
|
| | | {
|
| | | m_ViewSkill.onClick.AddListener(OnViewSkill);
|
| | | }
|
| | | }
|
| | |
|
| | | public void OnDisable()
|
| | | {
|
| | |
| | | {
|
| | | titleText.text = title;
|
| | | this.showType = showType;
|
| | | |
| | |
|
| | | if (m_ViewSkill != null)
|
| | | {
|
| | | m_ViewSkill.gameObject.SetActive(false);
|
| | | }
|
| | |
|
| | | switch (showType)
|
| | | {
|
| | | case ModelShowType.Treasure:
|
| | | displayId = id;
|
| | | if (m_ViewSkill != null)
|
| | | {
|
| | | m_ViewSkill.gameObject.SetActive(id == 304);
|
| | | }
|
| | | fightImg.SetSprite("FightingLv_Normal");
|
| | | UI3DTreasureExhibition.Instance.ShowTreasure(id, modelImg);
|
| | | break;
|
| | |
| | | return data;
|
| | | }
|
| | |
|
| | | private void OnViewSkill()
|
| | | {
|
| | | WindowCenter.Instance.uiRoot.uicamera.gameObject.SetActive(false);
|
| | | CameraController.Instance.CameraObject.gameObject.SetActive(false);
|
| | |
|
| | | UI3DHeroSkillShow.Instance.ShowTreasureSkill(displayId, () =>
|
| | | {
|
| | | WindowCenter.Instance.uiRoot.uicamera.gameObject.SetActive(true);
|
| | | CameraController.Instance.CameraObject.gameObject.SetActive(true);
|
| | | });
|
| | | }
|
| | | }
|
| | |
|
| | | public enum ModelShowType
|
| | |
| | | show = !GeneralDefine.worldBossNoRebornRemindMaps.Contains(mapId);
|
| | | break;
|
| | | case FindPreciousType.BossHome:
|
| | | killable = bossHomeModel.wearyValue < vipModel.GetVipPrivilegeCnt(VipPrivilegeType.BossHomeAwardLimit);
|
| | | killable = bossHomeModel.remindTimes > 0;
|
| | | show = !GeneralDefine.bossHomeNoRebornRemindMaps.Contains(mapId);
|
| | | break;
|
| | | case FindPreciousType.ElderGodArea:
|
| | |
| | | {
|
| | | WindowCenter.Instance.Open<SkillWin>();
|
| | | }
|
| | | else if (skillModel.redpoint.state == RedPointState.Simple)
|
| | | {
|
| | | WindowCenter.Instance.Open<SkillWin>(false, 1);
|
| | | }
|
| | | else if (skillModel.passSkillRedpoint.state == RedPointState.Simple)
|
| | | {
|
| | | WindowCenter.Instance.Open<SkillWin>(false, 2);
|
| | |
| | | using System.Collections.Generic;
|
| | | using System;
|
| | |
|
| | | namespace Snxxz.UI {
|
| | | namespace Snxxz.UI
|
| | | {
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | | public class MainRedDot : Singleton<MainRedDot> {
|
| | |
|
| | |
|
| | | public class MainRedDot : Singleton<MainRedDot>
|
| | | {
|
| | | public const int RedPoint_key = 1;
|
| | | public const int FAIRY_REDPOINT_KEY1 = 107;
|
| | | public const int RedPoint_key1 = 106;
|
| | | public const int RedPoint_UpFuncBase = 2;
|
| | | public const int RedPoint_VipDot = 35;//VIP界面
|
| | |
|
| | | private Redpoint redPointStrePrentOne = new Redpoint(RedPoint_key);
|
| | | private Redpoint redPointStrePrent = new Redpoint(RedPoint_key,RedPoint_key1);
|
| | | private Redpoint redpointUpFuncBase = new Redpoint(RedPoint_UpFuncBase);
|
| | | private Redpoint welfareRedPoint = new Redpoint(RedPoint_UpFuncBase, 201);
|
| | | private Redpoint rightTopRedpint = new Redpoint(RedPoint_UpFuncBase);
|
| | | private Redpoint redPointStrePrent = new Redpoint(RedPoint_key, RedPoint_key1);
|
| | | private Redpoint welfareRedPoint = new Redpoint(201);
|
| | | private Redpoint realmRedpoint = new Redpoint(114);
|
| | | private Redpoint redPointVipDot = new Redpoint(RedPoint_VipDot);
|
| | |
|
| | |
| | | public const int RedPoint_BagFuncKey = 10201;
|
| | | public const int RedPoint_DepotFuncKey = 10204;
|
| | | public Redpoint redPointMainPack = new Redpoint(RedPoint_MainPackKey);
|
| | | public Redpoint redPointBagFunc = new Redpoint(RedPoint_MainPackKey,RedPoint_BagFuncKey);
|
| | | public Redpoint redPointBagFunc = new Redpoint(RedPoint_MainPackKey, RedPoint_BagFuncKey);
|
| | | public Redpoint redPointDepotFunc = new Redpoint(RedPoint_MainPackKey, RedPoint_DepotFuncKey);
|
| | | #endregion
|
| | |
|
| | | #region 洗炼红点
|
| | | public const int RedPoint_WashFuncKey = 10605;
|
| | | public Redpoint redPointWashFunc = new Redpoint(RedPoint_key1,RedPoint_WashFuncKey);
|
| | | public Redpoint redPointWashFunc = new Redpoint(RedPoint_key1, RedPoint_WashFuncKey);
|
| | | #endregion
|
| | |
|
| | | #region 套装红点
|
| | |
| | | #endregion
|
| | |
|
| | | #region 仙盟公用红点
|
| | | public const int FAIRY_REDPOINT_KEY2 = 10701; |
| | | public const int FAIRY_REDPOINT_KEY2 = 10701;
|
| | | public Redpoint fairyLaunch = new Redpoint(RedPoint_key, FAIRY_REDPOINT_KEY1);
|
| | | public Redpoint fairyBaseFuncRedPoint = new Redpoint(FAIRY_REDPOINT_KEY1, FAIRY_REDPOINT_KEY2);
|
| | | #endregion
|
| | |
| | | #endregion
|
| | |
|
| | | #region 仙盟活动红点
|
| | | public readonly Redpoint fairyActivityRedpoint = new Redpoint(2, 218);
|
| | | public readonly Redpoint fairyActivityRedpoint = new Redpoint(218);
|
| | | #endregion
|
| | |
|
| | | public void Register()
|
| | | {
|
| | | RedpointCenter.Instance.redpointValueChangeEvent -= OnRedpointChange;
|
| | | RedpointCenter.Instance.redpointValueChangeEvent += OnRedpointChange;
|
| | | }
|
| | |
|
| | | List<int> rightTopHideRedpoints = new List<int>()
|
| | | {
|
| | | 22,
|
| | | 37,
|
| | | 201,
|
| | | 203,
|
| | | 210,
|
| | | 212,
|
| | | 214,
|
| | | 216,
|
| | | 218,
|
| | | };
|
| | |
|
| | | private void OnRedpointChange(int id)
|
| | | {
|
| | | if (rightTopHideRedpoints.Contains(id))
|
| | | {
|
| | | var redpiontState = RedPointState.None;
|
| | | for (int i = 0; i < rightTopHideRedpoints.Count; i++)
|
| | | {
|
| | | var redpointId = rightTopHideRedpoints[i];
|
| | | if (RedpointCenter.Instance.GetRedpointState(redpointId) != RedPointState.None)
|
| | | {
|
| | | redpiontState = RedPointState.Simple;
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | rightTopRedpint.state = redpiontState;
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
| | |
|
| | | public DateTime expStartTime { get; private set; }
|
| | |
|
| | | int realmPoolRedpointPercent = 100;
|
| | |
|
| | | UIEffect realmEffect;
|
| | | int realmEffectCount = 0;
|
| | |
|
| | |
| | | public readonly Redpoint levelUpRedpoint = new Redpoint(114, 11401);
|
| | | public readonly Redpoint challengeRedpoint = new Redpoint(114, 11402);
|
| | | public readonly Redpoint realmPoolRedpoint = new Redpoint(114, 11403);
|
| | | public readonly Redpoint realmDailyRedpoint = new Redpoint(114, 11404);
|
| | |
|
| | | int m_SelectRealm = 0;
|
| | | public int selectRealm
|
| | |
| | |
|
| | | funcConfig = FuncConfigConfig.Get("RealmEqiupDisplayLevel");
|
| | | realmEquipDisplayLevel = int.Parse(funcConfig.Numerical1);
|
| | | realmPoolRedpointPercent = int.Parse(funcConfig.Numerical2);
|
| | |
|
| | | funcConfig = FuncConfigConfig.Get("LVUPAddPoint");
|
| | | realmLevelUpReikiPoint = int.Parse(funcConfig.Numerical3);
|
| | |
| | | WindowCenter.Instance.Open<RealmTransitionWin>();
|
| | | }
|
| | |
|
| | | public void SetDayRemind()
|
| | | {
|
| | | if (realmDailyRedpoint.state == RedPointState.Simple)
|
| | | {
|
| | | DayRemind.Instance.SetDayRemind(DayRemind.DAILYREALMREDPOINT, true);
|
| | | RefreshRedpoint();
|
| | | }
|
| | | }
|
| | |
|
| | | void RefreshRedpoint()
|
| | | {
|
| | | var levelUpable = false;
|
| | | var challengeable = false;
|
| | | var dailyRedpointable = false;
|
| | |
|
| | | if (FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Realm))
|
| | | {
|
| | |
| | | levelUpable = true;
|
| | | }
|
| | | }
|
| | |
|
| | | if (realmLevel >= realmPoolOpenLevel)
|
| | | {
|
| | | if (!DayRemind.Instance.GetDayRemind(DayRemind.DAILYREALMREDPOINT))
|
| | | {
|
| | | dailyRedpointable = true;
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | levelUpRedpoint.state = levelUpable ? RedPointState.Simple : RedPointState.None;
|
| | | challengeRedpoint.state = challengeable ? RedPointState.Simple : RedPointState.None;
|
| | | realmDailyRedpoint.state = dailyRedpointable ? RedPointState.Simple : RedPointState.None;
|
| | |
|
| | | RefreshRealmPoolRedpoint();
|
| | | }
|
| | |
| | | if (realmLevel >= realmPoolOpenLevel)
|
| | | {
|
| | | var config = RealmConfig.Get(PlayerDatas.Instance.baseData.realmLevel);
|
| | | if (totalExp >= config.expLimit)
|
| | | if (totalExp >= config.expLimit * (realmPoolRedpointPercent / 100f))
|
| | | {
|
| | | isPoolFull = true;
|
| | | }
|
| | |
| | | cacheRealmLevel = PlayerDatas.Instance.baseData.realmLevel;
|
| | | cacheFightPower = PlayerDatas.Instance.baseData.FightPoint;
|
| | | customUpPower = 0;
|
| | |
|
| | | model.SetDayRemind();
|
| | | }
|
| | |
|
| | | protected override void OnActived()
|
| | |
| | | Dictionary<int, Dictionary<int, List<ReikiQualityProperty>>> m_PromotePropertyValues = new Dictionary<int, Dictionary<int, List<ReikiQualityProperty>>>();
|
| | | Dictionary<int, int> m_ReikiPropertyValues = new Dictionary<int, int>();
|
| | | Dictionary<int, Dictionary<int, List<ReikiPointProperty>>> m_ReikiPointPropertys = new Dictionary<int, Dictionary<int, List<ReikiPointProperty>>>();
|
| | | Dictionary<int, List<int>> m_PreLimitReikiRoots = new Dictionary<int, List<int>>(); |
| | | Dictionary<int, List<int>> m_PreLimitReikiRoots = new Dictionary<int, List<int>>();
|
| | | Dictionary<int, List<int>> m_AfterLimitReikiRoots = new Dictionary<int, List<int>>();
|
| | |
|
| | | public Dictionary<int, int> lastReikiRootPoints = new Dictionary<int, int>();
|
| | | public Dictionary<int, int> afterReikiRootPoints = new Dictionary<int, int>();
|
| | |
| | |
|
| | | public int reikiPointAutoAddLevel { get; private set; }
|
| | | public int levelUpAddPoint { get; private set; }
|
| | | public int afterReikiRootLimitLevel { get; private set; }
|
| | |
|
| | | public TitleAddPoint titleAddPoint { get; private set; }
|
| | |
|
| | |
| | | public event Action onCacheFreePointRefresh;
|
| | | public event Action onReikiRootPointRefresh;
|
| | | public event Action<int> onReikiRootPointReset;
|
| | | public event Action onReikiRootEffectRefresh;
|
| | |
|
| | | TreasureModel treasureModel { get { return ModelCenter.Instance.GetModel<TreasureModel>(); } }
|
| | | TreasureSkillModel treasureSkillModel { get { return ModelCenter.Instance.GetModel<TreasureSkillModel>(); } }
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | |
| | | m_PreLimitReikiRoots.Add(job, new List<int>(LitJson.JsonMapper.ToObject<int[]>(json[jobKey].ToJson())));
|
| | | }
|
| | | resetReikiLimitLevel = int.Parse(funcConfig.Numerical2);
|
| | |
|
| | | json = LitJson.JsonMapper.ToObject(funcConfig.Numerical3);
|
| | | foreach (var jobKey in json.Keys)
|
| | | {
|
| | | var job = int.Parse(jobKey);
|
| | | m_AfterLimitReikiRoots.Add(job, new List<int>(LitJson.JsonMapper.ToObject<int[]>(json[jobKey].ToJson())));
|
| | | }
|
| | | afterReikiRootLimitLevel = int.Parse(funcConfig.Numerical4);
|
| | |
|
| | | funcConfig = FuncConfigConfig.Get("TitleAddPoint");
|
| | | titleAddPoint = new TitleAddPoint()
|
| | |
| | |
|
| | | public bool IsPreReikiRoot(int id)
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV >= resetReikiLimitLevel)
|
| | | {
|
| | | return true;
|
| | | }
|
| | | var job = PlayerDatas.Instance.baseData.Job;
|
| | | if (m_PreLimitReikiRoots.ContainsKey(job))
|
| | | {
|
| | |
| | | return false;
|
| | | }
|
| | |
|
| | | public bool IsAfterReikiRoot(int id)
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV >= afterReikiRootLimitLevel)
|
| | | {
|
| | | return true;
|
| | | }
|
| | | var job = PlayerDatas.Instance.baseData.Job;
|
| | | if (m_AfterLimitReikiRoots.ContainsKey(job))
|
| | | {
|
| | | return m_AfterLimitReikiRoots[job].Contains(id);
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
|
| | | public bool IsSatisfyReikiRootCondition(int id, out int condition)
|
| | | {
|
| | | condition = 0;
|
| | | if (!IsAfterReikiRoot(id))
|
| | | {
|
| | | condition = 2;
|
| | | return false;
|
| | | }
|
| | | if (!IsPreReikiRoot(id))
|
| | | {
|
| | | condition = 1;
|
| | | return false;
|
| | | }
|
| | | return true;
|
| | | }
|
| | |
|
| | | public void ReceivePackage(HB107_tagMCRolePointInfo package)
|
| | | {
|
| | | var isReikiQualityChange = false;
|
| | |
| | |
|
| | | void DisplayButtonState()
|
| | | {
|
| | | var isResetOpen = PlayerDatas.Instance.baseData.LV >= model.resetReikiLimitLevel;
|
| | | var isPreReikiRoot = model.IsPreReikiRoot(id);
|
| | | if (!isResetOpen && !isPreReikiRoot)
|
| | | var condition = 0;
|
| | | if (!model.IsSatisfyReikiRootCondition(id, out condition))
|
| | | {
|
| | | m_Add.SetColorful(null, isPreReikiRoot);
|
| | | m_Sub.SetColorful(null, isPreReikiRoot);
|
| | | m_Max.SetColorful(m_MaxLabel, isPreReikiRoot);
|
| | | m_Add.SetColorful(null, false);
|
| | | m_Sub.SetColorful(null, false);
|
| | | m_Max.SetColorful(m_MaxLabel, false);
|
| | | return;
|
| | | }
|
| | |
|
| | |
| | |
|
| | | private void OnAddDown(GameObject go)
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV < model.resetReikiLimitLevel
|
| | | && !model.IsPreReikiRoot(id))
|
| | | var condition = 0;
|
| | | if (!model.IsSatisfyReikiRootCondition(id, out condition))
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot", model.resetReikiLimitLevel);
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot",
|
| | | condition == 1 ? model.resetReikiLimitLevel : model.afterReikiRootLimitLevel);
|
| | | return;
|
| | | }
|
| | |
|
| | |
| | |
|
| | | private void OnSubDown(GameObject go)
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV < model.resetReikiLimitLevel
|
| | | && !model.IsPreReikiRoot(id))
|
| | | var condition = 0;
|
| | | if (!model.IsSatisfyReikiRootCondition(id, out condition))
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot", model.resetReikiLimitLevel);
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot",
|
| | | condition == 1 ? model.resetReikiLimitLevel : model.afterReikiRootLimitLevel);
|
| | | return;
|
| | | }
|
| | | if (m_Coroutine != null)
|
| | |
| | |
|
| | | private void OnMax()
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV < model.resetReikiLimitLevel
|
| | | && !model.IsPreReikiRoot(id))
|
| | | var condition = 0;
|
| | | if (!model.IsSatisfyReikiRootCondition(id, out condition))
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot", model.resetReikiLimitLevel);
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot",
|
| | | condition == 1 ? model.resetReikiLimitLevel : model.afterReikiRootLimitLevel);
|
| | | return;
|
| | | }
|
| | | point += model.cacheFreePoint;
|
| | |
| | |
|
| | | private void OpenKeyboard()
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.LV < model.resetReikiLimitLevel
|
| | | && !model.IsPreReikiRoot(id))
|
| | | var condition = 0;
|
| | | if (!model.IsSatisfyReikiRootCondition(id, out condition))
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot", model.resetReikiLimitLevel);
|
| | | SysNotifyMgr.Instance.ShowTip("NotSatisfyPreReikiRoot",
|
| | | condition == 1 ? model.resetReikiLimitLevel : model.afterReikiRootLimitLevel);
|
| | | return;
|
| | | }
|
| | | if (parent != null)
|
| | |
| | |
|
| | | public class ReikiRootQualityPromoteWin : Window
|
| | | {
|
| | | [SerializeField] RawImage m_RawRole;
|
| | | [SerializeField] ScrollRect m_Scroller;
|
| | | [SerializeField] VerticalLayoutGroup m_Layout;
|
| | | [SerializeField] ReikiRootPromoteBehaviour[] m_ReikiRootBehaviours;
|
| | |
| | |
|
| | | protected override void OnAfterOpen()
|
| | | {
|
| | | DisplayPlayer();
|
| | |
|
| | | PlayerDatas.Instance.playerDataRefreshEvent += PlayerDataRefreshEvent;
|
| | | }
|
| | |
|
| | | protected override void OnPreClose()
|
| | | {
|
| | | PlayerDatas.Instance.playerDataRefreshEvent -= PlayerDataRefreshEvent;
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | }
|
| | |
|
| | | protected override void OnAfterClose()
|
| | |
| | | }
|
| | | }
|
| | | #endregion
|
| | |
|
| | | private void PlayerDataRefreshEvent(PlayerDataType dataType)
|
| | | {
|
| | | if (dataType == PlayerDataType.EquipShowSwitch)
|
| | | {
|
| | | DisplayPlayer();
|
| | | }
|
| | | }
|
| | |
|
| | | void Display()
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | void DisplayPlayer()
|
| | | {
|
| | | m_RawRole.gameObject.SetActive(true);
|
| | | UI3DModelExhibition.Instance.ShowPlayer(m_RawRole, PlayerDatas.Instance.baseData.Job);
|
| | | }
|
| | |
|
| | | private void OnClose()
|
| | | {
|
| | | if ((DateTime.Now - openTime).TotalSeconds < 2f)
|
| | |
| | |
|
| | | ReikiRootModel model { get { return ModelCenter.Instance.GetModel<ReikiRootModel>(); } }
|
| | | PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
|
| | | SkillModel skillModel { get { return ModelCenter.Instance.GetModel<SkillModel>(); } }
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | |
| | | {
|
| | | m_ContainerFree.gameObject.SetActive(freeReset);
|
| | | m_ContainerCost.gameObject.SetActive(!freeReset);
|
| | | m_FreeRemind.gameObject.SetActive(freeReset);
|
| | |
|
| | | m_FreeRemind.text = string.Format("{0}级前免费", model.freeResetLevel);
|
| | | m_ResetRemind1.text = Language.Get("ResetPoint", model.GetTotalWashPoint());
|
| | |
| | | var pak = new CB207_tagCMResetAttrPoint();
|
| | | GameNetSystem.Instance.SendInfo(pak);
|
| | | model.resetReikiRootRecord = true;
|
| | | skillModel.skillMatchRedpointable = true;
|
| | | CloseImmediately();
|
| | | }
|
| | | else
|
| | |
| | | var pak = new CB207_tagCMResetAttrPoint();
|
| | | GameNetSystem.Instance.SendInfo(pak);
|
| | | model.resetReikiRootRecord = true;
|
| | | skillModel.skillMatchRedpointable = true;
|
| | | CloseImmediately();
|
| | | }
|
| | | }
|
| | |
| | | int fashionClothes = viewPlayerData.GetItemId(RoleEquipType.FashionClothes);
|
| | | int fashionWeapon = viewPlayerData.GetItemId(RoleEquipType.FashionWeapon);
|
| | | int fashionWeapon2 = viewPlayerData.GetItemId(RoleEquipType.FashionWeapon2);
|
| | | var reikiRootEffectId = viewPlayerData.rolePropData.EquipShowSwitch / 1000 % 1000;
|
| | |
|
| | | var data = new UI3DPlayerExhibitionData
|
| | | {
|
| | |
| | | weaponId = weapon,
|
| | | wingsId = wing,
|
| | | secondaryId = weapon2,
|
| | | reikiRootEffectId = (int)reikiRootEffectId,
|
| | | isDialogue = false,
|
| | | };
|
| | |
|
| | |
| | | var secondaryItemId = 0; |
| | | var suitLevel = (int)PlayerDatas.Instance.loginInfo.EquipShowSwitch % 10; |
| | | var equipInfos = PlayerDatas.Instance.loginInfo.EquipInfo; |
| | | var reikiRootEffectId = (int)PlayerDatas.Instance.loginInfo.EquipShowSwitch / 1000 % 1000; |
| | | |
| | | for (int i = 0; i < equipInfos.Length; i++) |
| | | { |
| | |
| | | wingsId = wingsItemId, |
| | | fashionSecondaryId = fashionSecondary, |
| | | secondaryId = secondaryItemId, |
| | | reikiRootEffectId = reikiRootEffectId, |
| | | }; |
| | | |
| | | ceateRoleCamera.gameObject.SetActive(true); |
| | |
| | | m_SkillMatch.AddListener(() =>
|
| | | {
|
| | | WindowCenter.Instance.Open("SkillMatchWin");
|
| | | if (model.skillMatchRedpointable)
|
| | | {
|
| | | model.skillMatchRedpointable = false;
|
| | | }
|
| | | });
|
| | | for (int i = 0; i < m_QuickSkills.Count; i++)
|
| | | {
|
| | |
| | | [SerializeField] SkillData skill; |
| | | [SerializeField] RedpointBehaviour m_Redpoint; |
| | | |
| | | public SkillData skillData { |
| | | get { |
| | | public SkillData skillData
|
| | | { |
| | | get
|
| | | { |
| | | return skill; |
| | | } |
| | | } |
| | | |
| | | SkillModel m_Model; |
| | | SkillModel model { |
| | | get { |
| | | SkillModel model
|
| | | { |
| | | get
|
| | | { |
| | | return m_Model ?? (m_Model = ModelCenter.Instance.GetModel<SkillModel>()); |
| | | } |
| | | } |
| | |
| | | public void OnPointerDown(PointerEventData eventData) |
| | | { |
| | | skill.m_SkillBtn.OnPointerClick(eventData); |
| | | if (model.skillDraging) { |
| | | if (model.skillDraging)
|
| | | { |
| | | return; |
| | | } |
| | | if (PlayerDatas.Instance.skill.GetSKillById(skill.skillId) == null) { |
| | | if (PlayerDatas.Instance.skill.GetSKillById(skill.skillId) == null)
|
| | | { |
| | | return; |
| | | } |
| | | if (model.GetXpSkillID() == skill.skillId) { |
| | | if (model.IsXpSkill(skill.skillId))
|
| | | { |
| | | return; |
| | | } |
| | | onPress = true; |
| | |
| | | public void Refresh(int skillId) |
| | | { |
| | | skill.SetSkillData(skillId); |
| | | if (model.presentSltSkillID == skillId) { |
| | | if (model.presentSltSkillID == skillId)
|
| | | { |
| | | skill.m_SelectImg.gameObject.SetActive(true); |
| | | } |
| | | else { |
| | | else
|
| | | { |
| | | skill.m_SelectImg.gameObject.SetActive(false); |
| | | } |
| | | |
| | |
| | | |
| | | private void LateUpdate() |
| | | { |
| | | if (onPress && !model.skillDraging) { |
| | | if (onPress && !model.skillDraging)
|
| | | { |
| | | m_Time += Time.deltaTime; |
| | | if (m_Time > model.onDragDelay) { |
| | | if (m_Time > model.onDragDelay)
|
| | | { |
| | | model.skillDragId = skill.skillId; |
| | | model.skillDraging = true; |
| | | m_Time = 0; |
| | |
| | | public int minTaskHole { get; private set; }
|
| | | public int maxTaskHole { get; private set; }
|
| | |
|
| | | public bool skillMatchRedpointable
|
| | | {
|
| | | get { return LocalSave.GetBool("SkillMatchRedpointable_" + PlayerDatas.Instance.baseData.PlayerID); }
|
| | | set
|
| | | {
|
| | | LocalSave.SetBool("SkillMatchRedpointable_" + PlayerDatas.Instance.baseData.PlayerID, value);
|
| | | UpdateSkillMatchRedpoint();
|
| | | }
|
| | | }
|
| | |
|
| | | public readonly Redpoint redpoint = new Redpoint(103, 10301);
|
| | | public readonly Redpoint skillMatchRedpoint = new Redpoint(10301, 1030101);
|
| | |
|
| | | void ParseConfig()
|
| | | {
|
| | |
| | | return skill.GetSkillConfig(skill.level).SkillID;
|
| | | }
|
| | | return skillID;
|
| | | }
|
| | |
|
| | | public bool IsXpSkill(int skillId)
|
| | | {
|
| | | var config = SkillConfig.Get(skillId);
|
| | | if (config != null)
|
| | | {
|
| | | var job = PlayerDatas.Instance.baseData.Job;
|
| | | if (xpSkillsDic.ContainsKey(job))
|
| | | {
|
| | | return xpSkillsDic[job] == config.SkillTypeID;
|
| | | } |
| | | }
|
| | | return false;
|
| | | }
|
| | |
|
| | | void VerifyQuickSkillExistXp()
|
| | | {
|
| | | var quickSkills = PlayerDatas.Instance.skill.GetQuickSkills();
|
| | | var existXp = false;
|
| | | var lastIndex = 0;
|
| | | foreach (var index in quickSkills.Keys)
|
| | | {
|
| | | if (quickSkills[index] != null)
|
| | | {
|
| | | if (IsXpSkill(quickSkills[index].id))
|
| | | {
|
| | | existXp = true;
|
| | | QuickSetting.Instance.SetQuickSetting(QuickSetting.QuickSettingType.Skill, "***", index);
|
| | | continue;
|
| | | }
|
| | | if (existXp)
|
| | | {
|
| | | var temp = QuickSetting.Instance.GetQuickSetting(QuickSetting.QuickSettingType.Skill, index);
|
| | | QuickSetting.Instance.SetQuickSetting(QuickSetting.QuickSettingType.Skill, temp, index - 1);
|
| | | QuickSetting.Instance.SetQuickSetting(QuickSetting.QuickSettingType.Skill, "***", index);
|
| | | }
|
| | | lastIndex = index;
|
| | | }
|
| | | }
|
| | | if (existXp)
|
| | | {
|
| | | if (lastIndex == QUICK_SKILL_COUNT - 1)
|
| | | {
|
| | | var skills = GetActSkills();
|
| | | for (int i = 0; i < skills.Count; i++)
|
| | | {
|
| | | if (PlayerDatas.Instance.skill.GetSKillById(skills[i]) != null
|
| | | && !IsXpSkill(skills[i]) && PlayerDatas.Instance.skill.ContainsQuickSkill(skills[i]) == -1)
|
| | | {
|
| | | string value = MathUtils.Convert10To64(skills[i]);
|
| | | QuickSetting.Instance.SetQuickSetting(QuickSetting.QuickSettingType.Skill, value, lastIndex);
|
| | | break;
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | QuickSetting.Instance.SendPackage();
|
| | | PlayerDatas.Instance.skill.SetQuickSkills();
|
| | | }
|
| | | }
|
| | |
|
| | | List<int> GetActSkills()
|
| | | {
|
| | | List<int> skills = new List<int>();
|
| | | var skillType = (int)Math.Pow(2, PlayerDatas.Instance.baseData.Job);
|
| | | Dictionary<int, List<int>> dict = skillActDict[skillType];
|
| | | foreach (int key in dict.Keys)
|
| | | {
|
| | | List<int> list = dict[key];
|
| | | var skillId = list[0];
|
| | | foreach (var id in list)
|
| | | {
|
| | | if (PlayerDatas.Instance.skill.GetSKillById(id) != null)
|
| | | {
|
| | | skillId = id;
|
| | | break;
|
| | | }
|
| | | }
|
| | | if (PlayerDatas.Instance.skill.GetFilterPlayerSkill(PlayerDatas.Instance.baseData.Job).Contains(skillId))
|
| | | {
|
| | | continue;
|
| | | }
|
| | | skills.Add(skillId);
|
| | | }
|
| | | return skills;
|
| | | }
|
| | | #endregion
|
| | |
|
| | |
| | | }
|
| | | playerLoginOk = true;
|
| | | UpdateRedpoint();
|
| | | VerifyQuickSkillExistXp();
|
| | | UpdateSkillMatchRedpoint();
|
| | | //UpdateTaskHoleRedpoint();
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | void UpdateSkillMatchRedpoint()
|
| | | {
|
| | | skillMatchRedpoint.state = skillMatchRedpointable ? RedPointState.Simple : RedPointState.None;
|
| | | }
|
| | |
|
| | | public void SetDayRemind()
|
| | | {
|
| | | DayRemind.Instance.SetDayRemind(DayRemind.PASS_SKILL_REDPOINT, true);
|
| | |
| | | return level;
|
| | | }
|
| | |
|
| | | public int GetSatisfyLevelUpMinCostSkillId()
|
| | | {
|
| | | var minCost = int.MaxValue;
|
| | | var minSkillId = 0;
|
| | | foreach (var skill in treasureSkills.Values)
|
| | | {
|
| | | var error = 0;
|
| | | if (TryLevelUpTreasureSkill(skill.skillId, out error)
|
| | | && skill.level > 0)
|
| | | {
|
| | | var config = skill.GetSkillConfig(skill.level + 1);
|
| | | if (config.ExAttr5 < minCost)
|
| | | {
|
| | | minCost = config.ExAttr5;
|
| | | minSkillId = skill.skillId;
|
| | | }
|
| | | }
|
| | | }
|
| | | return minSkillId;
|
| | | }
|
| | |
|
| | | public int GetExpertSkillCountUseReikiRoot(int id)
|
| | | {
|
| | | var count = 0;
|
| | | foreach (var skillId in m_ExpertSkills.Values)
|
| | | {
|
| | | var config = SkillConfig.Get(skillId);
|
| | | if (config != null && config.RequireProperty() == id)
|
| | | {
|
| | | count++;
|
| | | }
|
| | | }
|
| | | return count;
|
| | | }
|
| | |
|
| | | public void OnReceivePackage(int oldSkillID, int newSkillID)
|
| | | {
|
| | | var config = SkillConfig.Get(newSkillID);
|
| | |
| | | void UpdateRedpoint()
|
| | | {
|
| | | var funcOpen = FuncOpen.Instance.IsFuncOpen(82);
|
| | | var satisfyLevelUpMinSkillId = GetSatisfyLevelUpMinCostSkillId();
|
| | | foreach (var skill in treasureSkills.Values)
|
| | | {
|
| | | var error = 0;
|
| | | if (requireRemind && funcOpen && FuncOpen.Instance.IsFuncOpen(177)
|
| | | && TryLevelUpTreasureSkill(skill.skillId, out error)
|
| | | && skill.level > 0)
|
| | | && satisfyLevelUpMinSkillId == skill.skillId)
|
| | | {
|
| | | skill.levelUpRedpoint.state = RedPointState.Simple;
|
| | | }
|
| | |
| | | [SerializeField] RectTransform m_RewardContainer; |
| | | [SerializeField] PositionTween m_RewardShowTween; |
| | | [SerializeField] RewardPreviewGroup m_RewardBehaviour; |
| | | |
| | | [SerializeField] RectTransform m_LevelContaienr; |
| | | [SerializeField] TextEx m_LevelLimit; |
| | | [SerializeField] RectTransform m_FightPowerContainer; |
| | | [SerializeField] TextEx m_FightPower; |
| | |
| | | var config = SkyTowerConfig.Get(model.currentFloor); |
| | | m_RewardBehaviour.Display(config.rewards); |
| | | |
| | | m_LevelLimit.text = config.levelLimit.ToString(); |
| | | m_LevelLimit.colorType = PlayerDatas.Instance.baseData.LV >= config.levelLimit ? TextColType.Green : TextColType.Red; |
| | | if (PlayerDatas.Instance.baseData.LV < config.levelLimit) |
| | | { |
| | | m_LevelContaienr.gameObject.SetActive(true); |
| | | m_LevelLimit.text = config.levelLimit.ToString(); |
| | | m_LevelLimit.colorType = PlayerDatas.Instance.baseData.LV >= config.levelLimit ? TextColType.Green : TextColType.Red; |
| | | } |
| | | else |
| | | { |
| | | m_LevelContaienr.gameObject.SetActive(false); |
| | | } |
| | | |
| | | if (PlayerDatas.Instance.baseData.LV >= config.levelLimit) |
| | | { |
| | |
| | | {
|
| | | m_storeModel.storeFuncType = StoreFunc.ToolStore;
|
| | | m_storeModel.RefreshTCBPlayerDataEvent += OnRefreshPlayerInfo;
|
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyInfo += CreateCell;
|
| | | m_storeModel.RefreshBuyShopLimitEvent += CreateCell;
|
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyInfo += RefreshShopDisplay;
|
| | | m_storeModel.RefreshBuyShopLimitEvent += RefreshShopDisplay;
|
| | | CreateCell();
|
| | | RefreshUI();
|
| | | }
|
| | |
| | | {
|
| | | _storeModel.fairyStoreJumpShopId = 0;
|
| | |
|
| | | m_storeModel.RefreshBuyShopLimitEvent -= CreateCell;
|
| | | m_storeModel.RefreshBuyShopLimitEvent -= RefreshShopDisplay;
|
| | | m_storeModel.RefreshTCBPlayerDataEvent -= OnRefreshPlayerInfo;
|
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyInfo -= CreateCell;
|
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyInfo -= RefreshShopDisplay;
|
| | | }
|
| | |
|
| | | protected override void OnAfterClose()
|
| | |
| | | RefreshUI();
|
| | | }
|
| | |
|
| | | private void RefreshShopDisplay()
|
| | | {
|
| | | _shopCtrl.m_Scorller.RefreshActiveCellViews();
|
| | | }
|
| | |
|
| | | private void CreateCell()
|
| | | {
|
| | | shopId = 0;
|
| | |
| | | case DailyQuestType.FairyFeast:
|
| | | case DailyQuestType.FairyTask:
|
| | | var _dailyConfig = DailyQuestConfig.Get(_dailyQuestId);
|
| | | return PlayerDatas.Instance.baseData.FamilyId > 0 &&
|
| | | (_dailyConfig.UnLockFuncID == 0 || FuncOpen.Instance.IsFuncOpen(_dailyConfig.UnLockFuncID));
|
| | | return (_dailyConfig.UnLockFuncID == 0 || FuncOpen.Instance.IsFuncOpen(_dailyConfig.UnLockFuncID));
|
| | | case DailyQuestType.RuneTowerSweep:
|
| | | return ModelCenter.Instance.GetModel<RuneTowerModel>().yesterdayPassFloor > 0;
|
| | | default:
|
| | |
| | |
|
| | | {
|
| | | private bool _isAutoHangUp = false;
|
| | | private ItemConfig _tagItemModel;
|
| | | private FuncConfigConfig _tagFuncModel;
|
| | | private StoreConfig _tagShopModel;
|
| | | private int[] shopIdlist;
|
| | |
|
| | | PetModel m_petModel;
|
| | |
| | |
|
| | | secondTimer += Time.deltaTime;
|
| | | halfSecondTimer += Time.deltaTime;
|
| | | if (halfSecondTimer >= 0.5f)
|
| | | if (halfSecondTimer >= 1f)
|
| | | {
|
| | | halfSecondTimer = 0f;
|
| | | if (!DeadModel.playerIsDie)
|
| | |
| | | /// </summary>
|
| | | private void AutoDrugSetting()
|
| | | {
|
| | | if (CrossServerUtility.IsCrossServerOneVsOne()) return;
|
| | | if (CrossServerUtility.IsCrossServerOneVsOne())
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | float hpPercent = Mathf.RoundToInt((float)PlayerDatas.Instance.baseData.HP / PlayerDatas.Instance.extersion.MaxHP * 100);
|
| | | var hpPercent = Mathf.RoundToInt((float)PlayerDatas.Instance.baseData.HP / PlayerDatas.Instance.extersion.MaxHP * 100);
|
| | | if (hpPercent <= HangUpSetModel.Instance.GetHpSet())
|
| | | {
|
| | | SinglePack singlePack = playerPack.GetSinglePack(PackType.Item);
|
| | | var singlePack = playerPack.GetSinglePack(PackType.Item);
|
| | | if (singlePack == null)
|
| | | return;
|
| | |
|
| | | int i = 0;
|
| | | int length = shopIdlist.Length;
|
| | | for (i = length - 1; i > -1; i--)
|
| | | {
|
| | | _tagShopModel = StoreConfig.Get(shopIdlist[i]);
|
| | | _tagItemModel = ItemConfig.Get(_tagShopModel.ItemID);
|
| | | if (PlayerDatas.Instance.baseData.LV >= _tagItemModel.LV)
|
| | | return;
|
| | | }
|
| | |
|
| | | for (var i = shopIdlist.Length - 1; i >= 0; i--)
|
| | | {
|
| | | var shopConfig = StoreConfig.Get(shopIdlist[i]);
|
| | | var itemConfig = ItemConfig.Get(shopConfig.ItemID);
|
| | | if (PlayerDatas.Instance.baseData.LV >= itemConfig.LV)
|
| | | {
|
| | | if (singlePack.GetCountById(_tagItemModel.ID) > 0)
|
| | | if (singlePack.GetCountById(itemConfig.ID) > 0)
|
| | | {
|
| | | var list = singlePack.GetItemsById(_tagItemModel.ID);
|
| | | var list = singlePack.GetItemsById(itemConfig.ID);
|
| | | ItemOperateUtility.Instance.GotoUseItem(list[0].guid);
|
| | | break;
|
| | | }
|
| | |
| | | {
|
| | | if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoBuyDrug) && playerPack.GetEmptyGridCount(PackType.Item) > 0)
|
| | | {
|
| | | if (m_storeModel.MoneyIsEnough(_tagShopModel.MoneyType, (ulong)_tagShopModel.MoneyNumber))
|
| | | if (m_storeModel.MoneyIsEnough(shopConfig.MoneyType, (ulong)shopConfig.MoneyNumber))
|
| | | {
|
| | | m_storeModel.SendBuyShopItem(_tagShopModel, 1);
|
| | | m_storeModel.SendBuyShopItem(shopConfig, 1);
|
| | | break;
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | yield return WaitingForSecondConst.WaitMS1000;
|
| | | }
|
| | | }
|
| | |
|
| | | private int CompareID(int start, int end)
|
| | | {
|
| | | return -start.CompareTo(end);
|
| | | }
|
| | |
|
| | | private int CompareDrugLv(ItemModel start, ItemModel next)
|
| | | {
|
| | | _tagItemModel = ItemConfig.Get((int)start.itemId);
|
| | | int lv1 = _tagItemModel.LV;
|
| | | _tagItemModel = ItemConfig.Get((int)next.itemId);
|
| | | int lv2 = _tagItemModel.LV;
|
| | | return -lv1.CompareTo(lv2);
|
| | | }
|
| | |
|
| | |
|
| | |
| | |
|
| | | private void OnPreviewTreasureSkill(bool isOpen)
|
| | | {
|
| | | m_TreasureFairyBehaviour.gameObject.SetActive(!isOpen);
|
| | |
|
| | | if (isOpen)
|
| | | {
|
| | | UI3DTreasureSelectStage.Instance.CloseRenderCamera();
|
| | |
| | | Display();
|
| | |
|
| | | var config = TreasureConfig.Get(treasureId);
|
| | | m_Preview.gameObject.SetActive(config.Category == (int)TreasureCategory.Human);
|
| | | m_Preview.gameObject.SetActive(config.Category == (int)TreasureCategory.Human
|
| | | || config.Category == (int)TreasureCategory.Fairy);
|
| | |
|
| | | if (WindowCenter.Instance.IsOpen<HumanTreasureWin>())
|
| | | {
|
| | |
| | | onPreviewTreasureSkill(true);
|
| | | }
|
| | |
|
| | | WindowCenter.Instance.uiRoot.uicamera.enabled = false;
|
| | | WindowCenter.Instance.uiRoot.uicamera.gameObject.SetActive(false);
|
| | | CameraController.Instance.CameraObject.gameObject.SetActive(false);
|
| | |
|
| | | UI3DHeroSkillShow.Instance.ShowTreasureSkill(treasureId, () =>
|
| | |
| | | {
|
| | | onPreviewTreasureSkill(false);
|
| | | }
|
| | | WindowCenter.Instance.uiRoot.uicamera.enabled = true;
|
| | | WindowCenter.Instance.uiRoot.uicamera.gameObject.SetActive(true);
|
| | | if (!UI3DTreasureSelectStage.Instance.IsOpen)
|
| | | {
|
| | | CameraController.Instance.CameraObject.gameObject.SetActive(true);
|
| | |
| | |
|
| | | private void OnPreviewTreasureSkill(bool state)
|
| | | {
|
| | | m_ContainerDisplay.gameObject.SetActive(!state);
|
| | |
|
| | | if (state)
|
| | | {
|
| | | UI3DTreasureSelectStage.Instance.CloseRenderCamera();
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | HumanTreasureSkillDetailWin.onPreviewTreasureSkill += OnPreviewTreasureSkill;
|
| | | }
|
| | |
|
| | | protected override void OnAfterOpen()
|
| | |
| | | UI3DTreasureSelectStage.Instance.OnCameraBackComplete -= OnCameraBackComplete;
|
| | | m_DragSelect.onDragComplete -= OnDragComplete;
|
| | | model.treasureSelectedEvent -= TreasureSelectedEvent;
|
| | | HumanTreasureSkillDetailWin.onPreviewTreasureSkill -= OnPreviewTreasureSkill;
|
| | |
|
| | | if (!backToSelectWindow)
|
| | | {
|
| | |
| | | {
|
| | | }
|
| | | #endregion
|
| | |
|
| | | private void OnPreviewTreasureSkill(bool state)
|
| | | {
|
| | | DisplayContainer(!state);
|
| | | }
|
| | |
|
| | | private void TreasureSelectedEvent(int treasureId)
|
| | | {
|
| | |
| | | m_DisplayContainer.gameObject.SetActive(false);
|
| | | WindowCenter.Instance.Open<TreasureSelectWin>(true);
|
| | | UI3DTreasureSelectStage.Instance.StartBack();
|
| | | }
|
| | |
|
| | | public void DisplayContainer(bool active)
|
| | | {
|
| | | m_DisplayContainer.gameObject.SetActive(active);
|
| | | }
|
| | |
|
| | | private bool AllowSelectTreasure(int treasureId)
|
| | |
| | | case JumpUIType.UnionFunc2:
|
| | | case JumpUIType.UnionWarehouse:
|
| | | case JumpUIType.UnionHall:
|
| | | case JumpUIType.UnionTask:
|
| | | case JumpUIType.UnionTask2:
|
| | | case JumpUIType.UnionActive1:
|
| | | case JumpUIType.UnionActive2:
|
| | | if (!PlayerDatas.Instance.fairyData.HasFairy)
|
| | |
| | | /// <summary>
|
| | | /// 规则是每个系统对应标签页顺序
|
| | | /// </summary>
|
| | | /// |
| | | [XLua.LuaCallCSharp]
|
| | | public enum JumpUIType
|
| | | {
|
| | | None = 0,
|
| | |
| | | || char.GetUnicodeCategory(addedChar) == UnicodeCategory.OtherNumber |
| | | || char.GetUnicodeCategory(addedChar) == UnicodeCategory.MathSymbol |
| | | || char.GetUnicodeCategory(addedChar) == UnicodeCategory.OtherNotAssigned |
| | | || addedChar == '\n' |
| | | || (m_SpaceLimit && (addedChar == ' ') || (addedChar == ' '))) |
| | | || addedChar == '\n') |
| | | { |
| | | return (char)0; |
| | | } |
| | | if (m_SpaceLimit)
|
| | | {
|
| | | if (addedChar == ' ' |
| | | || addedChar == ' ' |
| | | || char.GetUnicodeCategory(addedChar) == UnicodeCategory.SpaceSeparator)
|
| | | {
|
| | | return (char)0; |
| | | }
|
| | | } |
| | | return addedChar; |
| | | } |
| | | } |
| | |
| | | [SerializeField] Animator m_CameraAnimator;
|
| | | [SerializeField] List<RuntimeAnimatorController> m_HeroShowControllers;
|
| | | [SerializeField] List<TreasureSkill> m_TreasureSkills;
|
| | | [SerializeField] List<SkillAct> m_SkillActs;
|
| | |
|
| | | UI3DShowHero m_HeroShow = new UI3DShowHero();
|
| | |
|
| | |
| | |
|
| | | private void StartPlaySkill(int _skillId)
|
| | | {
|
| | | var _cfg = SkillConfig.Get(_skillId);
|
| | | if (_cfg == null)
|
| | | var config = SkillConfig.Get(_skillId);
|
| | | if (config == null)
|
| | | {
|
| | | return;
|
| | | }
|
| | | if (_cfg.Skillactmark > 0
|
| | | && _cfg.Skillactmark < 20)
|
| | | var skillActMark = config.Skillactmark;
|
| | |
|
| | | var index = m_SkillActs.FindIndex((x) =>
|
| | | {
|
| | | switch (_cfg.Skillactmark)
|
| | | return x.skillId == _skillId;
|
| | | });
|
| | |
|
| | | if (index != -1)
|
| | | {
|
| | | skillActMark = m_SkillActs[index].mark;
|
| | | }
|
| | |
|
| | | if (skillActMark > 0 && skillActMark < 20)
|
| | | {
|
| | | switch (config.Skillactmark)
|
| | | {
|
| | | case 10:
|
| | | m_HeroAnimator.Play(GAStaticDefine.State_Attack1Hash, 0);
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | switch (_cfg.Skillactmark)
|
| | | switch (skillActMark)
|
| | | {
|
| | | case 21:
|
| | | m_HeroAnimator.Play(GAStaticDefine.State_Skill21, 0);
|
| | |
| | | public List<Effect> effects;
|
| | | }
|
| | |
|
| | | [Serializable]
|
| | | public struct SkillAct
|
| | | {
|
| | | public int skillId;
|
| | | public int mark;
|
| | | }
|
| | |
|
| | | public enum PlayerJob
|
| | | {
|
| | | Qiang = 1,
|
| | |
| | | bool isShowinEquipment = false;
|
| | |
|
| | | EquipModel equipModel { get { return ModelCenter.Instance.GetModel<EquipModel>(); } }
|
| | | ReikiRootModel reikiRootModel { get { return ModelCenter.Instance.GetModel<ReikiRootModel>(); } }
|
| | |
|
| | | static UI3DModelExhibition m_Instance = null;
|
| | | public static UI3DModelExhibition Instance {
|
| | |
| | | var secondaryItemId = 0;
|
| | | var suitLevel = 0;
|
| | | var equipInfos = PlayerDatas.Instance.loginInfo.EquipInfo;
|
| | | var reikiRootEffectId = PlayerDatas.Instance.loginInfo.EquipShowSwitch / 1000 % 1000;
|
| | |
|
| | | for (int i = 0; i < equipInfos.Length; i++)
|
| | | {
|
| | |
| | | weaponId = weaponItemId,
|
| | | wingsId = wingsItemId,
|
| | | secondaryId = secondaryItemId,
|
| | | reikiRootEffectId = (int)reikiRootEffectId,
|
| | | isDialogue = false,
|
| | | };
|
| | |
|
| | |
| | | public void ShowPlayer(RawImage rawImage, int job, bool isDialogue = false)
|
| | | {
|
| | | var apperance = equipModel.GetAppearance();
|
| | | var reikiRootEffectId = PlayerDatas.Instance.baseData.reikiRootEffectId;
|
| | | var data = new UI3DPlayerExhibitionData
|
| | | {
|
| | | job = job,
|
| | |
| | | secondaryId = apperance.secondary,
|
| | | wingsId = apperance.wings,
|
| | | suitLevel = apperance.isSuit ? 1 : 0,
|
| | | reikiRootEffectId = (int)reikiRootEffectId,
|
| | | isDialogue = isDialogue,
|
| | | };
|
| | |
|
| | |
| | | public void ShowPlayer(RawImage rawImage, int job, RoleEquipType exceptEquip)
|
| | | {
|
| | | var apperance = equipModel.GetAppearance();
|
| | | var reikiRootEffectId = PlayerDatas.Instance.baseData.reikiRootEffectId;
|
| | | var data = new UI3DPlayerExhibitionData
|
| | | {
|
| | | job = job,
|
| | |
| | | weaponId = exceptEquip == RoleEquipType.Weapon ? 0 : apperance.weapon,
|
| | | secondaryId = exceptEquip == RoleEquipType.Weapon2 ? 0 : apperance.secondary,
|
| | | wingsId = exceptEquip == RoleEquipType.Wing ? 0 : apperance.wings,
|
| | | reikiRootEffectId = (int)reikiRootEffectId,
|
| | | suitLevel = apperance.isSuit ? 1 : 0,
|
| | | };
|
| | |
|
| | |
| | | public int fashionClothesId;
|
| | | public int fashionWeaponId;
|
| | | public int fashionSecondaryId;
|
| | | public int reikiRootEffectId;
|
| | | public bool isDialogue;
|
| | | public bool keepRotation;
|
| | | }
|
| | |
| | |
|
| | | Transform showPoint;
|
| | | List<SFXController> godWeaponSFXList = new List<SFXController>();
|
| | |
|
| | | GameObject reikiRootShowPoint = null;
|
| | | SFXController reikiRootEffect = null;
|
| | |
|
| | | int suitID;
|
| | | public GameObject Show(UI3DPlayerExhibitionData data, Transform showPoint)
|
| | | {
|
| | |
| | | }
|
| | |
|
| | | PutOnWing(wingsResId);
|
| | | ShowReikiRootEffect(data.reikiRootEffectId);
|
| | | LoadClothesEffect();
|
| | | return clothesModel;
|
| | | }
|
| | |
| | | m_SuitEffectList.Clear();
|
| | | }
|
| | |
|
| | | private void ShowReikiRootEffect(int id)
|
| | | {
|
| | | HideReikiRootEffect();
|
| | | if (id != 0 && ReikiRootEffectConfig.Has(id) && clothesModel)
|
| | | {
|
| | | if (reikiRootShowPoint == null && showPoint.parent != null)
|
| | | {
|
| | | reikiRootShowPoint = new GameObject("ReikiRootShowPoint");
|
| | | reikiRootShowPoint.transform.SetParentEx(showPoint.parent, showPoint.localPosition, showPoint.rotation, showPoint.localScale);
|
| | | }
|
| | | var config = ReikiRootEffectConfig.Get(id);
|
| | | reikiRootEffect = SFXPlayUtility.Instance.Play(config.effect, reikiRootShowPoint == null ? showPoint : reikiRootShowPoint.transform);
|
| | | if (reikiRootEffect != null)
|
| | | {
|
| | | var scale = config.uiScale / 100f;
|
| | | var offsetY = config.offsetY / 100f;
|
| | | reikiRootEffect.transform.localScale = Vector3.one * scale;
|
| | | reikiRootEffect.transform.localPosition = reikiRootEffect.transform.localPosition.SetY(offsetY);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | private void HideReikiRootEffect()
|
| | | {
|
| | | if (reikiRootEffect != null)
|
| | | {
|
| | | SFXPlayUtility.Instance.Release(reikiRootEffect);
|
| | | reikiRootEffect = null;
|
| | | }
|
| | | }
|
| | |
|
| | | public void SwitchMaterial(bool isSuit)
|
| | | {
|
| | | if (clothesModel == null)
|
| | |
| | | normalTasks.Add(new ConfigInitTask("SpiritWeaponConfig", () => { SpiritWeaponConfig.Init(); }, () => { return SpiritWeaponConfig.inited; })); |
| | | normalTasks.Add(new ConfigInitTask("NewDropItemGroupConfig", () => { NewDropItemGroupConfig.Init(); }, () => { return NewDropItemGroupConfig.inited; }));
|
| | | normalTasks.Add(new ConfigInitTask("OpenServerActivityConfig", () => { OpenServerActivityConfig.Init(); }, () => { return OpenServerActivityConfig.inited; }));
|
| | | normalTasks.Add(new ConfigInitTask("RidingPetBossRewardConfig", () => { RidingPetBossRewardConfig.Init(); }, () => { return RidingPetBossRewardConfig.inited; })); |
| | | normalTasks.Add(new ConfigInitTask("RidingPetBossRewardConfig", () => { RidingPetBossRewardConfig.Init(); }, () => { return RidingPetBossRewardConfig.inited; }));
|
| | | normalTasks.Add(new ConfigInitTask("ReikiRootEffectConfig", () => { ReikiRootEffectConfig.Init(); }, () => { return ReikiRootEffectConfig.inited; })); |
| | | } |
| | | |
| | | static List<ConfigInitTask> doingTasks = new List<ConfigInitTask>(); |
| | |
| | | AssistXianYuanCoinsRatioAdd = 34,//助战仙缘币获得倍率加成(万分比)
|
| | | JadeDynastyBoss = 35,
|
| | | BatchAlchemyFairy = 36,//批量炼制仙丹
|
| | | BossHomeBuyTimes=37,//boss之家购买次数
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|