From 929319ecb207edadbd47c28a20a2091114e4be27 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 27 六月 2019 16:06:46 +0800
Subject: [PATCH] 3335 更新xlua导出
---
Lua/Gen/UnityEngineInputWrap.cs | 28 +---------------------------
1 files changed, 1 insertions(+), 27 deletions(-)
diff --git a/Lua/Gen/UnityEngineInputWrap.cs b/Lua/Gen/UnityEngineInputWrap.cs
index c0493bf..4419e95 100644
--- a/Lua/Gen/UnityEngineInputWrap.cs
+++ b/Lua/Gen/UnityEngineInputWrap.cs
@@ -31,7 +31,7 @@
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_);
@@ -41,7 +41,6 @@
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_);
@@ -384,31 +383,6 @@
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);
--
Gitblit v1.8.0