| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(DebugUtility); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 3, 3, 1); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 3, 4, 1); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "CreateDebugRoot", _m_CreateDebugRoot); |
| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "debugAccount", _g_get_debugAccount); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isWhiteListAccount", _g_get_isWhiteListAccount); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "autoLogin", _g_get_autoLogin); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "debugBranch", _g_get_debugBranch); |
| | | |
| | | Utils.RegisterFunc(L, Utils.SETTER_IDX, "debugBranch", _s_set_debugBranch); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_autoLogin(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | DebugUtility gen_to_be_invoked = (DebugUtility)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.autoLogin); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_debugBranch(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(EquipGSParamConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 17, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 20, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted); |
| | | |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "EquipClass", _g_get_EquipClass); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "EquipColor", _g_get_EquipColor); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsSuit", _g_get_IsSuit); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "Star", _g_get_Star); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "BaseEquipMaxHPAddPerC", _g_get_BaseEquipMaxHPAddPerC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "BaseEquipAtkAddPerC", _g_get_BaseEquipAtkAddPerC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "SuperHitC", _g_get_SuperHitC); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "PerLVMaxHPC", _g_get_PerLVMaxHPC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "DropMoneyPerC", _g_get_DropMoneyPerC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "SuperHitReduceC", _g_get_SuperHitReduceC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "SuperHitRateReduceC", _g_get_SuperHitRateReduceC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "HitC", _g_get_HitC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "MissC", _g_get_MissC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "PetDamPerC", _g_get_PetDamPerC); |
| | | |
| | | |
| | | |
| | |
| | | int _lv = LuaAPI.xlua_tointeger(L, 1); |
| | | int _color = LuaAPI.xlua_tointeger(L, 2); |
| | | int _isSuit = LuaAPI.xlua_tointeger(L, 3); |
| | | int _star = LuaAPI.xlua_tointeger(L, 4); |
| | | |
| | | EquipGSParamConfig gen_ret = EquipGSParamConfig.GetGSModel( _lv, _color, _isSuit, _star ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | |
| | | int _lv = LuaAPI.xlua_tointeger(L, 1); |
| | | int _color = LuaAPI.xlua_tointeger(L, 2); |
| | | int _isSuit = LuaAPI.xlua_tointeger(L, 3); |
| | | int _star = LuaAPI.xlua_tointeger(L, 4); |
| | | |
| | | System.Collections.Generic.Dictionary<PropertyType, int> gen_ret = EquipGSParamConfig.GetTagGsProValueDict( _lv, _color, _isSuit, _star ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | |
| | | |
| | | EquipGSParamConfig gen_to_be_invoked = (EquipGSParamConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.IsSuit); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_Star(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | EquipGSParamConfig gen_to_be_invoked = (EquipGSParamConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Star); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_SuperHitRateReduceC(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | EquipGSParamConfig gen_to_be_invoked = (EquipGSParamConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SuperHitRateReduceC); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_HitC(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_PetDamPerC(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | EquipGSParamConfig gen_to_be_invoked = (EquipGSParamConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.PetDamPerC); |
| | | } 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(LegendPropertyValueConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 7, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 1, 8, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted); |
| | | |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "ItemClassLV", _g_get_ItemClassLV); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "ItemColor", _g_get_ItemColor); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsSuit", _g_get_IsSuit); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "ItemStarLevel", _g_get_ItemStarLevel); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "previewValue", _g_get_previewValue); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "propertyCount", _g_get_propertyCount); |
| | | |
| | |
| | | |
| | | return 1; |
| | | } |
| | | if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) |
| | | if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) |
| | | { |
| | | int _itemType = LuaAPI.xlua_tointeger(L, 1); |
| | | int _level = LuaAPI.xlua_tointeger(L, 2); |
| | | int _quality = LuaAPI.xlua_tointeger(L, 3); |
| | | bool _suit = LuaAPI.lua_toboolean(L, 4); |
| | | int _starLevel = LuaAPI.xlua_tointeger(L, 5); |
| | | |
| | | LegendPropertyValueConfig gen_ret = LegendPropertyValueConfig.Get( _itemType, _level, _quality, _suit, _starLevel ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_ItemStarLevel(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | LegendPropertyValueConfig gen_to_be_invoked = (LegendPropertyValueConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ItemStarLevel); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_previewValue(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(NewDropItemGroupConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 3, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 4, 0); |
| | | |
| | | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "id", _g_get_id); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "quality", _g_get_quality); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "items", _g_get_items); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "description", _g_get_description); |
| | | |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_quality(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | NewDropItemGroupConfig gen_to_be_invoked = (NewDropItemGroupConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.quality); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_items(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | |
| | | if(gen_param_count == 5&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)) |
| | | if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) |
| | | { |
| | | PackType _type;translator.Get(L, 2, out _type); |
| | | int _itemId = LuaAPI.xlua_tointeger(L, 3); |
| | | System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 4, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)); |
| | | bool _isPreview = LuaAPI.lua_toboolean(L, 5); |
| | | int _itemId = LuaAPI.xlua_tointeger(L, 2); |
| | | System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 3, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)); |
| | | bool _isPreview = LuaAPI.lua_toboolean(L, 4); |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetEquipScore( _itemId, _useDataDic, _isPreview ); |
| | | LuaAPI.xlua_pushinteger(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | if(gen_param_count == 4&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 4)) |
| | | if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 3)) |
| | | { |
| | | PackType _type;translator.Get(L, 2, out _type); |
| | | int _itemId = LuaAPI.xlua_tointeger(L, 3); |
| | | System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 4, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)); |
| | | int _itemId = LuaAPI.xlua_tointeger(L, 2); |
| | | System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 3, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)); |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetEquipScore( _itemId, _useDataDic ); |
| | | LuaAPI.xlua_pushinteger(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | if(gen_param_count == 3&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) |
| | | if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) |
| | | { |
| | | PackType _type;translator.Get(L, 2, out _type); |
| | | int _itemId = LuaAPI.xlua_tointeger(L, 3); |
| | | int _itemId = LuaAPI.xlua_tointeger(L, 2); |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetEquipScore( _itemId ); |
| | | LuaAPI.xlua_pushinteger(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.PackModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 77, 24, 4); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 77, 22, 4); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "makeDruglist", _g_get_makeDruglist); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPlayBetterEquipEffect", _g_get_isPlayBetterEquipEffect); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyRedPointLvlimt", _g_get_fairyRedPointLvlimt); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsRedpointLvlimt", _g_get_wingsRedpointLvlimt); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "fairyGetPathId", _g_get_fairyGetPathId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardGetPathId", _g_get_guardGetPathId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsGetPathIdDict", _g_get_wingsGetPathIdDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonUseDict", _g_get_dungeonUseDict); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookLineIndex", _g_get_lookLineIndex); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_fairyRedPointLvlimt(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.PackModel gen_to_be_invoked = (Snxxz.UI.PackModel)translator.FastGetCSObj(L, 1); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_wingsRedpointLvlimt(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.PackModel gen_to_be_invoked = (Snxxz.UI.PackModel)translator.FastGetCSObj(L, 1); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_fairyGetPathId(RealStatePtr L) |
| | | static int _g_get_guardGetPathId(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.TitleModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 15, 3, 2); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 15, 4, 2); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnRefreshGainTitle", _e_OnRefreshGainTitle); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentSelectTitle", _g_get_presentSelectTitle); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointRemindSymble", _g_get_reikiPointRemindSymble); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentSelectTitle", _g_get_presentSelectTitle); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "titleRedpoint", _g_get_titleRedpoint); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "roleTitleList", _g_get_roleTitleList); |
| | | |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_reikiPointRemindSymble(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.TitleModel gen_to_be_invoked = (Snxxz.UI.TitleModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.reikiPointRemindSymble); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_presentSelectTitle(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | | |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 17, 26, 6); |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 16, 26, 6); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAxis", _m_GetAxis_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetAxisRaw", _m_GetAxisRaw_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetButton", _m_GetButton_xlua_st_); |
| | |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeyDown", _m_GetKeyDown_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeyUp", _m_GetKeyUp_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetJoystickNames", _m_GetJoystickNames_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "IsJoystickPreconfigured", _m_IsJoystickPreconfigured_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButton", _m_GetMouseButton_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButtonDown", _m_GetMouseButtonDown_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "GetMouseButtonUp", _m_GetMouseButtonUp_xlua_st_); |
| | |
| | | |
| | | string[] gen_ret = UnityEngine.Input.GetJoystickNames( ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsJoystickPreconfigured_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string _joystickName = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | bool gen_ret = UnityEngine.Input.IsJoystickPreconfigured( _joystickName ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |