c1_unity/Assets/XLua/Gen/BF_PrefabHelperWrap.cs
2023-05-15 21:33:07 +08:00

1412 lines
47 KiB
C#

#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 BFPrefabHelperWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(BF.PrefabHelper);
Utils.BeginObjectRegister(type, L, translator, 0, 41, 4, 1);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGameObjectByName", _m_GetGameObjectByName);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetListCount", _m_GetListCount);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashNameByIndex", _m_GetHashNameByIndex);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetObjectTypeByIndex", _m_GetObjectTypeByIndex);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGameObjectByIndex", _m_GetGameObjectByIndex);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CacheAnchoredPosition", _m_CacheAnchoredPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAnchoredPosition", _m_GetAnchoredPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAnchoredPositionX", _m_SetAnchoredPositionX);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAnchoredPositionY", _m_SetAnchoredPositionY);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAnchoredPosition", _m_SetAnchoredPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAnchorMin", _m_SetAnchorMin);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetAnchorMax", _m_SetAnchorMax);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetOffsetMin", _m_SetOffsetMin);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetOffsetMax", _m_SetOffsetMax);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddAnchoredPosition", _m_AddAnchoredPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSizeDelta", _m_SetSizeDelta);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSizeDeltaX", _m_SetSizeDeltaX);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSizeDeltaY", _m_SetSizeDeltaY);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddSizeDelta", _m_AddSizeDelta);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSizeDelta", _m_GetSizeDelta);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CacheSizeDelt", _m_CacheSizeDelt);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRectWidth", _m_GetRectWidth);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRectHeight", _m_GetRectHeight);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPosition", _m_SetPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddPosition", _m_AddPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLocalPosition", _m_SetLocalPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLocalPositionX", _m_SetLocalPositionX);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLocalPositionY", _m_SetLocalPositionY);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddLocalPosition", _m_AddLocalPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CacheLocalPosition", _m_CacheLocalPosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CachePosition", _m_CachePosition);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CacheLocalScale", _m_CacheLocalScale);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetEulerAngles", _m_SetEulerAngles);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddEulerAngles", _m_AddEulerAngles);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLocalEulerAngles", _m_SetLocalEulerAngles);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddLocalEulerAngles", _m_AddLocalEulerAngles);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLocalScale", _m_SetLocalScale);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddLocalScale", _m_AddLocalScale);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRootPrefabIndex", _m_GetRootPrefabIndex);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetScrollRectCellName", _m_SetScrollRectCellName);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetlocalRotationZ", _m_GetlocalRotationZ);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "PositionX", _g_get_PositionX);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "PositionY", _g_get_PositionY);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "PositionZ", _g_get_PositionZ);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "prefabList", _g_get_prefabList);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "prefabList", _s_set_prefabList);
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.PrefabHelper();
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.PrefabHelper constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetGameObjectByName(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
string _name = LuaAPI.lua_tostring(L, 2);
var gen_ret = gen_to_be_invoked.GetGameObjectByName( _name );
translator.Push(L, gen_ret);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetListCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.GetListCount( );
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_GetHashNameByIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetHashNameByIndex( _index );
LuaAPI.xlua_pushuint(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_GetObjectTypeByIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetObjectTypeByIndex( _index );
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_GetGameObjectByIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetGameObjectByIndex( _index );
translator.Push(L, gen_ret);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CacheAnchoredPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.CacheAnchoredPosition( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetAnchoredPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetAnchoredPosition( _index );
translator.PushUnityEngineVector3(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_SetAnchoredPositionX(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.SetAnchoredPositionX( _index, _x );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetAnchoredPositionY(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _y = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.SetAnchoredPositionY( _index, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetAnchoredPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.SetAnchoredPosition( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetAnchorMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.SetAnchorMin( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetAnchorMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.SetAnchorMax( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetOffsetMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.SetOffsetMin( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetOffsetMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.SetOffsetMax( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddAnchoredPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.AddAnchoredPosition( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetSizeDelta(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.SetSizeDelta( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetSizeDeltaX(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.SetSizeDeltaX( _index, _x );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetSizeDeltaY(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _y = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.SetSizeDeltaY( _index, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddSizeDelta(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
gen_to_be_invoked.AddSizeDelta( _index, _x, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetSizeDelta(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetSizeDelta( _index );
translator.PushUnityEngineVector2(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_CacheSizeDelt(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.CacheSizeDelt( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetRectWidth(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetRectWidth( _index );
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_GetRectHeight(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetRectHeight( _index );
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_SetPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.SetPosition( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.AddPosition( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLocalPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.SetLocalPosition( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLocalPositionX(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.SetLocalPositionX( _index, _x );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLocalPositionY(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _y = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.SetLocalPositionY( _index, _y );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddLocalPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.AddLocalPosition( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CacheLocalPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.CacheLocalPosition( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CachePosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.CachePosition( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CacheLocalScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.CacheLocalScale( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetEulerAngles(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.SetEulerAngles( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddEulerAngles(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.AddEulerAngles( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLocalEulerAngles(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.SetLocalEulerAngles( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddLocalEulerAngles(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.AddLocalEulerAngles( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLocalScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.SetLocalScale( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddLocalScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _x = (float)LuaAPI.lua_tonumber(L, 3);
float _y = (float)LuaAPI.lua_tonumber(L, 4);
float _z = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.AddLocalScale( _index, _x, _y, _z );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetRootPrefabIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.GetRootPrefabIndex( );
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_SetScrollRectCellName(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
int _nameIndex = LuaAPI.xlua_tointeger(L, 3);
gen_to_be_invoked.SetScrollRectCellName( _index, _nameIndex );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetlocalRotationZ(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetlocalRotationZ( _index );
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 _g_get_PositionX(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.PositionX);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_PositionY(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.PositionY);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_PositionZ(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.PositionZ);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_prefabList(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.prefabList);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_prefabList(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.PrefabHelper gen_to_be_invoked = (BF.PrefabHelper)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.prefabList = (System.Collections.Generic.List<BF.GameObjectInfo>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<BF.GameObjectInfo>));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
}
}