res
This commit is contained in:
parent
a351869a40
commit
4ce72abeb5
@ -1,184 +1,184 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BFBFEvent_1_SystemCollectionsGenericList_1_BFBFFinger__Wrap
|
public class BFBFEvent_1_SystemCollectionsGenericList_1_BFBFFinger__Wrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>);
|
System.Type type = typeof(BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 2, 1, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 2, 1, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", __AddMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", __AddMeta);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", __SubMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", __SubMeta);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invoke", _m_Invoke);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invoke", _m_Invoke);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>();
|
var gen_ret = new BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
if(LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
||||||
{
|
{
|
||||||
int _length = LuaAPI.xlua_tointeger(L, 2);
|
int _length = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>(_length);
|
var gen_ret = new BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>(_length);
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>();
|
var gen_ret = new BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __AddMeta(RealStatePtr L)
|
static int __AddMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>>(L, 1) && translator.Assignable<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2))
|
if (translator.Assignable<BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>>(L, 1) && translator.Assignable<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2))
|
||||||
{
|
{
|
||||||
BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> leftside = (BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>)translator.GetObject(L, 1, typeof(BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>));
|
BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> leftside = (BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>)translator.GetObject(L, 1, typeof(BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>));
|
||||||
System.Action<System.Collections.Generic.List<BF.BFFinger>> rightside = translator.GetDelegate<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2);
|
System.Action<System.Collections.Generic.List<BF.BFFinger>> rightside = translator.GetDelegate<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2);
|
||||||
|
|
||||||
translator.Push(L, leftside + rightside);
|
translator.Push(L, leftside + rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of + operator, need BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of + operator, need BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __SubMeta(RealStatePtr L)
|
static int __SubMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>>(L, 1) && translator.Assignable<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2))
|
if (translator.Assignable<BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>>(L, 1) && translator.Assignable<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2))
|
||||||
{
|
{
|
||||||
BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> leftside = (BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>)translator.GetObject(L, 1, typeof(BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>));
|
BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> leftside = (BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>)translator.GetObject(L, 1, typeof(BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>));
|
||||||
System.Action<System.Collections.Generic.List<BF.BFFinger>> rightside = translator.GetDelegate<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2);
|
System.Action<System.Collections.Generic.List<BF.BFFinger>> rightside = translator.GetDelegate<System.Action<System.Collections.Generic.List<BF.BFFinger>>>(L, 2);
|
||||||
|
|
||||||
translator.Push(L, leftside - rightside);
|
translator.Push(L, leftside - rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of - operator, need BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of - operator, need BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Invoke(RealStatePtr L)
|
static int _m_Invoke(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> gen_to_be_invoked = (BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>)translator.FastGetCSObj(L, 1);
|
BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>> gen_to_be_invoked = (BF.BFEvent<System.Collections.Generic.List<BF.BFFinger>>)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
System.Collections.Generic.List<BF.BFFinger> _t = (System.Collections.Generic.List<BF.BFFinger>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<BF.BFFinger>));
|
System.Collections.Generic.List<BF.BFFinger> _t = (System.Collections.Generic.List<BF.BFFinger>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<BF.BFFinger>));
|
||||||
|
|
||||||
gen_to_be_invoked.Invoke( _t );
|
gen_to_be_invoked.Invoke( _t );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,185 +1,185 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BFBFEvent_2_BFSelectEventTypeBFBFFinger_Wrap
|
public class BFBFEvent_2_BFSelectEventTypeBFBFFinger_Wrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BF.BFEvent<BF.SelectEventType, BF.BFFinger>);
|
System.Type type = typeof(BF.BFEvent<BF.SelectEventType, BF.BFFinger>);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 2, 1, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 2, 1, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", __AddMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", __AddMeta);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", __SubMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", __SubMeta);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invoke", _m_Invoke);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invoke", _m_Invoke);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<BF.SelectEventType, BF.BFFinger>();
|
var gen_ret = new BF.BFEvent<BF.SelectEventType, BF.BFFinger>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
if(LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
||||||
{
|
{
|
||||||
int _length = LuaAPI.xlua_tointeger(L, 2);
|
int _length = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<BF.SelectEventType, BF.BFFinger>(_length);
|
var gen_ret = new BF.BFEvent<BF.SelectEventType, BF.BFFinger>(_length);
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<BF.SelectEventType, BF.BFFinger>();
|
var gen_ret = new BF.BFEvent<BF.SelectEventType, BF.BFFinger>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFEvent<BF.SelectEventType, BF.BFFinger> constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFEvent<BF.SelectEventType, BF.BFFinger> constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __AddMeta(RealStatePtr L)
|
static int __AddMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<BF.BFEvent<BF.SelectEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2))
|
if (translator.Assignable<BF.BFEvent<BF.SelectEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2))
|
||||||
{
|
{
|
||||||
BF.BFEvent<BF.SelectEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.SelectEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.SelectEventType, BF.BFFinger>));
|
BF.BFEvent<BF.SelectEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.SelectEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.SelectEventType, BF.BFFinger>));
|
||||||
System.Action<BF.SelectEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2);
|
System.Action<BF.SelectEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2);
|
||||||
|
|
||||||
translator.Push(L, leftside + rightside);
|
translator.Push(L, leftside + rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of + operator, need BF.BFEvent<BF.SelectEventType, BF.BFFinger>!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of + operator, need BF.BFEvent<BF.SelectEventType, BF.BFFinger>!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __SubMeta(RealStatePtr L)
|
static int __SubMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<BF.BFEvent<BF.SelectEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2))
|
if (translator.Assignable<BF.BFEvent<BF.SelectEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2))
|
||||||
{
|
{
|
||||||
BF.BFEvent<BF.SelectEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.SelectEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.SelectEventType, BF.BFFinger>));
|
BF.BFEvent<BF.SelectEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.SelectEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.SelectEventType, BF.BFFinger>));
|
||||||
System.Action<BF.SelectEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2);
|
System.Action<BF.SelectEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.SelectEventType, BF.BFFinger>>(L, 2);
|
||||||
|
|
||||||
translator.Push(L, leftside - rightside);
|
translator.Push(L, leftside - rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of - operator, need BF.BFEvent<BF.SelectEventType, BF.BFFinger>!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of - operator, need BF.BFEvent<BF.SelectEventType, BF.BFFinger>!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Invoke(RealStatePtr L)
|
static int _m_Invoke(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
BF.BFEvent<BF.SelectEventType, BF.BFFinger> gen_to_be_invoked = (BF.BFEvent<BF.SelectEventType, BF.BFFinger>)translator.FastGetCSObj(L, 1);
|
BF.BFEvent<BF.SelectEventType, BF.BFFinger> gen_to_be_invoked = (BF.BFEvent<BF.SelectEventType, BF.BFFinger>)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
BF.SelectEventType _t1;translator.Get(L, 2, out _t1);
|
BF.SelectEventType _t1;translator.Get(L, 2, out _t1);
|
||||||
BF.BFFinger _t2 = (BF.BFFinger)translator.GetObject(L, 3, typeof(BF.BFFinger));
|
BF.BFFinger _t2 = (BF.BFFinger)translator.GetObject(L, 3, typeof(BF.BFFinger));
|
||||||
|
|
||||||
gen_to_be_invoked.Invoke( _t1, _t2 );
|
gen_to_be_invoked.Invoke( _t1, _t2 );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,185 +1,185 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BFBFEvent_2_BFTouchEventTypeBFBFFinger_Wrap
|
public class BFBFEvent_2_BFTouchEventTypeBFBFFinger_Wrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BF.BFEvent<BF.TouchEventType, BF.BFFinger>);
|
System.Type type = typeof(BF.BFEvent<BF.TouchEventType, BF.BFFinger>);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 2, 1, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 2, 1, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", __AddMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__add", __AddMeta);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", __SubMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__sub", __SubMeta);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invoke", _m_Invoke);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invoke", _m_Invoke);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<BF.TouchEventType, BF.BFFinger>();
|
var gen_ret = new BF.BFEvent<BF.TouchEventType, BF.BFFinger>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
if(LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
|
||||||
{
|
{
|
||||||
int _length = LuaAPI.xlua_tointeger(L, 2);
|
int _length = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<BF.TouchEventType, BF.BFFinger>(_length);
|
var gen_ret = new BF.BFEvent<BF.TouchEventType, BF.BFFinger>(_length);
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFEvent<BF.TouchEventType, BF.BFFinger>();
|
var gen_ret = new BF.BFEvent<BF.TouchEventType, BF.BFFinger>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFEvent<BF.TouchEventType, BF.BFFinger> constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFEvent<BF.TouchEventType, BF.BFFinger> constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __AddMeta(RealStatePtr L)
|
static int __AddMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<BF.BFEvent<BF.TouchEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2))
|
if (translator.Assignable<BF.BFEvent<BF.TouchEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2))
|
||||||
{
|
{
|
||||||
BF.BFEvent<BF.TouchEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.TouchEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.TouchEventType, BF.BFFinger>));
|
BF.BFEvent<BF.TouchEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.TouchEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.TouchEventType, BF.BFFinger>));
|
||||||
System.Action<BF.TouchEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2);
|
System.Action<BF.TouchEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2);
|
||||||
|
|
||||||
translator.Push(L, leftside + rightside);
|
translator.Push(L, leftside + rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of + operator, need BF.BFEvent<BF.TouchEventType, BF.BFFinger>!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of + operator, need BF.BFEvent<BF.TouchEventType, BF.BFFinger>!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __SubMeta(RealStatePtr L)
|
static int __SubMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<BF.BFEvent<BF.TouchEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2))
|
if (translator.Assignable<BF.BFEvent<BF.TouchEventType, BF.BFFinger>>(L, 1) && translator.Assignable<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2))
|
||||||
{
|
{
|
||||||
BF.BFEvent<BF.TouchEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.TouchEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.TouchEventType, BF.BFFinger>));
|
BF.BFEvent<BF.TouchEventType, BF.BFFinger> leftside = (BF.BFEvent<BF.TouchEventType, BF.BFFinger>)translator.GetObject(L, 1, typeof(BF.BFEvent<BF.TouchEventType, BF.BFFinger>));
|
||||||
System.Action<BF.TouchEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2);
|
System.Action<BF.TouchEventType, BF.BFFinger> rightside = translator.GetDelegate<System.Action<BF.TouchEventType, BF.BFFinger>>(L, 2);
|
||||||
|
|
||||||
translator.Push(L, leftside - rightside);
|
translator.Push(L, leftside - rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of - operator, need BF.BFEvent<BF.TouchEventType, BF.BFFinger>!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of - operator, need BF.BFEvent<BF.TouchEventType, BF.BFFinger>!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Invoke(RealStatePtr L)
|
static int _m_Invoke(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
BF.BFEvent<BF.TouchEventType, BF.BFFinger> gen_to_be_invoked = (BF.BFEvent<BF.TouchEventType, BF.BFFinger>)translator.FastGetCSObj(L, 1);
|
BF.BFEvent<BF.TouchEventType, BF.BFFinger> gen_to_be_invoked = (BF.BFEvent<BF.TouchEventType, BF.BFFinger>)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
BF.TouchEventType _t1;translator.Get(L, 2, out _t1);
|
BF.TouchEventType _t1;translator.Get(L, 2, out _t1);
|
||||||
BF.BFFinger _t2 = (BF.BFFinger)translator.GetObject(L, 3, typeof(BF.BFFinger));
|
BF.BFFinger _t2 = (BF.BFFinger)translator.GetObject(L, 3, typeof(BF.BFFinger));
|
||||||
|
|
||||||
gen_to_be_invoked.Invoke( _t1, _t2 );
|
gen_to_be_invoked.Invoke( _t1, _t2 );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,329 +1,329 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BFBFGridLayoutWrap
|
public class BFBFGridLayoutWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BF.BFGridLayout);
|
System.Type type = typeof(BF.BFGridLayout);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 3, 5, 5);
|
Utils.BeginObjectRegister(type, L, translator, 0, 3, 5, 5);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshLayout", _m_RefreshLayout);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshLayout", _m_RefreshLayout);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetVerticalSize", _m_GetVerticalSize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetVerticalSize", _m_GetVerticalSize);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHorizontalSize", _m_GetHorizontalSize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHorizontalSize", _m_GetHorizontalSize);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Spaceing", _g_get_Spaceing);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Spaceing", _g_get_Spaceing);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CellSize", _g_get_CellSize);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CellSize", _g_get_CellSize);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "StartCorner", _g_get_StartCorner);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "StartCorner", _g_get_StartCorner);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ConstraintType", _g_get_ConstraintType);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ConstraintType", _g_get_ConstraintType);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ConstraintCount", _g_get_ConstraintCount);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ConstraintCount", _g_get_ConstraintCount);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Spaceing", _s_set_Spaceing);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Spaceing", _s_set_Spaceing);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CellSize", _s_set_CellSize);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CellSize", _s_set_CellSize);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "StartCorner", _s_set_StartCorner);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "StartCorner", _s_set_StartCorner);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ConstraintType", _s_set_ConstraintType);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ConstraintType", _s_set_ConstraintType);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ConstraintCount", _s_set_ConstraintCount);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ConstraintCount", _s_set_ConstraintCount);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.BFGridLayout();
|
var gen_ret = new BF.BFGridLayout();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFGridLayout constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.BFGridLayout constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_RefreshLayout(RealStatePtr L)
|
static int _m_RefreshLayout(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
gen_to_be_invoked.RefreshLayout( );
|
gen_to_be_invoked.RefreshLayout( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetVerticalSize(RealStatePtr L)
|
static int _m_GetVerticalSize(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetVerticalSize( );
|
var gen_ret = gen_to_be_invoked.GetVerticalSize( );
|
||||||
LuaAPI.lua_pushnumber(L, gen_ret);
|
LuaAPI.lua_pushnumber(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetHorizontalSize(RealStatePtr L)
|
static int _m_GetHorizontalSize(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetHorizontalSize( );
|
var gen_ret = gen_to_be_invoked.GetHorizontalSize( );
|
||||||
LuaAPI.lua_pushnumber(L, gen_ret);
|
LuaAPI.lua_pushnumber(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_Spaceing(RealStatePtr L)
|
static int _g_get_Spaceing(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
translator.PushUnityEngineVector2(L, gen_to_be_invoked.Spaceing);
|
translator.PushUnityEngineVector2(L, gen_to_be_invoked.Spaceing);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_CellSize(RealStatePtr L)
|
static int _g_get_CellSize(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
translator.PushUnityEngineVector2(L, gen_to_be_invoked.CellSize);
|
translator.PushUnityEngineVector2(L, gen_to_be_invoked.CellSize);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_StartCorner(RealStatePtr L)
|
static int _g_get_StartCorner(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.StartCorner);
|
translator.Push(L, gen_to_be_invoked.StartCorner);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_ConstraintType(RealStatePtr L)
|
static int _g_get_ConstraintType(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.ConstraintType);
|
translator.Push(L, gen_to_be_invoked.ConstraintType);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_ConstraintCount(RealStatePtr L)
|
static int _g_get_ConstraintCount(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ConstraintCount);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ConstraintCount);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_Spaceing(RealStatePtr L)
|
static int _s_set_Spaceing(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.Spaceing = gen_value;
|
gen_to_be_invoked.Spaceing = gen_value;
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_CellSize(RealStatePtr L)
|
static int _s_set_CellSize(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.CellSize = gen_value;
|
gen_to_be_invoked.CellSize = gen_value;
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_StartCorner(RealStatePtr L)
|
static int _s_set_StartCorner(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
BF.BFGridLayout.Corner gen_value;translator.Get(L, 2, out gen_value);
|
BF.BFGridLayout.Corner gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.StartCorner = gen_value;
|
gen_to_be_invoked.StartCorner = gen_value;
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_ConstraintType(RealStatePtr L)
|
static int _s_set_ConstraintType(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
BF.BFGridLayout.Constraint gen_value;translator.Get(L, 2, out gen_value);
|
BF.BFGridLayout.Constraint gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.ConstraintType = gen_value;
|
gen_to_be_invoked.ConstraintType = gen_value;
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_ConstraintCount(RealStatePtr L)
|
static int _s_set_ConstraintCount(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
BF.BFGridLayout gen_to_be_invoked = (BF.BFGridLayout)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.ConstraintCount = LuaAPI.xlua_tointeger(L, 2);
|
gen_to_be_invoked.ConstraintCount = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
208
Assets/XLua/Gen/BF_BattleControlBgWrap.cs
Normal file
208
Assets/XLua/Gen/BF_BattleControlBgWrap.cs
Normal file
@ -0,0 +1,208 @@
|
|||||||
|
#if USE_UNI_LUA
|
||||||
|
using LuaAPI = UniLua.Lua;
|
||||||
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
|
#else
|
||||||
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
|
using RealStatePtr = System.IntPtr;
|
||||||
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
using XLua;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
|
namespace XLua.CSObjectWrap
|
||||||
|
{
|
||||||
|
using Utils = XLua.Utils;
|
||||||
|
public class BFBattleControlBgWrap
|
||||||
|
{
|
||||||
|
public static void __Register(RealStatePtr L)
|
||||||
|
{
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
System.Type type = typeof(BF.BattleControlBg);
|
||||||
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 4, 4);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "speed", _g_get_speed);
|
||||||
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "endX", _g_get_endX);
|
||||||
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetX", _g_get_resetX);
|
||||||
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "type", _g_get_type);
|
||||||
|
|
||||||
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "speed", _s_set_speed);
|
||||||
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "endX", _s_set_endX);
|
||||||
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "resetX", _s_set_resetX);
|
||||||
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "type", _s_set_type);
|
||||||
|
|
||||||
|
|
||||||
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
|
null, null, null);
|
||||||
|
|
||||||
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Utils.EndClassRegister(type, L, translator);
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int __CreateInstance(RealStatePtr L)
|
||||||
|
{
|
||||||
|
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
|
{
|
||||||
|
|
||||||
|
var gen_ret = new BF.BattleControlBg();
|
||||||
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.BattleControlBg constructor!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_speed(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.speed);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_endX(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.endX);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_resetX(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.resetX);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _g_get_type(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.type);
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _s_set_speed(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
gen_to_be_invoked.speed = (float)LuaAPI.lua_tonumber(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_endX(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
gen_to_be_invoked.endX = (float)LuaAPI.lua_tonumber(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_resetX(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
gen_to_be_invoked.resetX = (float)LuaAPI.lua_tonumber(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_type(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
|
||||||
|
gen_to_be_invoked.type = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,84 +1,84 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BFEnumFlagsAttributeWrap
|
public class BFEnumFlagsAttributeWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BF.EnumFlagsAttribute);
|
System.Type type = typeof(BF.EnumFlagsAttribute);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.EnumFlagsAttribute();
|
var gen_ret = new BF.EnumFlagsAttribute();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BF.EnumFlagsAttribute constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.EnumFlagsAttribute constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,97 +1,97 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BFMonoSingleton_1_AdManager_Wrap
|
public class BFMonoSingleton_1_AdManager_Wrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BF.MonoSingleton<AdManager>);
|
System.Type type = typeof(BF.MonoSingleton<AdManager>);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 1, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 1, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Instance", _g_get_Instance);
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Instance", _g_get_Instance);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new BF.MonoSingleton<AdManager>();
|
var gen_ret = new BF.MonoSingleton<AdManager>();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BF.MonoSingleton<AdManager> constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BF.MonoSingleton<AdManager> constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_Instance(RealStatePtr L)
|
static int _g_get_Instance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
translator.Push(L, BF.MonoSingleton<AdManager>.Instance);
|
translator.Push(L, BF.MonoSingleton<AdManager>.Instance);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,116 +1,116 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class BestHTTPConnectionsHTTP2HTTP2ResponseWrap
|
public class BestHTTPConnectionsHTTP2HTTP2ResponseWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(BestHTTP.Connections.HTTP2.HTTP2Response);
|
System.Type type = typeof(BestHTTP.Connections.HTTP2.HTTP2Response);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 2, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 2, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpectedContentLength", _g_get_ExpectedContentLength);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpectedContentLength", _g_get_ExpectedContentLength);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsCompressed", _g_get_IsCompressed);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsCompressed", _g_get_IsCompressed);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 3 && translator.Assignable<BestHTTP.HTTPRequest>(L, 2) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
|
if(LuaAPI.lua_gettop(L) == 3 && translator.Assignable<BestHTTP.HTTPRequest>(L, 2) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
|
||||||
{
|
{
|
||||||
BestHTTP.HTTPRequest _request = (BestHTTP.HTTPRequest)translator.GetObject(L, 2, typeof(BestHTTP.HTTPRequest));
|
BestHTTP.HTTPRequest _request = (BestHTTP.HTTPRequest)translator.GetObject(L, 2, typeof(BestHTTP.HTTPRequest));
|
||||||
bool _isFromCache = LuaAPI.lua_toboolean(L, 3);
|
bool _isFromCache = LuaAPI.lua_toboolean(L, 3);
|
||||||
|
|
||||||
var gen_ret = new BestHTTP.Connections.HTTP2.HTTP2Response(_request, _isFromCache);
|
var gen_ret = new BestHTTP.Connections.HTTP2.HTTP2Response(_request, _isFromCache);
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to BestHTTP.Connections.HTTP2.HTTP2Response constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to BestHTTP.Connections.HTTP2.HTTP2Response constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_ExpectedContentLength(RealStatePtr L)
|
static int _g_get_ExpectedContentLength(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BestHTTP.Connections.HTTP2.HTTP2Response gen_to_be_invoked = (BestHTTP.Connections.HTTP2.HTTP2Response)translator.FastGetCSObj(L, 1);
|
BestHTTP.Connections.HTTP2.HTTP2Response gen_to_be_invoked = (BestHTTP.Connections.HTTP2.HTTP2Response)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ExpectedContentLength);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ExpectedContentLength);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_IsCompressed(RealStatePtr L)
|
static int _g_get_IsCompressed(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
BestHTTP.Connections.HTTP2.HTTP2Response gen_to_be_invoked = (BestHTTP.Connections.HTTP2.HTTP2Response)translator.FastGetCSObj(L, 1);
|
BestHTTP.Connections.HTTP2.HTTP2Response gen_to_be_invoked = (BestHTTP.Connections.HTTP2.HTTP2Response)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsCompressed);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsCompressed);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -24,6 +24,9 @@ namespace XLua.CSObjectWrap
|
|||||||
Utils.BeginObjectRegister(type, L, translator, 1, 11, 5, 5);
|
Utils.BeginObjectRegister(type, L, translator, 1, 11, 5, 5);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", __EqMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", __EqMeta);
|
||||||
|
|
||||||
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Contains", _m_Contains);
|
||||||
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SqrDistance", _m_SqrDistance);
|
||||||
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClosestPoint", _m_ClosestPoint);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", _m_GetHashCode);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", _m_GetHashCode);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", _m_Equals);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", _m_Equals);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetMinMax", _m_SetMinMax);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetMinMax", _m_SetMinMax);
|
||||||
@ -32,9 +35,6 @@ namespace XLua.CSObjectWrap
|
|||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Intersects", _m_Intersects);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Intersects", _m_Intersects);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IntersectRay", _m_IntersectRay);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IntersectRay", _m_IntersectRay);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Contains", _m_Contains);
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SqrDistance", _m_SqrDistance);
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClosestPoint", _m_ClosestPoint);
|
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "center", _g_get_center);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "center", _g_get_center);
|
||||||
@ -127,6 +127,99 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_Contains(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
UnityEngine.Bounds gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Vector3 _point;translator.Get(L, 2, out _point);
|
||||||
|
|
||||||
|
var gen_ret = gen_to_be_invoked.Contains( _point );
|
||||||
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
translator.UpdateUnityEngineBounds(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_SqrDistance(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
UnityEngine.Bounds gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Vector3 _point;translator.Get(L, 2, out _point);
|
||||||
|
|
||||||
|
var gen_ret = gen_to_be_invoked.SqrDistance( _point );
|
||||||
|
LuaAPI.lua_pushnumber(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
translator.UpdateUnityEngineBounds(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_ClosestPoint(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
UnityEngine.Bounds gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
UnityEngine.Vector3 _point;translator.Get(L, 2, out _point);
|
||||||
|
|
||||||
|
var gen_ret = gen_to_be_invoked.ClosestPoint( _point );
|
||||||
|
translator.PushUnityEngineVector3(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
translator.UpdateUnityEngineBounds(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetHashCode(RealStatePtr L)
|
static int _m_GetHashCode(RealStatePtr L)
|
||||||
{
|
{
|
||||||
@ -471,99 +564,6 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int _m_Contains(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Bounds gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
UnityEngine.Vector3 _point;translator.Get(L, 2, out _point);
|
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.Contains( _point );
|
|
||||||
LuaAPI.lua_pushboolean(L, gen_ret);
|
|
||||||
|
|
||||||
|
|
||||||
translator.UpdateUnityEngineBounds(L, 1, gen_to_be_invoked);
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int _m_SqrDistance(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Bounds gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
UnityEngine.Vector3 _point;translator.Get(L, 2, out _point);
|
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.SqrDistance( _point );
|
|
||||||
LuaAPI.lua_pushnumber(L, gen_ret);
|
|
||||||
|
|
||||||
|
|
||||||
translator.UpdateUnityEngineBounds(L, 1, gen_to_be_invoked);
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int _m_ClosestPoint(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Bounds gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
UnityEngine.Vector3 _point;translator.Get(L, 2, out _point);
|
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.ClosestPoint( _point );
|
|
||||||
translator.PushUnityEngineVector3(L, gen_ret);
|
|
||||||
|
|
||||||
|
|
||||||
translator.UpdateUnityEngineBounds(L, 1, gen_to_be_invoked);
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,320 +1,320 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineEventsUnityEventBaseWrap
|
public class UnityEngineEventsUnityEventBaseWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.Events.UnityEventBase);
|
System.Type type = typeof(UnityEngine.Events.UnityEventBase);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 7, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 7, 0, 0);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentEventCount", _m_GetPersistentEventCount);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentEventCount", _m_GetPersistentEventCount);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentTarget", _m_GetPersistentTarget);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentTarget", _m_GetPersistentTarget);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentMethodName", _m_GetPersistentMethodName);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentMethodName", _m_GetPersistentMethodName);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPersistentListenerState", _m_SetPersistentListenerState);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPersistentListenerState", _m_SetPersistentListenerState);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentListenerState", _m_GetPersistentListenerState);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPersistentListenerState", _m_GetPersistentListenerState);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveAllListeners", _m_RemoveAllListeners);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveAllListeners", _m_RemoveAllListeners);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValidMethodInfo", _m_GetValidMethodInfo_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValidMethodInfo", _m_GetValidMethodInfo_xlua_st_);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
return LuaAPI.luaL_error(L, "UnityEngine.Events.UnityEventBase does not have a constructor!");
|
return LuaAPI.luaL_error(L, "UnityEngine.Events.UnityEventBase does not have a constructor!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetPersistentEventCount(RealStatePtr L)
|
static int _m_GetPersistentEventCount(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetPersistentEventCount( );
|
var gen_ret = gen_to_be_invoked.GetPersistentEventCount( );
|
||||||
LuaAPI.xlua_pushinteger(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetPersistentTarget(RealStatePtr L)
|
static int _m_GetPersistentTarget(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
int _index = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetPersistentTarget( _index );
|
var gen_ret = gen_to_be_invoked.GetPersistentTarget( _index );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetPersistentMethodName(RealStatePtr L)
|
static int _m_GetPersistentMethodName(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
int _index = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetPersistentMethodName( _index );
|
var gen_ret = gen_to_be_invoked.GetPersistentMethodName( _index );
|
||||||
LuaAPI.lua_pushstring(L, gen_ret);
|
LuaAPI.lua_pushstring(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_SetPersistentListenerState(RealStatePtr L)
|
static int _m_SetPersistentListenerState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
int _index = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
||||||
UnityEngine.Events.UnityEventCallState _state;translator.Get(L, 3, out _state);
|
UnityEngine.Events.UnityEventCallState _state;translator.Get(L, 3, out _state);
|
||||||
|
|
||||||
gen_to_be_invoked.SetPersistentListenerState( _index, _state );
|
gen_to_be_invoked.SetPersistentListenerState( _index, _state );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetPersistentListenerState(RealStatePtr L)
|
static int _m_GetPersistentListenerState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
int _index = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetPersistentListenerState( _index );
|
var gen_ret = gen_to_be_invoked.GetPersistentListenerState( _index );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_RemoveAllListeners(RealStatePtr L)
|
static int _m_RemoveAllListeners(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
gen_to_be_invoked.RemoveAllListeners( );
|
gen_to_be_invoked.RemoveAllListeners( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_ToString(RealStatePtr L)
|
static int _m_ToString(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
UnityEngine.Events.UnityEventBase gen_to_be_invoked = (UnityEngine.Events.UnityEventBase)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.ToString( );
|
var gen_ret = gen_to_be_invoked.ToString( );
|
||||||
LuaAPI.lua_pushstring(L, gen_ret);
|
LuaAPI.lua_pushstring(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetValidMethodInfo_xlua_st_(RealStatePtr L)
|
static int _m_GetValidMethodInfo_xlua_st_(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int gen_param_count = LuaAPI.lua_gettop(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
if(gen_param_count == 3&& translator.Assignable<object>(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Type[]>(L, 3))
|
if(gen_param_count == 3&& translator.Assignable<object>(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Type[]>(L, 3))
|
||||||
{
|
{
|
||||||
object _obj = translator.GetObject(L, 1, typeof(object));
|
object _obj = translator.GetObject(L, 1, typeof(object));
|
||||||
string _functionName = LuaAPI.lua_tostring(L, 2);
|
string _functionName = LuaAPI.lua_tostring(L, 2);
|
||||||
System.Type[] _argumentTypes = (System.Type[])translator.GetObject(L, 3, typeof(System.Type[]));
|
System.Type[] _argumentTypes = (System.Type[])translator.GetObject(L, 3, typeof(System.Type[]));
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Events.UnityEventBase.GetValidMethodInfo( _obj, _functionName, _argumentTypes );
|
var gen_ret = UnityEngine.Events.UnityEventBase.GetValidMethodInfo( _obj, _functionName, _argumentTypes );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(gen_param_count == 3&& translator.Assignable<System.Type>(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Type[]>(L, 3))
|
if(gen_param_count == 3&& translator.Assignable<System.Type>(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Type[]>(L, 3))
|
||||||
{
|
{
|
||||||
System.Type _objectType = (System.Type)translator.GetObject(L, 1, typeof(System.Type));
|
System.Type _objectType = (System.Type)translator.GetObject(L, 1, typeof(System.Type));
|
||||||
string _functionName = LuaAPI.lua_tostring(L, 2);
|
string _functionName = LuaAPI.lua_tostring(L, 2);
|
||||||
System.Type[] _argumentTypes = (System.Type[])translator.GetObject(L, 3, typeof(System.Type[]));
|
System.Type[] _argumentTypes = (System.Type[])translator.GetObject(L, 3, typeof(System.Type[]));
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Events.UnityEventBase.GetValidMethodInfo( _objectType, _functionName, _argumentTypes );
|
var gen_ret = UnityEngine.Events.UnityEventBase.GetValidMethodInfo( _objectType, _functionName, _argumentTypes );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Events.UnityEventBase.GetValidMethodInfo!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Events.UnityEventBase.GetValidMethodInfo!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -32,16 +32,7 @@ namespace XLua.CSObjectWrap
|
|||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 54, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 54, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "ClosestPowerOfTwo", _m_ClosestPowerOfTwo_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "Sin", _m_Sin_xlua_st_);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "IsPowerOfTwo", _m_IsPowerOfTwo_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "NextPowerOfTwo", _m_NextPowerOfTwo_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "GammaToLinearSpace", _m_GammaToLinearSpace_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "LinearToGammaSpace", _m_LinearToGammaSpace_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "CorrelatedColorTemperatureToRGB", _m_CorrelatedColorTemperatureToRGB_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "FloatToHalf", _m_FloatToHalf_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "HalfToFloat", _m_HalfToFloat_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "PerlinNoise", _m_PerlinNoise_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "Sin", _m_Sin_xlua_st_);
|
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "Cos", _m_Cos_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "Cos", _m_Cos_xlua_st_);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "Tan", _m_Tan_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "Tan", _m_Tan_xlua_st_);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "Asin", _m_Asin_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "Asin", _m_Asin_xlua_st_);
|
||||||
@ -79,6 +70,15 @@ namespace XLua.CSObjectWrap
|
|||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "PingPong", _m_PingPong_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "PingPong", _m_PingPong_xlua_st_);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "InverseLerp", _m_InverseLerp_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "InverseLerp", _m_InverseLerp_xlua_st_);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "DeltaAngle", _m_DeltaAngle_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "DeltaAngle", _m_DeltaAngle_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "ClosestPowerOfTwo", _m_ClosestPowerOfTwo_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "IsPowerOfTwo", _m_IsPowerOfTwo_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "NextPowerOfTwo", _m_NextPowerOfTwo_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "GammaToLinearSpace", _m_GammaToLinearSpace_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "LinearToGammaSpace", _m_LinearToGammaSpace_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "CorrelatedColorTemperatureToRGB", _m_CorrelatedColorTemperatureToRGB_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "FloatToHalf", _m_FloatToHalf_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "HalfToFloat", _m_HalfToFloat_xlua_st_);
|
||||||
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "PerlinNoise", _m_PerlinNoise_xlua_st_);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PI", UnityEngine.Mathf.PI);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "PI", UnityEngine.Mathf.PI);
|
||||||
@ -122,234 +122,6 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int _m_ClosestPowerOfTwo_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
int _value = LuaAPI.xlua_tointeger(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.ClosestPowerOfTwo( _value );
|
|
||||||
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_IsPowerOfTwo_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
int _value = LuaAPI.xlua_tointeger(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.IsPowerOfTwo( _value );
|
|
||||||
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_NextPowerOfTwo_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
int _value = LuaAPI.xlua_tointeger(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.NextPowerOfTwo( _value );
|
|
||||||
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_GammaToLinearSpace_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
float _value = (float)LuaAPI.lua_tonumber(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.GammaToLinearSpace( _value );
|
|
||||||
LuaAPI.lua_pushnumber(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_LinearToGammaSpace_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
float _value = (float)LuaAPI.lua_tonumber(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.LinearToGammaSpace( _value );
|
|
||||||
LuaAPI.lua_pushnumber(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_CorrelatedColorTemperatureToRGB_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
float _kelvin = (float)LuaAPI.lua_tonumber(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.CorrelatedColorTemperatureToRGB( _kelvin );
|
|
||||||
translator.PushUnityEngineColor(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_FloatToHalf_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
float _val = (float)LuaAPI.lua_tonumber(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.FloatToHalf( _val );
|
|
||||||
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_HalfToFloat_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
ushort _val = (ushort)LuaAPI.xlua_tointeger(L, 1);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.HalfToFloat( _val );
|
|
||||||
LuaAPI.lua_pushnumber(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_PerlinNoise_xlua_st_(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
float _x = (float)LuaAPI.lua_tonumber(L, 1);
|
|
||||||
float _y = (float)LuaAPI.lua_tonumber(L, 2);
|
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Mathf.PerlinNoise( _x, _y );
|
|
||||||
LuaAPI.lua_pushnumber(L, gen_ret);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Sin_xlua_st_(RealStatePtr L)
|
static int _m_Sin_xlua_st_(RealStatePtr L)
|
||||||
{
|
{
|
||||||
@ -1542,6 +1314,234 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_ClosestPowerOfTwo_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
int _value = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.ClosestPowerOfTwo( _value );
|
||||||
|
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_IsPowerOfTwo_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
int _value = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.IsPowerOfTwo( _value );
|
||||||
|
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_NextPowerOfTwo_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
int _value = LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.NextPowerOfTwo( _value );
|
||||||
|
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_GammaToLinearSpace_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
float _value = (float)LuaAPI.lua_tonumber(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.GammaToLinearSpace( _value );
|
||||||
|
LuaAPI.lua_pushnumber(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_LinearToGammaSpace_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
float _value = (float)LuaAPI.lua_tonumber(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.LinearToGammaSpace( _value );
|
||||||
|
LuaAPI.lua_pushnumber(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_CorrelatedColorTemperatureToRGB_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
float _kelvin = (float)LuaAPI.lua_tonumber(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.CorrelatedColorTemperatureToRGB( _kelvin );
|
||||||
|
translator.PushUnityEngineColor(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_FloatToHalf_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
float _val = (float)LuaAPI.lua_tonumber(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.FloatToHalf( _val );
|
||||||
|
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_HalfToFloat_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
ushort _val = (ushort)LuaAPI.xlua_tointeger(L, 1);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.HalfToFloat( _val );
|
||||||
|
LuaAPI.lua_pushnumber(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_PerlinNoise_xlua_st_(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
float _x = (float)LuaAPI.lua_tonumber(L, 1);
|
||||||
|
float _y = (float)LuaAPI.lua_tonumber(L, 2);
|
||||||
|
|
||||||
|
var gen_ret = UnityEngine.Mathf.PerlinNoise( _x, _y );
|
||||||
|
LuaAPI.lua_pushnumber(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,110 +1,110 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEnginePurchasingSecurityAppleStoreKitTestTangleWrap
|
public class UnityEnginePurchasingSecurityAppleStoreKitTestTangleWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.Purchasing.Security.AppleStoreKitTestTangle);
|
System.Type type = typeof(UnityEngine.Purchasing.Security.AppleStoreKitTestTangle);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "Data", _m_Data_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "Data", _m_Data_xlua_st_);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "IsPopulated", UnityEngine.Purchasing.Security.AppleStoreKitTestTangle.IsPopulated);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "IsPopulated", UnityEngine.Purchasing.Security.AppleStoreKitTestTangle.IsPopulated);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.Purchasing.Security.AppleStoreKitTestTangle();
|
var gen_ret = new UnityEngine.Purchasing.Security.AppleStoreKitTestTangle();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Purchasing.Security.AppleStoreKitTestTangle constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Purchasing.Security.AppleStoreKitTestTangle constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Data_xlua_st_(RealStatePtr L)
|
static int _m_Data_xlua_st_(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Purchasing.Security.AppleStoreKitTestTangle.Data( );
|
var gen_ret = UnityEngine.Purchasing.Security.AppleStoreKitTestTangle.Data( );
|
||||||
LuaAPI.lua_pushstring(L, gen_ret);
|
LuaAPI.lua_pushstring(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,110 +1,110 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEnginePurchasingSecurityAppleTangleWrap
|
public class UnityEnginePurchasingSecurityAppleTangleWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.Purchasing.Security.AppleTangle);
|
System.Type type = typeof(UnityEngine.Purchasing.Security.AppleTangle);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
|
||||||
Utils.RegisterFunc(L, Utils.CLS_IDX, "Data", _m_Data_xlua_st_);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "Data", _m_Data_xlua_st_);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "IsPopulated", UnityEngine.Purchasing.Security.AppleTangle.IsPopulated);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "IsPopulated", UnityEngine.Purchasing.Security.AppleTangle.IsPopulated);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.Purchasing.Security.AppleTangle();
|
var gen_ret = new UnityEngine.Purchasing.Security.AppleTangle();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Purchasing.Security.AppleTangle constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Purchasing.Security.AppleTangle constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Data_xlua_st_(RealStatePtr L)
|
static int _m_Data_xlua_st_(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = UnityEngine.Purchasing.Security.AppleTangle.Data( );
|
var gen_ret = UnityEngine.Purchasing.Security.AppleTangle.Data( );
|
||||||
LuaAPI.lua_pushstring(L, gen_ret);
|
LuaAPI.lua_pushstring(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,352 +1,352 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineRaycastHitWrap
|
public class UnityEngineRaycastHitWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.RaycastHit);
|
System.Type type = typeof(UnityEngine.RaycastHit);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 13, 4);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 13, 4);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "collider", _g_get_collider);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "collider", _g_get_collider);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "colliderInstanceID", _g_get_colliderInstanceID);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "colliderInstanceID", _g_get_colliderInstanceID);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "point", _g_get_point);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "point", _g_get_point);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "normal", _g_get_normal);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "normal", _g_get_normal);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "barycentricCoordinate", _g_get_barycentricCoordinate);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "barycentricCoordinate", _g_get_barycentricCoordinate);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "distance", _g_get_distance);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "distance", _g_get_distance);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "triangleIndex", _g_get_triangleIndex);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "triangleIndex", _g_get_triangleIndex);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "textureCoord", _g_get_textureCoord);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "textureCoord", _g_get_textureCoord);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "textureCoord2", _g_get_textureCoord2);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "textureCoord2", _g_get_textureCoord2);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "transform", _g_get_transform);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "transform", _g_get_transform);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rigidbody", _g_get_rigidbody);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rigidbody", _g_get_rigidbody);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "articulationBody", _g_get_articulationBody);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "articulationBody", _g_get_articulationBody);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightmapCoord", _g_get_lightmapCoord);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightmapCoord", _g_get_lightmapCoord);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "point", _s_set_point);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "point", _s_set_point);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "normal", _s_set_normal);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "normal", _s_set_normal);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "barycentricCoordinate", _s_set_barycentricCoordinate);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "barycentricCoordinate", _s_set_barycentricCoordinate);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "distance", _s_set_distance);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "distance", _s_set_distance);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
if (LuaAPI.lua_gettop(L) == 1)
|
if (LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
translator.Push(L, default(UnityEngine.RaycastHit));
|
translator.Push(L, default(UnityEngine.RaycastHit));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.RaycastHit constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.RaycastHit constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_collider(RealStatePtr L)
|
static int _g_get_collider(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.collider);
|
translator.Push(L, gen_to_be_invoked.collider);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_colliderInstanceID(RealStatePtr L)
|
static int _g_get_colliderInstanceID(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.colliderInstanceID);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.colliderInstanceID);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_point(RealStatePtr L)
|
static int _g_get_point(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.PushUnityEngineVector3(L, gen_to_be_invoked.point);
|
translator.PushUnityEngineVector3(L, gen_to_be_invoked.point);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_normal(RealStatePtr L)
|
static int _g_get_normal(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.PushUnityEngineVector3(L, gen_to_be_invoked.normal);
|
translator.PushUnityEngineVector3(L, gen_to_be_invoked.normal);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_barycentricCoordinate(RealStatePtr L)
|
static int _g_get_barycentricCoordinate(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.PushUnityEngineVector3(L, gen_to_be_invoked.barycentricCoordinate);
|
translator.PushUnityEngineVector3(L, gen_to_be_invoked.barycentricCoordinate);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_distance(RealStatePtr L)
|
static int _g_get_distance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.distance);
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.distance);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_triangleIndex(RealStatePtr L)
|
static int _g_get_triangleIndex(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.triangleIndex);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.triangleIndex);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_textureCoord(RealStatePtr L)
|
static int _g_get_textureCoord(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.PushUnityEngineVector2(L, gen_to_be_invoked.textureCoord);
|
translator.PushUnityEngineVector2(L, gen_to_be_invoked.textureCoord);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_textureCoord2(RealStatePtr L)
|
static int _g_get_textureCoord2(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.PushUnityEngineVector2(L, gen_to_be_invoked.textureCoord2);
|
translator.PushUnityEngineVector2(L, gen_to_be_invoked.textureCoord2);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_transform(RealStatePtr L)
|
static int _g_get_transform(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.transform);
|
translator.Push(L, gen_to_be_invoked.transform);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_rigidbody(RealStatePtr L)
|
static int _g_get_rigidbody(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.rigidbody);
|
translator.Push(L, gen_to_be_invoked.rigidbody);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_articulationBody(RealStatePtr L)
|
static int _g_get_articulationBody(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.articulationBody);
|
translator.Push(L, gen_to_be_invoked.articulationBody);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_lightmapCoord(RealStatePtr L)
|
static int _g_get_lightmapCoord(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.PushUnityEngineVector2(L, gen_to_be_invoked.lightmapCoord);
|
translator.PushUnityEngineVector2(L, gen_to_be_invoked.lightmapCoord);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_point(RealStatePtr L)
|
static int _s_set_point(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.point = gen_value;
|
gen_to_be_invoked.point = gen_value;
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_normal(RealStatePtr L)
|
static int _s_set_normal(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.normal = gen_value;
|
gen_to_be_invoked.normal = gen_value;
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_barycentricCoordinate(RealStatePtr L)
|
static int _s_set_barycentricCoordinate(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.barycentricCoordinate = gen_value;
|
gen_to_be_invoked.barycentricCoordinate = gen_value;
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_distance(RealStatePtr L)
|
static int _s_set_distance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.RaycastHit gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.distance = (float)LuaAPI.lua_tonumber(L, 2);
|
gen_to_be_invoked.distance = (float)LuaAPI.lua_tonumber(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,406 +1,406 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineSceneManagementSceneWrap
|
public class UnityEngineSceneManagementSceneWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.SceneManagement.Scene);
|
System.Type type = typeof(UnityEngine.SceneManagement.Scene);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 1, 4, 8, 2);
|
Utils.BeginObjectRegister(type, L, translator, 1, 4, 8, 2);
|
||||||
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", __EqMeta);
|
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", __EqMeta);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsValid", _m_IsValid);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsValid", _m_IsValid);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRootGameObjects", _m_GetRootGameObjects);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRootGameObjects", _m_GetRootGameObjects);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", _m_GetHashCode);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", _m_GetHashCode);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", _m_Equals);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", _m_Equals);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "handle", _g_get_handle);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "handle", _g_get_handle);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "path", _g_get_path);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "path", _g_get_path);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isLoaded", _g_get_isLoaded);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isLoaded", _g_get_isLoaded);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "buildIndex", _g_get_buildIndex);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "buildIndex", _g_get_buildIndex);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isDirty", _g_get_isDirty);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isDirty", _g_get_isDirty);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rootCount", _g_get_rootCount);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rootCount", _g_get_rootCount);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isSubScene", _g_get_isSubScene);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isSubScene", _g_get_isSubScene);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "name", _s_set_name);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "name", _s_set_name);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "isSubScene", _s_set_isSubScene);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "isSubScene", _s_set_isSubScene);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
if (LuaAPI.lua_gettop(L) == 1)
|
if (LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
translator.Push(L, default(UnityEngine.SceneManagement.Scene));
|
translator.Push(L, default(UnityEngine.SceneManagement.Scene));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SceneManagement.Scene constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SceneManagement.Scene constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __EqMeta(RealStatePtr L)
|
static int __EqMeta(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
if (translator.Assignable<UnityEngine.SceneManagement.Scene>(L, 1) && translator.Assignable<UnityEngine.SceneManagement.Scene>(L, 2))
|
if (translator.Assignable<UnityEngine.SceneManagement.Scene>(L, 1) && translator.Assignable<UnityEngine.SceneManagement.Scene>(L, 2))
|
||||||
{
|
{
|
||||||
UnityEngine.SceneManagement.Scene leftside;translator.Get(L, 1, out leftside);
|
UnityEngine.SceneManagement.Scene leftside;translator.Get(L, 1, out leftside);
|
||||||
UnityEngine.SceneManagement.Scene rightside;translator.Get(L, 2, out rightside);
|
UnityEngine.SceneManagement.Scene rightside;translator.Get(L, 2, out rightside);
|
||||||
|
|
||||||
LuaAPI.lua_pushboolean(L, leftside == rightside);
|
LuaAPI.lua_pushboolean(L, leftside == rightside);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to right hand of == operator, need UnityEngine.SceneManagement.Scene!");
|
return LuaAPI.luaL_error(L, "invalid arguments to right hand of == operator, need UnityEngine.SceneManagement.Scene!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_IsValid(RealStatePtr L)
|
static int _m_IsValid(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.IsValid( );
|
var gen_ret = gen_to_be_invoked.IsValid( );
|
||||||
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetRootGameObjects(RealStatePtr L)
|
static int _m_GetRootGameObjects(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
int gen_param_count = LuaAPI.lua_gettop(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
if(gen_param_count == 1)
|
if(gen_param_count == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetRootGameObjects( );
|
var gen_ret = gen_to_be_invoked.GetRootGameObjects( );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(gen_param_count == 2&& translator.Assignable<System.Collections.Generic.List<UnityEngine.GameObject>>(L, 2))
|
if(gen_param_count == 2&& translator.Assignable<System.Collections.Generic.List<UnityEngine.GameObject>>(L, 2))
|
||||||
{
|
{
|
||||||
System.Collections.Generic.List<UnityEngine.GameObject> _rootGameObjects = (System.Collections.Generic.List<UnityEngine.GameObject>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.GameObject>));
|
System.Collections.Generic.List<UnityEngine.GameObject> _rootGameObjects = (System.Collections.Generic.List<UnityEngine.GameObject>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.GameObject>));
|
||||||
|
|
||||||
gen_to_be_invoked.GetRootGameObjects( _rootGameObjects );
|
gen_to_be_invoked.GetRootGameObjects( _rootGameObjects );
|
||||||
|
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SceneManagement.Scene.GetRootGameObjects!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SceneManagement.Scene.GetRootGameObjects!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetHashCode(RealStatePtr L)
|
static int _m_GetHashCode(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetHashCode( );
|
var gen_ret = gen_to_be_invoked.GetHashCode( );
|
||||||
LuaAPI.xlua_pushinteger(L, gen_ret);
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Equals(RealStatePtr L)
|
static int _m_Equals(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
object _other = translator.GetObject(L, 2, typeof(object));
|
object _other = translator.GetObject(L, 2, typeof(object));
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.Equals( _other );
|
var gen_ret = gen_to_be_invoked.Equals( _other );
|
||||||
LuaAPI.lua_pushboolean(L, gen_ret);
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_handle(RealStatePtr L)
|
static int _g_get_handle(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.handle);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.handle);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_path(RealStatePtr L)
|
static int _g_get_path(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.path);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.path);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_name(RealStatePtr L)
|
static int _g_get_name(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.name);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.name);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_isLoaded(RealStatePtr L)
|
static int _g_get_isLoaded(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isLoaded);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isLoaded);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_buildIndex(RealStatePtr L)
|
static int _g_get_buildIndex(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.buildIndex);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.buildIndex);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_isDirty(RealStatePtr L)
|
static int _g_get_isDirty(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isDirty);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isDirty);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_rootCount(RealStatePtr L)
|
static int _g_get_rootCount(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.rootCount);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.rootCount);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_isSubScene(RealStatePtr L)
|
static int _g_get_isSubScene(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isSubScene);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isSubScene);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_name(RealStatePtr L)
|
static int _s_set_name(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.name = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.name = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_isSubScene(RealStatePtr L)
|
static int _s_set_isSubScene(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SceneManagement.Scene gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.isSubScene = LuaAPI.lua_toboolean(L, 2);
|
gen_to_be_invoked.isSubScene = LuaAPI.lua_toboolean(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -23,11 +23,11 @@ namespace XLua.CSObjectWrap
|
|||||||
System.Type type = typeof(UnityEngine.ShaderVariantCollection);
|
System.Type type = typeof(UnityEngine.ShaderVariantCollection);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 5, 3, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 5, 3, 0);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Clear", _m_Clear);
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "WarmUp", _m_WarmUp);
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Add", _m_Add);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Add", _m_Add);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Remove", _m_Remove);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Remove", _m_Remove);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Contains", _m_Contains);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Contains", _m_Contains);
|
||||||
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Clear", _m_Clear);
|
||||||
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "WarmUp", _m_WarmUp);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shaderCount", _g_get_shaderCount);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "shaderCount", _g_get_shaderCount);
|
||||||
@ -79,60 +79,6 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int _m_Clear(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.ShaderVariantCollection gen_to_be_invoked = (UnityEngine.ShaderVariantCollection)translator.FastGetCSObj(L, 1);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
gen_to_be_invoked.Clear( );
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
||||||
static int _m_WarmUp(RealStatePtr L)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.ShaderVariantCollection gen_to_be_invoked = (UnityEngine.ShaderVariantCollection)translator.FastGetCSObj(L, 1);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
gen_to_be_invoked.WarmUp( );
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Add(RealStatePtr L)
|
static int _m_Add(RealStatePtr L)
|
||||||
{
|
{
|
||||||
@ -220,6 +166,60 @@ namespace XLua.CSObjectWrap
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_Clear(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
UnityEngine.ShaderVariantCollection gen_to_be_invoked = (UnityEngine.ShaderVariantCollection)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
gen_to_be_invoked.Clear( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
|
static int _m_WarmUp(RealStatePtr L)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
|
||||||
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
|
UnityEngine.ShaderVariantCollection gen_to_be_invoked = (UnityEngine.ShaderVariantCollection)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
gen_to_be_invoked.WarmUp( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
} catch(System.Exception gen_e) {
|
||||||
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,84 +1,84 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineSignInWithAppleSignInWithAppleEventWrap
|
public class UnityEngineSignInWithAppleSignInWithAppleEventWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent);
|
System.Type type = typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.SignInWithApple.SignInWithAppleEvent();
|
var gen_ret = new UnityEngine.SignInWithApple.SignInWithAppleEvent();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithAppleEvent constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithAppleEvent constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,291 +1,291 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineSignInWithAppleSignInWithAppleWrap
|
public class UnityEngineSignInWithAppleSignInWithAppleWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.SignInWithApple.SignInWithApple);
|
System.Type type = typeof(UnityEngine.SignInWithApple.SignInWithApple);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 3, 3, 3);
|
Utils.BeginObjectRegister(type, L, translator, 0, 3, 3, 3);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCredentialState", _m_GetCredentialState);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCredentialState", _m_GetCredentialState);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Login", _m_Login);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Login", _m_Login);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Update", _m_Update);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Update", _m_Update);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onLogin", _g_get_onLogin);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onLogin", _g_get_onLogin);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onCredentialState", _g_get_onCredentialState);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onCredentialState", _g_get_onCredentialState);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onError", _g_get_onError);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onError", _g_get_onError);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onLogin", _s_set_onLogin);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onLogin", _s_set_onLogin);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onCredentialState", _s_set_onCredentialState);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onCredentialState", _s_set_onCredentialState);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onError", _s_set_onError);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onError", _s_set_onError);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.SignInWithApple.SignInWithApple();
|
var gen_ret = new UnityEngine.SignInWithApple.SignInWithApple();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetCredentialState(RealStatePtr L)
|
static int _m_GetCredentialState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
int gen_param_count = LuaAPI.lua_gettop(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
|
if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
|
||||||
{
|
{
|
||||||
string _userID = LuaAPI.lua_tostring(L, 2);
|
string _userID = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
gen_to_be_invoked.GetCredentialState( _userID );
|
gen_to_be_invoked.GetCredentialState( _userID );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 3))
|
if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 3))
|
||||||
{
|
{
|
||||||
string _userID = LuaAPI.lua_tostring(L, 2);
|
string _userID = LuaAPI.lua_tostring(L, 2);
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.Callback _callback = translator.GetDelegate<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 3);
|
UnityEngine.SignInWithApple.SignInWithApple.Callback _callback = translator.GetDelegate<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 3);
|
||||||
|
|
||||||
gen_to_be_invoked.GetCredentialState( _userID, _callback );
|
gen_to_be_invoked.GetCredentialState( _userID, _callback );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple.GetCredentialState!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple.GetCredentialState!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Login(RealStatePtr L)
|
static int _m_Login(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
int gen_param_count = LuaAPI.lua_gettop(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
if(gen_param_count == 1)
|
if(gen_param_count == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
gen_to_be_invoked.Login( );
|
gen_to_be_invoked.Login( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(gen_param_count == 2&& translator.Assignable<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 2))
|
if(gen_param_count == 2&& translator.Assignable<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 2))
|
||||||
{
|
{
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.Callback _callback = translator.GetDelegate<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 2);
|
UnityEngine.SignInWithApple.SignInWithApple.Callback _callback = translator.GetDelegate<UnityEngine.SignInWithApple.SignInWithApple.Callback>(L, 2);
|
||||||
|
|
||||||
gen_to_be_invoked.Login( _callback );
|
gen_to_be_invoked.Login( _callback );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple.Login!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple.Login!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_Update(RealStatePtr L)
|
static int _m_Update(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
gen_to_be_invoked.Update( );
|
gen_to_be_invoked.Update( );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_onLogin(RealStatePtr L)
|
static int _g_get_onLogin(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.onLogin);
|
translator.Push(L, gen_to_be_invoked.onLogin);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_onCredentialState(RealStatePtr L)
|
static int _g_get_onCredentialState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.onCredentialState);
|
translator.Push(L, gen_to_be_invoked.onCredentialState);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_onError(RealStatePtr L)
|
static int _g_get_onError(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.onError);
|
translator.Push(L, gen_to_be_invoked.onError);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_onLogin(RealStatePtr L)
|
static int _s_set_onLogin(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.onLogin = (UnityEngine.SignInWithApple.SignInWithAppleEvent)translator.GetObject(L, 2, typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent));
|
gen_to_be_invoked.onLogin = (UnityEngine.SignInWithApple.SignInWithAppleEvent)translator.GetObject(L, 2, typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent));
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_onCredentialState(RealStatePtr L)
|
static int _s_set_onCredentialState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.onCredentialState = (UnityEngine.SignInWithApple.SignInWithAppleEvent)translator.GetObject(L, 2, typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent));
|
gen_to_be_invoked.onCredentialState = (UnityEngine.SignInWithApple.SignInWithAppleEvent)translator.GetObject(L, 2, typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent));
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_onError(RealStatePtr L)
|
static int _s_set_onError(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
UnityEngine.SignInWithApple.SignInWithApple gen_to_be_invoked = (UnityEngine.SignInWithApple.SignInWithApple)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.onError = (UnityEngine.SignInWithApple.SignInWithAppleEvent)translator.GetObject(L, 2, typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent));
|
gen_to_be_invoked.onError = (UnityEngine.SignInWithApple.SignInWithAppleEvent)translator.GetObject(L, 2, typeof(UnityEngine.SignInWithApple.SignInWithAppleEvent));
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,183 +1,183 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineSignInWithAppleSignInWithAppleCallbackArgsWrap
|
public class UnityEngineSignInWithAppleSignInWithAppleCallbackArgsWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs);
|
System.Type type = typeof(UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 3, 3);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 3, 3);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "credentialState", _g_get_credentialState);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "credentialState", _g_get_credentialState);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "userInfo", _g_get_userInfo);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "userInfo", _g_get_userInfo);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "error", _g_get_error);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "error", _g_get_error);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "credentialState", _s_set_credentialState);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "credentialState", _s_set_credentialState);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "userInfo", _s_set_userInfo);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "userInfo", _s_set_userInfo);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "error", _s_set_error);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "error", _s_set_error);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
if (LuaAPI.lua_gettop(L) == 1)
|
if (LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
translator.Push(L, default(UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs));
|
translator.Push(L, default(UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_credentialState(RealStatePtr L)
|
static int _g_get_credentialState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.credentialState);
|
translator.Push(L, gen_to_be_invoked.credentialState);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_userInfo(RealStatePtr L)
|
static int _g_get_userInfo(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.userInfo);
|
translator.Push(L, gen_to_be_invoked.userInfo);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_error(RealStatePtr L)
|
static int _g_get_error(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.error);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.error);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_credentialState(RealStatePtr L)
|
static int _s_set_credentialState(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
UnityEngine.SignInWithApple.UserCredentialState gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.SignInWithApple.UserCredentialState gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.credentialState = gen_value;
|
gen_to_be_invoked.credentialState = gen_value;
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_userInfo(RealStatePtr L)
|
static int _s_set_userInfo(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.SignInWithApple.UserInfo gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.userInfo = gen_value;
|
gen_to_be_invoked.userInfo = gen_value;
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_error(RealStatePtr L)
|
static int _s_set_error(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.SignInWithApple.CallbackArgs gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.error = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.error = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,281 +1,281 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineSignInWithAppleUserInfoWrap
|
public class UnityEngineSignInWithAppleUserInfoWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.SignInWithApple.UserInfo);
|
System.Type type = typeof(UnityEngine.SignInWithApple.UserInfo);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 6, 6);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 6, 6);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "userId", _g_get_userId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "userId", _g_get_userId);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "email", _g_get_email);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "email", _g_get_email);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "displayName", _g_get_displayName);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "displayName", _g_get_displayName);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "idToken", _g_get_idToken);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "idToken", _g_get_idToken);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "error", _g_get_error);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "error", _g_get_error);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "userDetectionStatus", _g_get_userDetectionStatus);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "userDetectionStatus", _g_get_userDetectionStatus);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "userId", _s_set_userId);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "userId", _s_set_userId);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "email", _s_set_email);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "email", _s_set_email);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "displayName", _s_set_displayName);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "displayName", _s_set_displayName);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "idToken", _s_set_idToken);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "idToken", _s_set_idToken);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "error", _s_set_error);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "error", _s_set_error);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "userDetectionStatus", _s_set_userDetectionStatus);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "userDetectionStatus", _s_set_userDetectionStatus);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
if (LuaAPI.lua_gettop(L) == 1)
|
if (LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
translator.Push(L, default(UnityEngine.SignInWithApple.UserInfo));
|
translator.Push(L, default(UnityEngine.SignInWithApple.UserInfo));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.UserInfo constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SignInWithApple.UserInfo constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_userId(RealStatePtr L)
|
static int _g_get_userId(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.userId);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.userId);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_email(RealStatePtr L)
|
static int _g_get_email(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.email);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.email);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_displayName(RealStatePtr L)
|
static int _g_get_displayName(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.displayName);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.displayName);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_idToken(RealStatePtr L)
|
static int _g_get_idToken(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.idToken);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.idToken);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_error(RealStatePtr L)
|
static int _g_get_error(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.error);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.error);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_userDetectionStatus(RealStatePtr L)
|
static int _g_get_userDetectionStatus(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
translator.Push(L, gen_to_be_invoked.userDetectionStatus);
|
translator.Push(L, gen_to_be_invoked.userDetectionStatus);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_userId(RealStatePtr L)
|
static int _s_set_userId(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.userId = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.userId = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_email(RealStatePtr L)
|
static int _s_set_email(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.email = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.email = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_displayName(RealStatePtr L)
|
static int _s_set_displayName(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.displayName = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.displayName = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_idToken(RealStatePtr L)
|
static int _s_set_idToken(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.idToken = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.idToken = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_error(RealStatePtr L)
|
static int _s_set_error(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
gen_to_be_invoked.error = LuaAPI.lua_tostring(L, 2);
|
gen_to_be_invoked.error = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_userDetectionStatus(RealStatePtr L)
|
static int _s_set_userDetectionStatus(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
UnityEngine.SignInWithApple.UserInfo gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
|
||||||
UnityEngine.SignInWithApple.UserDetectionStatus gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.SignInWithApple.UserDetectionStatus gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.userDetectionStatus = gen_value;
|
gen_to_be_invoked.userDetectionStatus = gen_value;
|
||||||
|
|
||||||
translator.Update(L, 1, gen_to_be_invoked);
|
translator.Update(L, 1, gen_to_be_invoked);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,496 +1,496 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineSkinnedMeshRendererWrap
|
public class UnityEngineSkinnedMeshRendererWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.SkinnedMeshRenderer);
|
System.Type type = typeof(UnityEngine.SkinnedMeshRenderer);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 5, 8, 8);
|
Utils.BeginObjectRegister(type, L, translator, 0, 5, 8, 8);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBlendShapeWeight", _m_GetBlendShapeWeight);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBlendShapeWeight", _m_GetBlendShapeWeight);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBlendShapeWeight", _m_SetBlendShapeWeight);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBlendShapeWeight", _m_SetBlendShapeWeight);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "BakeMesh", _m_BakeMesh);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "BakeMesh", _m_BakeMesh);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetVertexBuffer", _m_GetVertexBuffer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetVertexBuffer", _m_GetVertexBuffer);
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreviousVertexBuffer", _m_GetPreviousVertexBuffer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreviousVertexBuffer", _m_GetPreviousVertexBuffer);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "quality", _g_get_quality);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "quality", _g_get_quality);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "updateWhenOffscreen", _g_get_updateWhenOffscreen);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "updateWhenOffscreen", _g_get_updateWhenOffscreen);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "forceMatrixRecalculationPerRender", _g_get_forceMatrixRecalculationPerRender);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "forceMatrixRecalculationPerRender", _g_get_forceMatrixRecalculationPerRender);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rootBone", _g_get_rootBone);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rootBone", _g_get_rootBone);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bones", _g_get_bones);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bones", _g_get_bones);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sharedMesh", _g_get_sharedMesh);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sharedMesh", _g_get_sharedMesh);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "skinnedMotionVectors", _g_get_skinnedMotionVectors);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "skinnedMotionVectors", _g_get_skinnedMotionVectors);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "vertexBufferTarget", _g_get_vertexBufferTarget);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "vertexBufferTarget", _g_get_vertexBufferTarget);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "quality", _s_set_quality);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "quality", _s_set_quality);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "updateWhenOffscreen", _s_set_updateWhenOffscreen);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "updateWhenOffscreen", _s_set_updateWhenOffscreen);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "forceMatrixRecalculationPerRender", _s_set_forceMatrixRecalculationPerRender);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "forceMatrixRecalculationPerRender", _s_set_forceMatrixRecalculationPerRender);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "rootBone", _s_set_rootBone);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "rootBone", _s_set_rootBone);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bones", _s_set_bones);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bones", _s_set_bones);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sharedMesh", _s_set_sharedMesh);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sharedMesh", _s_set_sharedMesh);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "skinnedMotionVectors", _s_set_skinnedMotionVectors);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "skinnedMotionVectors", _s_set_skinnedMotionVectors);
|
||||||
Utils.RegisterFunc(L, Utils.SETTER_IDX, "vertexBufferTarget", _s_set_vertexBufferTarget);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "vertexBufferTarget", _s_set_vertexBufferTarget);
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.SkinnedMeshRenderer();
|
var gen_ret = new UnityEngine.SkinnedMeshRenderer();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SkinnedMeshRenderer constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SkinnedMeshRenderer constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetBlendShapeWeight(RealStatePtr L)
|
static int _m_GetBlendShapeWeight(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
int _index = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetBlendShapeWeight( _index );
|
var gen_ret = gen_to_be_invoked.GetBlendShapeWeight( _index );
|
||||||
LuaAPI.lua_pushnumber(L, gen_ret);
|
LuaAPI.lua_pushnumber(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_SetBlendShapeWeight(RealStatePtr L)
|
static int _m_SetBlendShapeWeight(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
int _index = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
||||||
float _value = (float)LuaAPI.lua_tonumber(L, 3);
|
float _value = (float)LuaAPI.lua_tonumber(L, 3);
|
||||||
|
|
||||||
gen_to_be_invoked.SetBlendShapeWeight( _index, _value );
|
gen_to_be_invoked.SetBlendShapeWeight( _index, _value );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_BakeMesh(RealStatePtr L)
|
static int _m_BakeMesh(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
int gen_param_count = LuaAPI.lua_gettop(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
||||||
|
|
||||||
if(gen_param_count == 2&& translator.Assignable<UnityEngine.Mesh>(L, 2))
|
if(gen_param_count == 2&& translator.Assignable<UnityEngine.Mesh>(L, 2))
|
||||||
{
|
{
|
||||||
UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
|
UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
|
||||||
|
|
||||||
gen_to_be_invoked.BakeMesh( _mesh );
|
gen_to_be_invoked.BakeMesh( _mesh );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(gen_param_count == 3&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
|
if(gen_param_count == 3&& translator.Assignable<UnityEngine.Mesh>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
|
||||||
{
|
{
|
||||||
UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
|
UnityEngine.Mesh _mesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
|
||||||
bool _useScale = LuaAPI.lua_toboolean(L, 3);
|
bool _useScale = LuaAPI.lua_toboolean(L, 3);
|
||||||
|
|
||||||
gen_to_be_invoked.BakeMesh( _mesh, _useScale );
|
gen_to_be_invoked.BakeMesh( _mesh, _useScale );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SkinnedMeshRenderer.BakeMesh!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.SkinnedMeshRenderer.BakeMesh!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetVertexBuffer(RealStatePtr L)
|
static int _m_GetVertexBuffer(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetVertexBuffer( );
|
var gen_ret = gen_to_be_invoked.GetVertexBuffer( );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_GetPreviousVertexBuffer(RealStatePtr L)
|
static int _m_GetPreviousVertexBuffer(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.GetPreviousVertexBuffer( );
|
var gen_ret = gen_to_be_invoked.GetPreviousVertexBuffer( );
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_quality(RealStatePtr L)
|
static int _g_get_quality(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.quality);
|
translator.Push(L, gen_to_be_invoked.quality);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_updateWhenOffscreen(RealStatePtr L)
|
static int _g_get_updateWhenOffscreen(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.updateWhenOffscreen);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.updateWhenOffscreen);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_forceMatrixRecalculationPerRender(RealStatePtr L)
|
static int _g_get_forceMatrixRecalculationPerRender(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.forceMatrixRecalculationPerRender);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.forceMatrixRecalculationPerRender);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_rootBone(RealStatePtr L)
|
static int _g_get_rootBone(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.rootBone);
|
translator.Push(L, gen_to_be_invoked.rootBone);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_bones(RealStatePtr L)
|
static int _g_get_bones(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.bones);
|
translator.Push(L, gen_to_be_invoked.bones);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_sharedMesh(RealStatePtr L)
|
static int _g_get_sharedMesh(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.sharedMesh);
|
translator.Push(L, gen_to_be_invoked.sharedMesh);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_skinnedMotionVectors(RealStatePtr L)
|
static int _g_get_skinnedMotionVectors(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.skinnedMotionVectors);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.skinnedMotionVectors);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_vertexBufferTarget(RealStatePtr L)
|
static int _g_get_vertexBufferTarget(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
translator.Push(L, gen_to_be_invoked.vertexBufferTarget);
|
translator.Push(L, gen_to_be_invoked.vertexBufferTarget);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_quality(RealStatePtr L)
|
static int _s_set_quality(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
UnityEngine.SkinQuality gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.SkinQuality gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.quality = gen_value;
|
gen_to_be_invoked.quality = gen_value;
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_updateWhenOffscreen(RealStatePtr L)
|
static int _s_set_updateWhenOffscreen(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.updateWhenOffscreen = LuaAPI.lua_toboolean(L, 2);
|
gen_to_be_invoked.updateWhenOffscreen = LuaAPI.lua_toboolean(L, 2);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_forceMatrixRecalculationPerRender(RealStatePtr L)
|
static int _s_set_forceMatrixRecalculationPerRender(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.forceMatrixRecalculationPerRender = LuaAPI.lua_toboolean(L, 2);
|
gen_to_be_invoked.forceMatrixRecalculationPerRender = LuaAPI.lua_toboolean(L, 2);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_rootBone(RealStatePtr L)
|
static int _s_set_rootBone(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.rootBone = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
|
gen_to_be_invoked.rootBone = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_bones(RealStatePtr L)
|
static int _s_set_bones(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.bones = (UnityEngine.Transform[])translator.GetObject(L, 2, typeof(UnityEngine.Transform[]));
|
gen_to_be_invoked.bones = (UnityEngine.Transform[])translator.GetObject(L, 2, typeof(UnityEngine.Transform[]));
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_sharedMesh(RealStatePtr L)
|
static int _s_set_sharedMesh(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.sharedMesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
|
gen_to_be_invoked.sharedMesh = (UnityEngine.Mesh)translator.GetObject(L, 2, typeof(UnityEngine.Mesh));
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_skinnedMotionVectors(RealStatePtr L)
|
static int _s_set_skinnedMotionVectors(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
gen_to_be_invoked.skinnedMotionVectors = LuaAPI.lua_toboolean(L, 2);
|
gen_to_be_invoked.skinnedMotionVectors = LuaAPI.lua_toboolean(L, 2);
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _s_set_vertexBufferTarget(RealStatePtr L)
|
static int _s_set_vertexBufferTarget(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
UnityEngine.SkinnedMeshRenderer gen_to_be_invoked = (UnityEngine.SkinnedMeshRenderer)translator.FastGetCSObj(L, 1);
|
||||||
UnityEngine.GraphicsBuffer.Target gen_value;translator.Get(L, 2, out gen_value);
|
UnityEngine.GraphicsBuffer.Target gen_value;translator.Get(L, 2, out gen_value);
|
||||||
gen_to_be_invoked.vertexBufferTarget = gen_value;
|
gen_to_be_invoked.vertexBufferTarget = gen_value;
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,167 +1,167 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineTextAssetWrap
|
public class UnityEngineTextAssetWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.TextAsset);
|
System.Type type = typeof(UnityEngine.TextAsset);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 1, 3, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 1, 3, 0);
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
|
||||||
|
|
||||||
|
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bytes", _g_get_bytes);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bytes", _g_get_bytes);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "text", _g_get_text);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "text", _g_get_text);
|
||||||
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dataSize", _g_get_dataSize);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dataSize", _g_get_dataSize);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.TextAsset();
|
var gen_ret = new UnityEngine.TextAsset();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if(LuaAPI.lua_gettop(L) == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
|
if(LuaAPI.lua_gettop(L) == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
|
||||||
{
|
{
|
||||||
string _text = LuaAPI.lua_tostring(L, 2);
|
string _text = LuaAPI.lua_tostring(L, 2);
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.TextAsset(_text);
|
var gen_ret = new UnityEngine.TextAsset(_text);
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.TextAsset constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.TextAsset constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _m_ToString(RealStatePtr L)
|
static int _m_ToString(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
|
|
||||||
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = gen_to_be_invoked.ToString( );
|
var gen_ret = gen_to_be_invoked.ToString( );
|
||||||
LuaAPI.lua_pushstring(L, gen_ret);
|
LuaAPI.lua_pushstring(L, gen_ret);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_bytes(RealStatePtr L)
|
static int _g_get_bytes(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.bytes);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.bytes);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_text(RealStatePtr L)
|
static int _g_get_text(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushstring(L, gen_to_be_invoked.text);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.text);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int _g_get_dataSize(RealStatePtr L)
|
static int _g_get_dataSize(RealStatePtr L)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
|
|
||||||
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
UnityEngine.TextAsset gen_to_be_invoked = (UnityEngine.TextAsset)translator.FastGetCSObj(L, 1);
|
||||||
LuaAPI.lua_pushint64(L, gen_to_be_invoked.dataSize);
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.dataSize);
|
||||||
} catch(System.Exception gen_e) {
|
} catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,84 +1,84 @@
|
|||||||
#if USE_UNI_LUA
|
#if USE_UNI_LUA
|
||||||
using LuaAPI = UniLua.Lua;
|
using LuaAPI = UniLua.Lua;
|
||||||
using RealStatePtr = UniLua.ILuaState;
|
using RealStatePtr = UniLua.ILuaState;
|
||||||
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
||||||
#else
|
#else
|
||||||
using LuaAPI = XLua.LuaDLL.Lua;
|
using LuaAPI = XLua.LuaDLL.Lua;
|
||||||
using RealStatePtr = System.IntPtr;
|
using RealStatePtr = System.IntPtr;
|
||||||
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using XLua;
|
using XLua;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
namespace XLua.CSObjectWrap
|
namespace XLua.CSObjectWrap
|
||||||
{
|
{
|
||||||
using Utils = XLua.Utils;
|
using Utils = XLua.Utils;
|
||||||
public class UnityEngineUIInputFieldEndEditEventWrap
|
public class UnityEngineUIInputFieldEndEditEventWrap
|
||||||
{
|
{
|
||||||
public static void __Register(RealStatePtr L)
|
public static void __Register(RealStatePtr L)
|
||||||
{
|
{
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
System.Type type = typeof(UnityEngine.UI.InputField.EndEditEvent);
|
System.Type type = typeof(UnityEngine.UI.InputField.EndEditEvent);
|
||||||
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndObjectRegister(type, L, translator, null, null,
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
||||||
null, null, null);
|
null, null, null);
|
||||||
|
|
||||||
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Utils.EndClassRegister(type, L, translator);
|
Utils.EndClassRegister(type, L, translator);
|
||||||
}
|
}
|
||||||
|
|
||||||
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
||||||
static int __CreateInstance(RealStatePtr L)
|
static int __CreateInstance(RealStatePtr L)
|
||||||
{
|
{
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
||||||
if(LuaAPI.lua_gettop(L) == 1)
|
if(LuaAPI.lua_gettop(L) == 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
var gen_ret = new UnityEngine.UI.InputField.EndEditEvent();
|
var gen_ret = new UnityEngine.UI.InputField.EndEditEvent();
|
||||||
translator.Push(L, gen_ret);
|
translator.Push(L, gen_ret);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(System.Exception gen_e) {
|
catch(System.Exception gen_e) {
|
||||||
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
||||||
}
|
}
|
||||||
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.UI.InputField.EndEditEvent constructor!");
|
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.UI.InputField.EndEditEvent constructor!");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 4343727234628468602
|
mainObjectFileID: 4343727234628468602
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/icon/avater.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 11400000
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/icon/collection.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 4343727234628468602
|
mainObjectFileID: 4343727234628468602
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/icon/collection.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 11400000
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/icon/force_equip.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 4343727234628468602
|
mainObjectFileID: 4343727234628468602
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/icon/force_equip.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -159,6 +159,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 21300000, guid: de67ff43cf9c86c46be7127c2fb7cc84, type: 3}
|
- {fileID: 21300000, guid: de67ff43cf9c86c46be7127c2fb7cc84, type: 3}
|
||||||
- {fileID: 21300000, guid: 77026c4d6ad5e0f4d941920a0ef3f272, type: 3}
|
- {fileID: 21300000, guid: 77026c4d6ad5e0f4d941920a0ef3f272, type: 3}
|
||||||
- {fileID: 21300000, guid: 1421585b364b1fb4ab0d951bb5d0f35d, type: 3}
|
- {fileID: 21300000, guid: 1421585b364b1fb4ab0d951bb5d0f35d, type: 3}
|
||||||
|
- {fileID: 21300000, guid: 7716cb1bbd8234cdea572390f709ea1b, type: 3}
|
||||||
- {fileID: 21300000, guid: 9bb2f10b15aa44a4fa22ec0655146511, type: 3}
|
- {fileID: 21300000, guid: 9bb2f10b15aa44a4fa22ec0655146511, type: 3}
|
||||||
- {fileID: 21300000, guid: be484dcfccac44f48bece88cc9294c8f, type: 3}
|
- {fileID: 21300000, guid: be484dcfccac44f48bece88cc9294c8f, type: 3}
|
||||||
- {fileID: 21300000, guid: e53d6e8ee4f256040a5d26aa8233520b, type: 3}
|
- {fileID: 21300000, guid: e53d6e8ee4f256040a5d26aa8233520b, type: 3}
|
||||||
@ -166,4 +167,4 @@ MonoBehaviour:
|
|||||||
- {fileID: 21300000, guid: 4883eddf5771c424c964bc2e32f2cb09, type: 3}
|
- {fileID: 21300000, guid: 4883eddf5771c424c964bc2e32f2cb09, type: 3}
|
||||||
- {fileID: 21300000, guid: 90cd8a98ab36f5f429ca27d808dc664f, type: 3}
|
- {fileID: 21300000, guid: 90cd8a98ab36f5f429ca27d808dc664f, type: 3}
|
||||||
- {fileID: 21300000, guid: 9f4d825138b34164cb6e9e64406dd12a, type: 3}
|
- {fileID: 21300000, guid: 9f4d825138b34164cb6e9e64406dd12a, type: 3}
|
||||||
spriteNameList: 73ef7596df354ed3e0354ed3e2354ed3e3354ed3919850e8929850e8939850e8949850e8959850e8969850e8979850e8947eef9a667213652f396c3f22b5421523b5421537aa723a01d54ed3525806155358061504b9a932ede09396eee09396efe09396f0e09396f1e09396f2e09396bd9b0e6913dcc4b814dcc4b815dcc4b816dcc4b817dcc4b818dcc4b819dcc4b81adcc4b81bdcc4b81cdcc4b8be9b0e6932dcc4b833dcc4b834dcc4b835dcc4b836dcc4b837dcc4b838dcc4b839dcc4b83adcc4b83bdcc4b8bf9b0e6951dcc4b852dcc4b853dcc4b854dcc4b855dcc4b856dcc4b8c09b0e69c19b0e69c29b0e69c39b0e69c49b0e69c59b0e696fe5222e54a9179b0d7ccc490e7ccc490f7ccc49107ccc49132253d3c33f686cc43f686cc53f686ca4afbba06a2996ce6b2996ce6c2996ce6d2996cef90ee7ab9afa36db9bfa36db9cfa36db0196263e029d3752a3c0a1b6a4c0a1b6a5c0a1b6958cd3a2415abdf4495bbdf4c767bdf4948dbdf4e0b6b5f6a45a15e809d618e85a4c581b1ddd9f90c7a6c0f42f42c0b73042c0b73142c0b739fba4313afba4313bfba431ce71fe31cf71fe31d071fe31c0b35232c1b35232c2b35232cd4fd4681304c2f41bed664187156e7a86d89f5487d89f5488d89f5489d89f5442e685d543e685d5499b18984a9b18984b9b18984c9b18984d9b1898e1d0a115ccb53bb2cdb53bb2d120b00dd220b00d50fb2eba51fb2eba73ea16e874ea16e81e5457221f5457222bf929362cf92936cf0775471557dd4782b8592383b85923ebb25356ecb2535683b74c9784b74c978c8d63ad107222fd627da494f525e9106e14a26803e475062623b5b6
|
spriteNameList: 73ef7596df354ed3e0354ed3e2354ed3e3354ed3919850e8929850e8939850e8949850e8959850e8969850e8979850e8947eef9a667213652f396c3f22b5421523b5421537aa723a01d54ed3525806155358061504b9a932ede09396eee09396efe09396f0e09396f1e09396f2e09396bd9b0e6913dcc4b814dcc4b815dcc4b816dcc4b817dcc4b818dcc4b819dcc4b81adcc4b81bdcc4b81cdcc4b8be9b0e6932dcc4b833dcc4b834dcc4b835dcc4b836dcc4b837dcc4b838dcc4b839dcc4b83adcc4b83bdcc4b8bf9b0e6951dcc4b852dcc4b853dcc4b854dcc4b855dcc4b856dcc4b8c09b0e69c19b0e69c29b0e69c39b0e69c49b0e69c59b0e696fe5222e54a9179b0d7ccc490e7ccc490f7ccc49107ccc49132253d3c33f686cc43f686cc53f686ca4afbba06a2996ce6b2996ce6c2996ce6d2996cef90ee7ab9afa36db9bfa36db9cfa36db0196263e029d3752a3c0a1b6a4c0a1b6a5c0a1b6958cd3a2415abdf4495bbdf4c767bdf4948dbdf4e0b6b5f6a45a15e809d618e85a4c581b1ddd9f90c7a6c0f42f42c0b73042c0b73142c0b739fba4313afba4313bfba431ce71fe31cf71fe31d071fe31c0b35232c1b35232c2b35232cd4fd4681304c2f41bed664187156e7a86d89f5487d89f5488d89f5489d89f5442e685d543e685d5499b18984a9b18984b9b18984c9b18984d9b1898e1d0a115ccb53bb2cdb53bb2d120b00dd220b00d50fb2eba51fb2eba73ea16e874ea16e81e5457221f5457222bf929362cf92936cf0775471557dd4782b8592383b85923ebb25356ecb2535683b74c9784b74c97450c00008c8d63ad107222fd627da494f525e9106e14a26803e475062623b5b6
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 11400000
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/ui/force_equip.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 4343727234628468602
|
mainObjectFileID: 4343727234628468602
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/ui/force_equip.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 11400000
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/ui/idle.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 4343727234628468602
|
mainObjectFileID: 4343727234628468602
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/ui/idle.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 11400000
|
mainObjectFileID: 11400000
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/ui/talent.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -4,5 +4,5 @@ NativeFormatImporter:
|
|||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 4343727234628468602
|
mainObjectFileID: 4343727234628468602
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName: arts/textures/ui/talent.ab
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -143,5 +143,5 @@ TextureImporter:
|
|||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName: arts/effects/texture/flare/fx_flare_ss_i8.png.ab
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -143,5 +143,5 @@ TextureImporter:
|
|||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName: arts/effects/texture/mask/fx_mask_ss_i17.png.ab
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -143,5 +143,5 @@ TextureImporter:
|
|||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName: arts/effects/texture/mask/fx_mask_ss_i47.png.ab
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -143,5 +143,5 @@ TextureImporter:
|
|||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName: arts/effects/texture/path/fx_path_yj_e1.png.ab
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
@ -143,5 +143,5 @@ TextureImporter:
|
|||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
pSDShowRemoveMatteOption: 0
|
pSDShowRemoveMatteOption: 0
|
||||||
userData:
|
userData:
|
||||||
assetBundleName: arts/effects/texture/ring/fx_ring_b15.png.ab
|
assetBundleName:
|
||||||
assetBundleVariant:
|
assetBundleVariant:
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user