1108 lines
25 KiB
C#
1108 lines
25 KiB
C#
//this source code was auto-generated by tolua#, do not modify it
|
|
using System;
|
|
using LuaInterface;
|
|
|
|
public class FairyGUI_UIConfigWrap
|
|
{
|
|
public static void Register(LuaState L)
|
|
{
|
|
L.BeginClass(typeof(FairyGUI.UIConfig), typeof(UnityEngine.MonoBehaviour));
|
|
L.RegFunction("Load", Load);
|
|
L.RegFunction("SetDefaultValue", SetDefaultValue);
|
|
L.RegFunction("ClearResourceRefs", ClearResourceRefs);
|
|
L.RegFunction("ApplyModifiedProperties", ApplyModifiedProperties);
|
|
L.RegFunction("__eq", op_Equality);
|
|
L.RegFunction("__tostring", ToLua.op_ToString);
|
|
L.RegVar("defaultFont", get_defaultFont, set_defaultFont);
|
|
L.RegVar("windowModalWaiting", get_windowModalWaiting, set_windowModalWaiting);
|
|
L.RegVar("globalModalWaiting", get_globalModalWaiting, set_globalModalWaiting);
|
|
L.RegVar("modalLayerColor", get_modalLayerColor, set_modalLayerColor);
|
|
L.RegVar("buttonSound", get_buttonSound, set_buttonSound);
|
|
L.RegVar("buttonSoundVolumeScale", get_buttonSoundVolumeScale, set_buttonSoundVolumeScale);
|
|
L.RegVar("horizontalScrollBar", get_horizontalScrollBar, set_horizontalScrollBar);
|
|
L.RegVar("verticalScrollBar", get_verticalScrollBar, set_verticalScrollBar);
|
|
L.RegVar("defaultScrollStep", get_defaultScrollStep, set_defaultScrollStep);
|
|
L.RegVar("defaultScrollDecelerationRate", get_defaultScrollDecelerationRate, set_defaultScrollDecelerationRate);
|
|
L.RegVar("defaultScrollBarDisplay", get_defaultScrollBarDisplay, set_defaultScrollBarDisplay);
|
|
L.RegVar("defaultScrollTouchEffect", get_defaultScrollTouchEffect, set_defaultScrollTouchEffect);
|
|
L.RegVar("defaultScrollBounceEffect", get_defaultScrollBounceEffect, set_defaultScrollBounceEffect);
|
|
L.RegVar("popupMenu", get_popupMenu, set_popupMenu);
|
|
L.RegVar("popupMenu_seperator", get_popupMenu_seperator, set_popupMenu_seperator);
|
|
L.RegVar("loaderErrorSign", get_loaderErrorSign, set_loaderErrorSign);
|
|
L.RegVar("tooltipsWin", get_tooltipsWin, set_tooltipsWin);
|
|
L.RegVar("defaultComboBoxVisibleItemCount", get_defaultComboBoxVisibleItemCount, set_defaultComboBoxVisibleItemCount);
|
|
L.RegVar("touchScrollSensitivity", get_touchScrollSensitivity, set_touchScrollSensitivity);
|
|
L.RegVar("touchDragSensitivity", get_touchDragSensitivity, set_touchDragSensitivity);
|
|
L.RegVar("clickDragSensitivity", get_clickDragSensitivity, set_clickDragSensitivity);
|
|
L.RegVar("allowSoftnessOnTopOrLeftSide", get_allowSoftnessOnTopOrLeftSide, set_allowSoftnessOnTopOrLeftSide);
|
|
L.RegVar("bringWindowToFrontOnClick", get_bringWindowToFrontOnClick, set_bringWindowToFrontOnClick);
|
|
L.RegVar("inputCaretSize", get_inputCaretSize, set_inputCaretSize);
|
|
L.RegVar("inputHighlightColor", get_inputHighlightColor, set_inputHighlightColor);
|
|
L.RegVar("frameTimeForAsyncUIConstruction", get_frameTimeForAsyncUIConstruction, set_frameTimeForAsyncUIConstruction);
|
|
L.RegVar("depthSupportForPaintingMode", get_depthSupportForPaintingMode, set_depthSupportForPaintingMode);
|
|
L.RegVar("enhancedTextOutlineEffect", get_enhancedTextOutlineEffect, set_enhancedTextOutlineEffect);
|
|
L.RegVar("richTextRowVerticalAlign", get_richTextRowVerticalAlign, set_richTextRowVerticalAlign);
|
|
L.RegVar("Items", get_Items, set_Items);
|
|
L.RegVar("PreloadPackages", get_PreloadPackages, set_PreloadPackages);
|
|
L.RegVar("soundLoader", get_soundLoader, set_soundLoader);
|
|
L.RegFunction("SoundLoader", FairyGUI_UIConfig_SoundLoader);
|
|
L.EndClass();
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int Load(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.CheckArgsCount(L, 1);
|
|
FairyGUI.UIConfig obj = (FairyGUI.UIConfig)ToLua.CheckObject<FairyGUI.UIConfig>(L, 1);
|
|
obj.Load();
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int SetDefaultValue(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.CheckArgsCount(L, 2);
|
|
FairyGUI.UIConfig.ConfigKey arg0 = (FairyGUI.UIConfig.ConfigKey)ToLua.CheckObject(L, 1, typeof(FairyGUI.UIConfig.ConfigKey));
|
|
FairyGUI.UIConfig.ConfigValue arg1 = (FairyGUI.UIConfig.ConfigValue)ToLua.CheckObject<FairyGUI.UIConfig.ConfigValue>(L, 2);
|
|
FairyGUI.UIConfig.SetDefaultValue(arg0, arg1);
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int ClearResourceRefs(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.CheckArgsCount(L, 0);
|
|
FairyGUI.UIConfig.ClearResourceRefs();
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int ApplyModifiedProperties(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.CheckArgsCount(L, 1);
|
|
FairyGUI.UIConfig obj = (FairyGUI.UIConfig)ToLua.CheckObject<FairyGUI.UIConfig>(L, 1);
|
|
obj.ApplyModifiedProperties();
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int op_Equality(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.CheckArgsCount(L, 2);
|
|
UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
|
|
UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
|
|
bool o = arg0 == arg1;
|
|
LuaDLL.lua_pushboolean(L, o);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultFont(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.defaultFont);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_windowModalWaiting(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.windowModalWaiting);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_globalModalWaiting(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.globalModalWaiting);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_modalLayerColor(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.Push(L, FairyGUI.UIConfig.modalLayerColor);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_buttonSound(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.PushObject(L, FairyGUI.UIConfig.buttonSound);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_buttonSoundVolumeScale(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushnumber(L, FairyGUI.UIConfig.buttonSoundVolumeScale);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_horizontalScrollBar(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.horizontalScrollBar);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_verticalScrollBar(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.verticalScrollBar);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultScrollStep(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushnumber(L, FairyGUI.UIConfig.defaultScrollStep);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultScrollDecelerationRate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushnumber(L, FairyGUI.UIConfig.defaultScrollDecelerationRate);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultScrollBarDisplay(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.Push(L, FairyGUI.UIConfig.defaultScrollBarDisplay);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultScrollTouchEffect(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushboolean(L, FairyGUI.UIConfig.defaultScrollTouchEffect);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultScrollBounceEffect(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushboolean(L, FairyGUI.UIConfig.defaultScrollBounceEffect);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_popupMenu(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.popupMenu);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_popupMenu_seperator(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.popupMenu_seperator);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_loaderErrorSign(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.loaderErrorSign);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_tooltipsWin(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushstring(L, FairyGUI.UIConfig.tooltipsWin);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_defaultComboBoxVisibleItemCount(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushinteger(L, FairyGUI.UIConfig.defaultComboBoxVisibleItemCount);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_touchScrollSensitivity(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushinteger(L, FairyGUI.UIConfig.touchScrollSensitivity);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_touchDragSensitivity(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushinteger(L, FairyGUI.UIConfig.touchDragSensitivity);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_clickDragSensitivity(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushinteger(L, FairyGUI.UIConfig.clickDragSensitivity);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_allowSoftnessOnTopOrLeftSide(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushboolean(L, FairyGUI.UIConfig.allowSoftnessOnTopOrLeftSide);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_bringWindowToFrontOnClick(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushboolean(L, FairyGUI.UIConfig.bringWindowToFrontOnClick);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_inputCaretSize(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushinteger(L, FairyGUI.UIConfig.inputCaretSize);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_inputHighlightColor(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.Push(L, FairyGUI.UIConfig.inputHighlightColor);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_frameTimeForAsyncUIConstruction(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushnumber(L, FairyGUI.UIConfig.frameTimeForAsyncUIConstruction);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_depthSupportForPaintingMode(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushboolean(L, FairyGUI.UIConfig.depthSupportForPaintingMode);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_enhancedTextOutlineEffect(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
LuaDLL.lua_pushboolean(L, FairyGUI.UIConfig.enhancedTextOutlineEffect);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_richTextRowVerticalAlign(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.Push(L, FairyGUI.UIConfig.richTextRowVerticalAlign);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_Items(IntPtr L)
|
|
{
|
|
object o = null;
|
|
|
|
try
|
|
{
|
|
o = ToLua.ToObject(L, 1);
|
|
FairyGUI.UIConfig obj = (FairyGUI.UIConfig)o;
|
|
System.Collections.Generic.List<FairyGUI.UIConfig.ConfigValue> ret = obj.Items;
|
|
ToLua.PushSealed(L, ret);
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index Items on a nil value");
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_PreloadPackages(IntPtr L)
|
|
{
|
|
object o = null;
|
|
|
|
try
|
|
{
|
|
o = ToLua.ToObject(L, 1);
|
|
FairyGUI.UIConfig obj = (FairyGUI.UIConfig)o;
|
|
System.Collections.Generic.List<string> ret = obj.PreloadPackages;
|
|
ToLua.PushSealed(L, ret);
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index PreloadPackages on a nil value");
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int get_soundLoader(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
ToLua.Push(L, FairyGUI.UIConfig.soundLoader);
|
|
return 1;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultFont(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.defaultFont = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_windowModalWaiting(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.windowModalWaiting = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_globalModalWaiting(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.globalModalWaiting = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_modalLayerColor(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
|
|
FairyGUI.UIConfig.modalLayerColor = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_buttonSound(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
FairyGUI.NAudioClip arg0 = (FairyGUI.NAudioClip)ToLua.CheckObject<FairyGUI.NAudioClip>(L, 2);
|
|
FairyGUI.UIConfig.buttonSound = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_buttonSoundVolumeScale(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.buttonSoundVolumeScale = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_horizontalScrollBar(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.horizontalScrollBar = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_verticalScrollBar(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.verticalScrollBar = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultScrollStep(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.defaultScrollStep = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultScrollDecelerationRate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.defaultScrollDecelerationRate = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultScrollBarDisplay(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
FairyGUI.ScrollBarDisplayType arg0 = (FairyGUI.ScrollBarDisplayType)ToLua.CheckObject(L, 2, typeof(FairyGUI.ScrollBarDisplayType));
|
|
FairyGUI.UIConfig.defaultScrollBarDisplay = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultScrollTouchEffect(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
FairyGUI.UIConfig.defaultScrollTouchEffect = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultScrollBounceEffect(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
FairyGUI.UIConfig.defaultScrollBounceEffect = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_popupMenu(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.popupMenu = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_popupMenu_seperator(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.popupMenu_seperator = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_loaderErrorSign(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.loaderErrorSign = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_tooltipsWin(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
string arg0 = ToLua.CheckString(L, 2);
|
|
FairyGUI.UIConfig.tooltipsWin = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_defaultComboBoxVisibleItemCount(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.defaultComboBoxVisibleItemCount = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_touchScrollSensitivity(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.touchScrollSensitivity = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_touchDragSensitivity(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.touchDragSensitivity = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_clickDragSensitivity(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.clickDragSensitivity = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_allowSoftnessOnTopOrLeftSide(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
FairyGUI.UIConfig.allowSoftnessOnTopOrLeftSide = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_bringWindowToFrontOnClick(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
FairyGUI.UIConfig.bringWindowToFrontOnClick = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_inputCaretSize(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.inputCaretSize = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_inputHighlightColor(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
|
|
FairyGUI.UIConfig.inputHighlightColor = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_frameTimeForAsyncUIConstruction(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
|
|
FairyGUI.UIConfig.frameTimeForAsyncUIConstruction = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_depthSupportForPaintingMode(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
FairyGUI.UIConfig.depthSupportForPaintingMode = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_enhancedTextOutlineEffect(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
|
|
FairyGUI.UIConfig.enhancedTextOutlineEffect = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_richTextRowVerticalAlign(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
FairyGUI.VertAlignType arg0 = (FairyGUI.VertAlignType)ToLua.CheckObject(L, 2, typeof(FairyGUI.VertAlignType));
|
|
FairyGUI.UIConfig.richTextRowVerticalAlign = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_Items(IntPtr L)
|
|
{
|
|
object o = null;
|
|
|
|
try
|
|
{
|
|
o = ToLua.ToObject(L, 1);
|
|
FairyGUI.UIConfig obj = (FairyGUI.UIConfig)o;
|
|
System.Collections.Generic.List<FairyGUI.UIConfig.ConfigValue> arg0 = (System.Collections.Generic.List<FairyGUI.UIConfig.ConfigValue>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<FairyGUI.UIConfig.ConfigValue>));
|
|
obj.Items = arg0;
|
|
return 0;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index Items on a nil value");
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_PreloadPackages(IntPtr L)
|
|
{
|
|
object o = null;
|
|
|
|
try
|
|
{
|
|
o = ToLua.ToObject(L, 1);
|
|
FairyGUI.UIConfig obj = (FairyGUI.UIConfig)o;
|
|
System.Collections.Generic.List<string> arg0 = (System.Collections.Generic.List<string>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<string>));
|
|
obj.PreloadPackages = arg0;
|
|
return 0;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index PreloadPackages on a nil value");
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int set_soundLoader(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
FairyGUI.UIConfig.SoundLoader arg0 = (FairyGUI.UIConfig.SoundLoader)ToLua.CheckDelegate<FairyGUI.UIConfig.SoundLoader>(L, 2);
|
|
FairyGUI.UIConfig.soundLoader = arg0;
|
|
return 0;
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int FairyGUI_UIConfig_SoundLoader(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateTraits<FairyGUI.UIConfig.SoundLoader>.Create(func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateTraits<FairyGUI.UIConfig.SoundLoader>.Create(func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
}
|
|
|