| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Thursday, July 04, 2019 |
| | | // [ Date ]: Friday, July 05, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | public readonly int NextItemID;
|
| | | public readonly int NPCID;
|
| | | public readonly Vector3 Rotation;
|
| | | public readonly float scale; |
| | | public readonly float scale;
|
| | | public readonly Vector3 RawImgPos; |
| | | |
| | | public SpiritWeaponConfig() |
| | | { |
| | |
| | |
|
| | | Rotation=tables[9].Vector3Parse();
|
| | |
|
| | | float.TryParse(tables[10],out scale); |
| | | float.TryParse(tables[10],out scale); |
| | |
|
| | | RawImgPos=tables[11].Vector3Parse(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ddd7764ed0b6a9c41b3c3e2b91efa8c8 |
| | | timeCreated: 1562249090 |
| | | timeCreated: 1562318273 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | 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.BeginClassRegister(typeof(JumpUIType), L, null, 335, 0, 0); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "None", JumpUIType.None); |
| | | |
| | |
| | | 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, "SpiritWeapon", JumpUIType.SpiritWeapon); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SpiritBreach", JumpUIType.SpiritBreach); |
| | | |
| | | Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DhszTs", JumpUIType.DhszTs); |
| | | |
| | |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.Alchemy11); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SpiritWeapon")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SpiritWeapon); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "SpiritBreach")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.SpiritBreach); |
| | | } |
| | | else if (LuaAPI.xlua_is_eq_str(L, 1, "DhszTs")) |
| | | { |
| | | translator.PushJumpUIType(L, JumpUIType.DhszTs); |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.ChatCenter); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 25, 19, 12); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 26, 19, 12); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateChatContentPos", _m_UpdateChatContentPos); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetChatData", _m_GetChatData); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SaveRecentlyChat", _m_SaveRecentlyChat); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SaveLocalRecentlyChat", _m_SaveLocalRecentlyChat); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnSwitchAccount", _m_OnSwitchAccount); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetVoice", _m_SetVoice); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_SaveLocalRecentlyChat(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.ChatCenter gen_to_be_invoked = (Snxxz.UI.ChatCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.SaveLocalRecentlyChat( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_OnBeforePlayerDataInitialize(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.HazyRegionModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 23, 19, 3); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 24, 19, 3); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetIncidentId", _m_GetIncidentId); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAdventureNpcId", _m_GetAdventureNpcId); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsIncidentDungeon", _m_IsIncidentDungeon); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAllIncidentComplete", _m_IsAllIncidentComplete); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "DisplayErrorRemind", _m_DisplayErrorRemind); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "StartAdventureDialogue", _m_StartAdventureDialogue); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendGotoIncident", _m_SendGotoIncident); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsAllIncidentComplete(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.HazyRegionModel gen_to_be_invoked = (Snxxz.UI.HazyRegionModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsAllIncidentComplete( ); |
| | | 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_DisplayErrorRemind(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.OtherPlayerEquipModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 12, 7, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 12, 8, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerRealm", _g_get_playerRealm); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "playerVipLevel", _g_get_playerVipLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "wing", _g_get_wing); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRootEffectId", _g_get_reikiRootEffectId); |
| | | |
| | | |
| | | |
| | |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_reikiRootEffectId(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.OtherPlayerEquipModel gen_to_be_invoked = (Snxxz.UI.OtherPlayerEquipModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.reikiRootEffectId); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(SpiritWeaponConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 11, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 12, 0); |
| | | |
| | | |
| | | |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "NPCID", _g_get_NPCID); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "Rotation", _g_get_Rotation); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "scale", _g_get_scale); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "RawImgPos", _g_get_RawImgPos); |
| | | |
| | | |
| | | |
| | |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_RawImgPos(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | SpiritWeaponConfig gen_to_be_invoked = (SpiritWeaponConfig)translator.FastGetCSObj(L, 1); |
| | | translator.PushUnityEngineVector3(L, gen_to_be_invoked.RawImgPos); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(TaskFeedbackConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 12, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 13, 0); |
| | | |
| | | |
| | | |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "jump", _g_get_jump); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "funcTitles", _g_get_funcTitles); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "failFuncs", _g_get_failFuncs); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "onlyOneFunc", _g_get_onlyOneFunc); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "remind", _g_get_remind); |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_onlyOneFunc(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.onlyOneFunc); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_remind(RealStatePtr L) |
| | | { |
| | | try { |