Files
Main/Assets/GameAssets/Resources/GameUI/XLua/Gen/UIPanelWrap.cs
2025-01-25 04:38:09 +08:00

2142 lines
85 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 UIPanelWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(UIPanel);
Utils.BeginObjectRegister(type, L, translator, 0, 21, 43, 29);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSides", _m_GetSides);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Invalidate", _m_Invalidate);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateFinalAlpha", _m_CalculateFinalAlpha);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRect", _m_SetRect);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsVisible", _m_IsVisible);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Affects", _m_Affects);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RebuildAllDrawCalls", _m_RebuildAllDrawCalls);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDirty", _m_SetDirty);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ParentHasChanged", _m_ParentHasChanged);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SortWidgets", _m_SortWidgets);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "FillAllDrawCalls", _m_FillAllDrawCalls);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "FillDrawCall", _m_FillDrawCall);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "FindDrawCall", _m_FindDrawCall);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddWidget", _m_AddWidget);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveWidget", _m_RemoveWidget);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Refresh", _m_Refresh);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateConstrainOffset", _m_CalculateConstrainOffset);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ConstrainTargetToBounds", _m_ConstrainTargetToBounds);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWindowSize", _m_GetWindowSize);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetViewSize", _m_GetViewSize);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SelfCalculateFinalAlpha", _m_SelfCalculateFinalAlpha);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ClipSoftnessHide", _g_get_ClipSoftnessHide);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsSuspend", _g_get_IsSuspend);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "canBeAnchored", _g_get_canBeAnchored);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "alpha", _g_get_alpha);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "depth", _g_get_depth);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sortingOrder", _g_get_sortingOrder);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "width", _g_get_width);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "height", _g_get_height);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "halfPixelOffset", _g_get_halfPixelOffset);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "usedForUI", _g_get_usedForUI);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawCallOffset", _g_get_drawCallOffset);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "clipping", _g_get_clipping);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "parentPanel", _g_get_parentPanel);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "clipCount", _g_get_clipCount);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasClipping", _g_get_hasClipping);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "hasCumulativeClipping", _g_get_hasCumulativeClipping);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "clipOffset", _g_get_clipOffset);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "clipTexture", _g_get_clipTexture);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "baseClipRegion", _g_get_baseClipRegion);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "finalClipRegion", _g_get_finalClipRegion);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "finalClipRectByWorld", _g_get_finalClipRectByWorld);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "clipSoftness", _g_get_clipSoftness);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "localCorners", _g_get_localCorners);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldCorners", _g_get_worldCorners);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onGeometryUpdated", _g_get_onGeometryUpdated);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "showInPanelTool", _g_get_showInPanelTool);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "generateNormals", _g_get_generateNormals);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "widgetsAreStatic", _g_get_widgetsAreStatic);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cullWhileDragging", _g_get_cullWhileDragging);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "alwaysOnScreen", _g_get_alwaysOnScreen);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "anchorOffset", _g_get_anchorOffset);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "softBorderPadding", _g_get_softBorderPadding);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "renderQueue", _g_get_renderQueue);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "startingRenderQueue", _g_get_startingRenderQueue);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "widgets", _g_get_widgets);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawCalls", _g_get_drawCalls);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldToLocal", _g_get_worldToLocal);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "drawCallClipRange", _g_get_drawCallClipRange);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onClipMove", _g_get_onClipMove);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onParentChanged", _g_get_onParentChanged);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "oldFinalAlpha", _g_get_oldFinalAlpha);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "updateDrawCall", _g_get_updateDrawCall);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onRenderQueueChanged", _g_get_onRenderQueueChanged);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ClipSoftnessHide", _s_set_ClipSoftnessHide);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsSuspend", _s_set_IsSuspend);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "alpha", _s_set_alpha);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "depth", _s_set_depth);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sortingOrder", _s_set_sortingOrder);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "clipping", _s_set_clipping);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "clipOffset", _s_set_clipOffset);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "clipTexture", _s_set_clipTexture);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "baseClipRegion", _s_set_baseClipRegion);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "clipSoftness", _s_set_clipSoftness);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onGeometryUpdated", _s_set_onGeometryUpdated);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "showInPanelTool", _s_set_showInPanelTool);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "generateNormals", _s_set_generateNormals);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "widgetsAreStatic", _s_set_widgetsAreStatic);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cullWhileDragging", _s_set_cullWhileDragging);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "alwaysOnScreen", _s_set_alwaysOnScreen);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "anchorOffset", _s_set_anchorOffset);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "softBorderPadding", _s_set_softBorderPadding);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "renderQueue", _s_set_renderQueue);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "startingRenderQueue", _s_set_startingRenderQueue);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "widgets", _s_set_widgets);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "drawCalls", _s_set_drawCalls);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "worldToLocal", _s_set_worldToLocal);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "drawCallClipRange", _s_set_drawCallClipRange);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onClipMove", _s_set_onClipMove);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onParentChanged", _s_set_onParentChanged);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "oldFinalAlpha", _s_set_oldFinalAlpha);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "updateDrawCall", _s_set_updateDrawCall);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onRenderQueueChanged", _s_set_onRenderQueueChanged);
Utils.EndObjectRegister(type, L, translator, null, null,
null, null, null);
Utils.BeginClassRegister(type, L, __CreateInstance, 7, 3, 2);
Utils.RegisterFunc(L, Utils.CLS_IDX, "CompareFunc", _m_CompareFunc_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "PanelLateUpdate", _m_PanelLateUpdate_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "SortPanelList", _m_SortPanelList_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "Find", _m_Find_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "RemoveFromWidgetList", _m_RemoveFromWidgetList_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "RemoveFromPanelList", _m_RemoveFromPanelList_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "nextUnusedDepth", _g_get_nextUnusedDepth);
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "list", _g_get_list);
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "lateUpdateRate", _g_get_lateUpdateRate);
Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "list", _s_set_list);
Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "lateUpdateRate", _s_set_lateUpdateRate);
Utils.EndClassRegister(type, L, translator);
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int __CreateInstance(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
if(LuaAPI.lua_gettop(L) == 1)
{
UIPanel gen_ret = new UIPanel();
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 UIPanel constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CompareFunc_xlua_st_(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
{
UIPanel _a = (UIPanel)translator.GetObject(L, 1, typeof(UIPanel));
UIPanel _b = (UIPanel)translator.GetObject(L, 2, typeof(UIPanel));
int gen_ret = UIPanel.CompareFunc( _a, _b );
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_GetSides(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UnityEngine.Transform _relativeTo = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
UnityEngine.Vector3[] gen_ret = gen_to_be_invoked.GetSides( _relativeTo );
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_Invalidate(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 3&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
{
bool _includeChildren = LuaAPI.lua_toboolean(L, 2);
bool _onlyAlphaChange = LuaAPI.lua_toboolean(L, 3);
gen_to_be_invoked.Invalidate( _includeChildren, _onlyAlphaChange );
return 0;
}
if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
{
bool _includeChildren = LuaAPI.lua_toboolean(L, 2);
gen_to_be_invoked.Invalidate( _includeChildren );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to UIPanel.Invalidate!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CalculateFinalAlpha(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
int _frameID = LuaAPI.xlua_tointeger(L, 2);
float gen_ret = gen_to_be_invoked.CalculateFinalAlpha( _frameID );
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_SetRect(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
float _x = (float)LuaAPI.lua_tonumber(L, 2);
float _y = (float)LuaAPI.lua_tonumber(L, 3);
float _width = (float)LuaAPI.lua_tonumber(L, 4);
float _height = (float)LuaAPI.lua_tonumber(L, 5);
gen_to_be_invoked.SetRect( _x, _y, _width, _height );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_IsVisible(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 2&& translator.Assignable<UnityEngine.Vector3>(L, 2))
{
UnityEngine.Vector3 _worldPos;translator.Get(L, 2, out _worldPos);
bool gen_ret = gen_to_be_invoked.IsVisible( _worldPos );
LuaAPI.lua_pushboolean(L, gen_ret);
return 1;
}
if(gen_param_count == 2&& translator.Assignable<UIWidget>(L, 2))
{
UIWidget _w = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget));
bool gen_ret = gen_to_be_invoked.IsVisible( _w );
LuaAPI.lua_pushboolean(L, gen_ret);
return 1;
}
if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.Vector3>(L, 4)&& translator.Assignable<UnityEngine.Vector3>(L, 5))
{
UnityEngine.Vector3 _a;translator.Get(L, 2, out _a);
UnityEngine.Vector3 _b;translator.Get(L, 3, out _b);
UnityEngine.Vector3 _c;translator.Get(L, 4, out _c);
UnityEngine.Vector3 _d;translator.Get(L, 5, out _d);
bool gen_ret = gen_to_be_invoked.IsVisible( _a, _b, _c, _d );
LuaAPI.lua_pushboolean(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 UIPanel.IsVisible!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Affects(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UIWidget _w = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget));
bool gen_ret = gen_to_be_invoked.Affects( _w );
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_RebuildAllDrawCalls(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.RebuildAllDrawCalls( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetDirty(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.SetDirty( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ParentHasChanged(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.ParentHasChanged( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_PanelLateUpdate_xlua_st_(RealStatePtr L)
{
try {
{
int _frameCount = LuaAPI.xlua_tointeger(L, 1);
UIPanel.PanelLateUpdate( _frameCount );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SortWidgets(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.SortWidgets( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_FillAllDrawCalls(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.FillAllDrawCalls( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_FillDrawCall(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UIDrawCall _dc = (UIDrawCall)translator.GetObject(L, 2, typeof(UIDrawCall));
bool gen_ret = gen_to_be_invoked.FillDrawCall( _dc );
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_FindDrawCall(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UIWidget _w = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget));
UIDrawCall gen_ret = gen_to_be_invoked.FindDrawCall( _w );
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_AddWidget(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UIWidget _w = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget));
gen_to_be_invoked.AddWidget( _w );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RemoveWidget(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UIWidget _w = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget));
gen_to_be_invoked.RemoveWidget( _w );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Refresh(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.Refresh( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CalculateConstrainOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UnityEngine.Vector2 _min;translator.Get(L, 2, out _min);
UnityEngine.Vector2 _max;translator.Get(L, 3, out _max);
UnityEngine.Vector3 gen_ret = gen_to_be_invoked.CalculateConstrainOffset( _min, _max );
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_ConstrainTargetToBounds(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 3&& translator.Assignable<UnityEngine.Transform>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
{
UnityEngine.Transform _target = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
bool _immediate = LuaAPI.lua_toboolean(L, 3);
bool gen_ret = gen_to_be_invoked.ConstrainTargetToBounds( _target, _immediate );
LuaAPI.lua_pushboolean(L, gen_ret);
return 1;
}
if(gen_param_count == 4&& translator.Assignable<UnityEngine.Transform>(L, 2)&& translator.Assignable<UnityEngine.Bounds>(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4))
{
UnityEngine.Transform _target = (UnityEngine.Transform)translator.GetObject(L, 2, typeof(UnityEngine.Transform));
UnityEngine.Bounds _targetBounds;translator.Get(L, 3, out _targetBounds);
bool _immediate = LuaAPI.lua_toboolean(L, 4);
bool gen_ret = gen_to_be_invoked.ConstrainTargetToBounds( _target, ref _targetBounds, _immediate );
LuaAPI.lua_pushboolean(L, gen_ret);
translator.PushUnityEngineBounds(L, _targetBounds);
translator.UpdateUnityEngineBounds(L, 3, _targetBounds);
return 2;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to UIPanel.ConstrainTargetToBounds!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SortPanelList_xlua_st_(RealStatePtr L)
{
try {
{
UIPanel.SortPanelList( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Find_xlua_st_(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 1&& translator.Assignable<UnityEngine.Transform>(L, 1))
{
UnityEngine.Transform _trans = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
UIPanel gen_ret = UIPanel.Find( _trans );
translator.Push(L, gen_ret);
return 1;
}
if(gen_param_count == 2&& translator.Assignable<UnityEngine.Transform>(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
{
UnityEngine.Transform _trans = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
bool _createIfMissing = LuaAPI.lua_toboolean(L, 2);
UIPanel gen_ret = UIPanel.Find( _trans, _createIfMissing );
translator.Push(L, gen_ret);
return 1;
}
if(gen_param_count == 3&& translator.Assignable<UnityEngine.Transform>(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
{
UnityEngine.Transform _trans = (UnityEngine.Transform)translator.GetObject(L, 1, typeof(UnityEngine.Transform));
bool _createIfMissing = LuaAPI.lua_toboolean(L, 2);
int _layer = LuaAPI.xlua_tointeger(L, 3);
UIPanel gen_ret = UIPanel.Find( _trans, _createIfMissing, _layer );
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 UIPanel.Find!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetWindowSize(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UnityEngine.Vector2 gen_ret = gen_to_be_invoked.GetWindowSize( );
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_GetViewSize(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
UnityEngine.Vector2 gen_ret = gen_to_be_invoked.GetViewSize( );
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_RemoveFromWidgetList_xlua_st_(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
{
System.Collections.Generic.List<UIWidget> _list = (System.Collections.Generic.List<UIWidget>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<UIWidget>));
UIWidget _widget = (UIWidget)translator.GetObject(L, 2, typeof(UIWidget));
bool gen_ret = UIPanel.RemoveFromWidgetList( _list, _widget );
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_RemoveFromPanelList_xlua_st_(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
{
System.Collections.Generic.List<UIPanel> _list = (System.Collections.Generic.List<UIPanel>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<UIPanel>));
System.Collections.Generic.List<int> _idList = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
UIPanel _panel = (UIPanel)translator.GetObject(L, 3, typeof(UIPanel));
UIPanel.RemoveFromPanelList( _list, _idList, _panel );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SelfCalculateFinalAlpha(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
{
float _parentAlpha = (float)LuaAPI.lua_tonumber(L, 2);
gen_to_be_invoked.SelfCalculateFinalAlpha( _parentAlpha );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ClipSoftnessHide(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector4(L, gen_to_be_invoked.ClipSoftnessHide);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IsSuspend(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsSuspend);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_nextUnusedDepth(RealStatePtr L)
{
try {
LuaAPI.xlua_pushinteger(L, UIPanel.nextUnusedDepth);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_canBeAnchored(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.canBeAnchored);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_alpha(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.alpha);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_depth(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.depth);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_sortingOrder(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.sortingOrder);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_width(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.width);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_height(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.height);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_halfPixelOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.halfPixelOffset);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_usedForUI(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.usedForUI);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_drawCallOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector3(L, gen_to_be_invoked.drawCallOffset);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_clipping(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.clipping);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_parentPanel(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.parentPanel);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_clipCount(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.clipCount);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_hasClipping(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.hasClipping);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_hasCumulativeClipping(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.hasCumulativeClipping);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_clipOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector2(L, gen_to_be_invoked.clipOffset);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_clipTexture(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.clipTexture);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_baseClipRegion(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector4(L, gen_to_be_invoked.baseClipRegion);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_finalClipRegion(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector4(L, gen_to_be_invoked.finalClipRegion);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_finalClipRectByWorld(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector4(L, gen_to_be_invoked.finalClipRectByWorld);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_clipSoftness(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector2(L, gen_to_be_invoked.clipSoftness);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_localCorners(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.localCorners);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_worldCorners(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.worldCorners);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_list(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
translator.Push(L, UIPanel.list);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_onGeometryUpdated(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.onGeometryUpdated);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_showInPanelTool(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.showInPanelTool);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_generateNormals(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.generateNormals);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_widgetsAreStatic(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.widgetsAreStatic);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cullWhileDragging(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.cullWhileDragging);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_alwaysOnScreen(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.alwaysOnScreen);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_anchorOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.anchorOffset);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_softBorderPadding(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.softBorderPadding);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_renderQueue(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUIPanelRenderQueue(L, gen_to_be_invoked.renderQueue);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_lateUpdateRate(RealStatePtr L)
{
try {
LuaAPI.xlua_pushinteger(L, UIPanel.lateUpdateRate);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_startingRenderQueue(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.startingRenderQueue);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_widgets(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.widgets);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_drawCalls(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.drawCalls);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_worldToLocal(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.worldToLocal);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_drawCallClipRange(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector4(L, gen_to_be_invoked.drawCallClipRange);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_onClipMove(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.onClipMove);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_onParentChanged(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.onParentChanged);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_oldFinalAlpha(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.oldFinalAlpha);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_updateDrawCall(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.updateDrawCall);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_onRenderQueueChanged(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.onRenderQueueChanged);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ClipSoftnessHide(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UnityEngine.Vector4 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.ClipSoftnessHide = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IsSuspend(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IsSuspend = LuaAPI.lua_toboolean(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_alpha(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.alpha = (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_depth(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.depth = LuaAPI.xlua_tointeger(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_sortingOrder(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.sortingOrder = LuaAPI.xlua_tointeger(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_clipping(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UIDrawCall.Clipping gen_value;if (LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TNUMBER)gen_value = (UIDrawCall.Clipping)LuaAPI.lua_tonumber(L, 2);else translator.Get(L, 2, out gen_value);
gen_to_be_invoked.clipping = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_clipOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.clipOffset = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_clipTexture(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.clipTexture = (UnityEngine.Texture2D)translator.GetObject(L, 2, typeof(UnityEngine.Texture2D));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_baseClipRegion(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UnityEngine.Vector4 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.baseClipRegion = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_clipSoftness(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.clipSoftness = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_list(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel.list = (System.Collections.Generic.List<UIPanel>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List<UIPanel>));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_onGeometryUpdated(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.onGeometryUpdated = translator.GetDelegate<UIPanel.OnGeometryUpdated>(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_showInPanelTool(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.showInPanelTool = LuaAPI.lua_toboolean(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_generateNormals(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.generateNormals = LuaAPI.lua_toboolean(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_widgetsAreStatic(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.widgetsAreStatic = LuaAPI.lua_toboolean(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_cullWhileDragging(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cullWhileDragging = LuaAPI.lua_toboolean(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_alwaysOnScreen(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.alwaysOnScreen = LuaAPI.lua_toboolean(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_anchorOffset(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.anchorOffset = LuaAPI.lua_toboolean(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_softBorderPadding(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.softBorderPadding = LuaAPI.lua_toboolean(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_renderQueue(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UIPanel.RenderQueue gen_value;if (LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TNUMBER)gen_value = (UIPanel.RenderQueue)LuaAPI.lua_tonumber(L, 2);else translator.Get(L, 2, out gen_value);
gen_to_be_invoked.renderQueue = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_lateUpdateRate(RealStatePtr L)
{
try {
UIPanel.lateUpdateRate = LuaAPI.xlua_tointeger(L, 1);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_startingRenderQueue(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.startingRenderQueue = LuaAPI.xlua_tointeger(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_widgets(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.widgets = (System.Collections.Generic.List<UIWidget>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UIWidget>));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_drawCalls(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.drawCalls = (System.Collections.Generic.List<UIDrawCall>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UIDrawCall>));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_worldToLocal(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UnityEngine.Matrix4x4 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.worldToLocal = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_drawCallClipRange(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
UnityEngine.Vector4 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.drawCallClipRange = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_onClipMove(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.onClipMove = translator.GetDelegate<UIPanel.OnClippingMoved>(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_onParentChanged(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.onParentChanged = translator.GetDelegate<UIPanel.OnParentChanged>(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_oldFinalAlpha(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.oldFinalAlpha = (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_updateDrawCall(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.updateDrawCall = LuaAPI.lua_toboolean(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_onRenderQueueChanged(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
UIPanel gen_to_be_invoked = (UIPanel)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.onRenderQueueChanged = translator.GetDelegate<UIPanel.OnRenderQueueChanged>(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
}
}