c1_unity/Assets/XLua/Gen/BF_ScrollRectBaseOldWrap.cs
2025-11-03 15:00:43 +08:00

2062 lines
79 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 BFScrollRectBaseOldWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(BF.ScrollRectBaseOld);
Utils.BeginObjectRegister(type, L, translator, 0, 34, 33, 26);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddOnvalueChangedFunc", _m_AddOnvalueChangedFunc);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddOnInstantiateCellAction", _m_AddOnInstantiateCellAction);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddRefreshAction", _m_AddRefreshAction);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddSetSelectedAction", _m_AddSetSelectedAction);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTotalCount", _m_SetTotalCount);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTotalCount", _m_GetTotalCount);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSelected", _m_SetSelected);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSelectedIndex", _m_GetSelectedIndex);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddCell", _m_AddCell);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsNotFull", _m_IsNotFull);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveCell", _m_RemoveCell);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearCells", _m_ClearCells);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshRealShowIndex", _m_RefreshRealShowIndex);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ScrollToCellImmediately", _m_ScrollToCellImmediately);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ScrollToCell", _m_ScrollToCell);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshAll", _m_RefreshAll);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefillCellsFromEnd", _m_RefillCellsFromEnd);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefiilCellsFromEndForFrame", _m_RefiilCellsFromEndForFrame);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefillCells", _m_RefillCells);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefillCellsForFrame", _m_RefillCellsForFrame);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Rebuild", _m_Rebuild);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "LayoutComplete", _m_LayoutComplete);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GraphicUpdateComplete", _m_GraphicUpdateComplete);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsActive", _m_IsActive);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "StopMovement", _m_StopMovement);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnScroll", _m_OnScroll);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnInitializePotentialDrag", _m_OnInitializePotentialDrag);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeginDrag", _m_OnBeginDrag);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnEndDrag", _m_OnEndDrag);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnDrag", _m_OnDrag);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputHorizontal", _m_CalculateLayoutInputHorizontal);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CalculateLayoutInputVertical", _m_CalculateLayoutInputVertical);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLayoutHorizontal", _m_SetLayoutHorizontal);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLayoutVertical", _m_SetLayoutVertical);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HorizontalScrollbar", _g_get_HorizontalScrollbar);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "VerticalScrollbar", _g_get_VerticalScrollbar);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HorizontalScrollbarVisibility", _g_get_HorizontalScrollbarVisibility);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "VerticalScrollbarVisibility", _g_get_VerticalScrollbarVisibility);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HorizontalScrollbarSpacing", _g_get_HorizontalScrollbarSpacing);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "VerticalScrollbarSpacing", _g_get_VerticalScrollbarSpacing);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "NormalizedPosition", _g_get_NormalizedPosition);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HorizontalNormalizedPosition", _g_get_HorizontalNormalizedPosition);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "VerticalNormalizedPosition", _g_get_VerticalNormalizedPosition);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "minWidth", _g_get_minWidth);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredWidth", _g_get_preferredWidth);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleWidth", _g_get_flexibleWidth);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "minHeight", _g_get_minHeight);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "preferredHeight", _g_get_preferredHeight);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "flexibleHeight", _g_get_flexibleHeight);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "layoutPriority", _g_get_layoutPriority);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "bfCell", _g_get_bfCell);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "useBar", _g_get_useBar);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rubberScale", _g_get_rubberScale);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "onValueChanged", _g_get_onValueChanged);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "luaInstantiateCellAction", _g_get_luaInstantiateCellAction);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "luaRefreshAction", _g_get_luaRefreshAction);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "luaSetSelectedAction", _g_get_luaSetSelectedAction);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "content", _g_get_content);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "horizontal", _g_get_horizontal);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "vertical", _g_get_vertical);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "movementType", _g_get_movementType);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "elasticity", _g_get_elasticity);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "inertia", _g_get_inertia);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "decelerationRate", _g_get_decelerationRate);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "scrollSensitivity", _g_get_scrollSensitivity);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "viewport", _g_get_viewport);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "velocity", _g_get_velocity);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HorizontalScrollbar", _s_set_HorizontalScrollbar);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "VerticalScrollbar", _s_set_VerticalScrollbar);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HorizontalScrollbarVisibility", _s_set_HorizontalScrollbarVisibility);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "VerticalScrollbarVisibility", _s_set_VerticalScrollbarVisibility);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HorizontalScrollbarSpacing", _s_set_HorizontalScrollbarSpacing);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "VerticalScrollbarSpacing", _s_set_VerticalScrollbarSpacing);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "NormalizedPosition", _s_set_NormalizedPosition);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HorizontalNormalizedPosition", _s_set_HorizontalNormalizedPosition);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "VerticalNormalizedPosition", _s_set_VerticalNormalizedPosition);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "bfCell", _s_set_bfCell);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "useBar", _s_set_useBar);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "rubberScale", _s_set_rubberScale);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "onValueChanged", _s_set_onValueChanged);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "luaInstantiateCellAction", _s_set_luaInstantiateCellAction);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "luaRefreshAction", _s_set_luaRefreshAction);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "luaSetSelectedAction", _s_set_luaSetSelectedAction);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "content", _s_set_content);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "horizontal", _s_set_horizontal);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "vertical", _s_set_vertical);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "movementType", _s_set_movementType);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "elasticity", _s_set_elasticity);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "inertia", _s_set_inertia);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "decelerationRate", _s_set_decelerationRate);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "scrollSensitivity", _s_set_scrollSensitivity);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "viewport", _s_set_viewport);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "velocity", _s_set_velocity);
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)
{
return LuaAPI.luaL_error(L, "BF.ScrollRectBaseOld does not have a constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddOnvalueChangedFunc(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
System.Action<UnityEngine.Vector2> _func = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 2);
gen_to_be_invoked.AddOnvalueChangedFunc( _func );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddOnInstantiateCellAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
System.Action<UnityEngine.GameObject> _action = translator.GetDelegate<System.Action<UnityEngine.GameObject>>(L, 2);
gen_to_be_invoked.AddOnInstantiateCellAction( _action );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddRefreshAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
System.Action<int, int> _action = translator.GetDelegate<System.Action<int, int>>(L, 2);
gen_to_be_invoked.AddRefreshAction( _action );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddSetSelectedAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
System.Action<bool, int> _action = translator.GetDelegate<System.Action<bool, int>>(L, 2);
gen_to_be_invoked.AddSetSelectedAction( _action );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetTotalCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
int _count = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.SetTotalCount( _count );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetTotalCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.GetTotalCount( );
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_SetSelected(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.SetSelected( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetSelectedIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.GetSelectedIndex( );
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_AddCell(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.AddCell( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_IsNotFull(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.IsNotFull( );
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_RemoveCell(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
bool _alignFlag = LuaAPI.lua_toboolean(L, 3);
gen_to_be_invoked.RemoveCell( _index, _alignFlag );
return 0;
}
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.RemoveCell( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.RemoveCell!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ClearCells(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.ClearCells( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RefreshRealShowIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.RefreshRealShowIndex( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ScrollToCellImmediately(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
bool _alignFlag = LuaAPI.lua_toboolean(L, 3);
gen_to_be_invoked.ScrollToCellImmediately( _index, _alignFlag );
return 0;
}
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.ScrollToCellImmediately( _index );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.ScrollToCellImmediately!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ScrollToCell(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _speed = (float)LuaAPI.lua_tonumber(L, 3);
bool _alignFlag = LuaAPI.lua_toboolean(L, 4);
gen_to_be_invoked.ScrollToCell( _index, _speed, _alignFlag );
return 0;
}
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
float _speed = (float)LuaAPI.lua_tonumber(L, 3);
gen_to_be_invoked.ScrollToCell( _index, _speed );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.ScrollToCell!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RefreshAll(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.RefreshAll( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RefillCellsFromEnd(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
{
int _offset = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.RefillCellsFromEnd( _offset );
return 0;
}
if(gen_param_count == 1)
{
gen_to_be_invoked.RefillCellsFromEnd( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.RefillCellsFromEnd!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RefiilCellsFromEndForFrame(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
{
int _intervalFrame = LuaAPI.xlua_tointeger(L, 2);
int _offset = LuaAPI.xlua_tointeger(L, 3);
gen_to_be_invoked.RefiilCellsFromEndForFrame( _intervalFrame, _offset );
return 0;
}
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
{
int _intervalFrame = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.RefiilCellsFromEndForFrame( _intervalFrame );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.RefiilCellsFromEndForFrame!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RefillCells(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.RefillCells( _index );
return 0;
}
if(gen_param_count == 1)
{
gen_to_be_invoked.RefillCells( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.RefillCells!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_RefillCellsForFrame(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
{
int _intervalFrame = LuaAPI.xlua_tointeger(L, 2);
int _index = LuaAPI.xlua_tointeger(L, 3);
gen_to_be_invoked.RefillCellsForFrame( _intervalFrame, _index );
return 0;
}
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
{
int _intervalFrame = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.RefillCellsForFrame( _intervalFrame );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to BF.ScrollRectBaseOld.RefillCellsForFrame!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Rebuild(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
UnityEngine.UI.CanvasUpdate _executing;translator.Get(L, 2, out _executing);
gen_to_be_invoked.Rebuild( _executing );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_LayoutComplete(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.LayoutComplete( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GraphicUpdateComplete(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.GraphicUpdateComplete( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_IsActive(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.IsActive( );
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_StopMovement(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.StopMovement( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_OnScroll(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
UnityEngine.EventSystems.PointerEventData _data = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
gen_to_be_invoked.OnScroll( _data );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_OnInitializePotentialDrag(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
gen_to_be_invoked.OnInitializePotentialDrag( _eventData );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_OnBeginDrag(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
gen_to_be_invoked.OnBeginDrag( _eventData );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_OnEndDrag(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
gen_to_be_invoked.OnEndDrag( _eventData );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_OnDrag(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
UnityEngine.EventSystems.PointerEventData _eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData));
gen_to_be_invoked.OnDrag( _eventData );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CalculateLayoutInputHorizontal(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.CalculateLayoutInputHorizontal( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_CalculateLayoutInputVertical(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.CalculateLayoutInputVertical( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLayoutHorizontal(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.SetLayoutHorizontal( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetLayoutVertical(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.SetLayoutVertical( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_HorizontalScrollbar(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.HorizontalScrollbar);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_VerticalScrollbar(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.VerticalScrollbar);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_HorizontalScrollbarVisibility(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.PushBFScrollRectBaseOldScrollbarVisibility(L, gen_to_be_invoked.HorizontalScrollbarVisibility);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_VerticalScrollbarVisibility(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.PushBFScrollRectBaseOldScrollbarVisibility(L, gen_to_be_invoked.VerticalScrollbarVisibility);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_HorizontalScrollbarSpacing(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.HorizontalScrollbarSpacing);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_VerticalScrollbarSpacing(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.VerticalScrollbarSpacing);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_NormalizedPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector2(L, gen_to_be_invoked.NormalizedPosition);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_HorizontalNormalizedPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.HorizontalNormalizedPosition);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_VerticalNormalizedPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.VerticalNormalizedPosition);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_minWidth(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.minWidth);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_preferredWidth(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.preferredWidth);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_flexibleWidth(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.flexibleWidth);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_minHeight(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.minHeight);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_preferredHeight(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.preferredHeight);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_flexibleHeight(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.flexibleHeight);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_layoutPriority(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.layoutPriority);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_bfCell(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.bfCell);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_useBar(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.useBar);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_rubberScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.rubberScale);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_onValueChanged(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.onValueChanged);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_luaInstantiateCellAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.luaInstantiateCellAction);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_luaRefreshAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.luaRefreshAction);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_luaSetSelectedAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.luaSetSelectedAction);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_content(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.content);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_horizontal(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.horizontal);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_vertical(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.vertical);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_movementType(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.PushBFScrollRectBaseOldMovementType(L, gen_to_be_invoked.movementType);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_elasticity(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.elasticity);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_inertia(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.inertia);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_decelerationRate(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.decelerationRate);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_scrollSensitivity(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.scrollSensitivity);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_viewport(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.viewport);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_velocity(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
translator.PushUnityEngineVector2(L, gen_to_be_invoked.velocity);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_HorizontalScrollbar(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.HorizontalScrollbar = (UnityEngine.UI.Scrollbar)translator.GetObject(L, 2, typeof(UnityEngine.UI.Scrollbar));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_VerticalScrollbar(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.VerticalScrollbar = (UnityEngine.UI.Scrollbar)translator.GetObject(L, 2, typeof(UnityEngine.UI.Scrollbar));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_HorizontalScrollbarVisibility(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
BF.ScrollRectBaseOld.ScrollbarVisibility gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.HorizontalScrollbarVisibility = 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_VerticalScrollbarVisibility(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
BF.ScrollRectBaseOld.ScrollbarVisibility gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.VerticalScrollbarVisibility = 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_HorizontalScrollbarSpacing(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.HorizontalScrollbarSpacing = (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_VerticalScrollbarSpacing(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.VerticalScrollbarSpacing = (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_NormalizedPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.NormalizedPosition = 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_HorizontalNormalizedPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.HorizontalNormalizedPosition = (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_VerticalNormalizedPosition(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.VerticalNormalizedPosition = (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_bfCell(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.bfCell = (BF.BFCell)translator.GetObject(L, 2, typeof(BF.BFCell));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_useBar(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.useBar = 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_rubberScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.rubberScale = (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_onValueChanged(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.onValueChanged = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(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_luaInstantiateCellAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.luaInstantiateCellAction = translator.GetDelegate<System.Action<UnityEngine.GameObject>>(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_luaRefreshAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.luaRefreshAction = translator.GetDelegate<System.Action<int, int>>(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_luaSetSelectedAction(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.luaSetSelectedAction = translator.GetDelegate<System.Action<bool, int>>(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_content(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.content = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_horizontal(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.horizontal = 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_vertical(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.vertical = 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_movementType(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
BF.ScrollRectBaseOld.MovementType gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.movementType = 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_elasticity(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.elasticity = (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_inertia(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.inertia = 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_decelerationRate(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.decelerationRate = (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_scrollSensitivity(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.scrollSensitivity = (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_viewport(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.viewport = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_velocity(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.ScrollRectBaseOld gen_to_be_invoked = (BF.ScrollRectBaseOld)translator.FastGetCSObj(L, 1);
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.velocity = gen_value;
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
}
}