상속: GComponent
예제 #1
0
 static public int Dispose(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         self.Dispose();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static public int get_visibleItemCount(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.visibleItemCount);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int get_dropdown(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.dropdown);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
0
 static public int UpdateDropdownList(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         self.UpdateDropdownList();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #5
0
 static public int constructor(IntPtr l)
 {
     try {
         FairyGUI.GComboBox o;
         o = new FairyGUI.GComboBox();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #6
0
 static public int set_visibleItemCount(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         System.Int32       v;
         checkType(l, 2, out v);
         self.visibleItemCount = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #7
0
 static public int Setup_AfterAdd(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         FairyGUI.Utils.XML a1;
         checkType(l, 2, out a1);
         self.Setup_AfterAdd(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #8
0
 static public int set_popupDirection(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         string             v;
         checkType(l, 2, out v);
         self.popupDirection = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #9
0
 static public int set_selectedIndex(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         int v;
         checkType(l, 2, out v);
         self.selectedIndex = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #10
0
 static public int set_values(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         System.String[]    v;
         checkArray(l, 2, out v);
         self.values = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #11
0
 static public int set_titleColor(IntPtr l)
 {
     try {
         FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l);
         UnityEngine.Color  v;
         checkType(l, 2, out v);
         self.titleColor = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int UpdateDropdownList(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         obj.UpdateDropdownList();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #13
0
 static int Dispose(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComboBox));
         obj.Dispose();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #14
0
 static public int set_dropdown(IntPtr l)
 {
     try {
         FairyGUI.GComboBox  self = (FairyGUI.GComboBox)checkSelf(l);
         FairyGUI.GComponent v;
         checkType(l, 2, out v);
         self.dropdown = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #15
0
 static int ApplyListChange(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GComboBox obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         obj.ApplyListChange();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int ConstructFromXML(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GComboBox obj  = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         FairyGUI.Utils.XML arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject <FairyGUI.Utils.XML>(L, 2);
         obj.ConstructFromXML(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int HandleControllerChanged(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GComboBox  obj  = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         FairyGUI.Controller arg0 = (FairyGUI.Controller)ToLua.CheckObject <FairyGUI.Controller>(L, 2);
         obj.HandleControllerChanged(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #18
0
 static int GetTextField(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GComboBox  obj = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         FairyGUI.GTextField o   = obj.GetTextField();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #19
0
 static int Setup_AfterAdd(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GComboBox obj  = (FairyGUI.GComboBox)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComboBox));
         FairyGUI.Utils.XML arg0 = (FairyGUI.Utils.XML)ToLua.CheckObject(L, 2, typeof(FairyGUI.Utils.XML));
         obj.Setup_AfterAdd(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #20
0
 static int Setup_AfterAdd(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         FairyGUI.GComboBox        obj  = (FairyGUI.GComboBox)ToLua.CheckObject <FairyGUI.GComboBox>(L, 1);
         FairyGUI.Utils.ByteBuffer arg0 = (FairyGUI.Utils.ByteBuffer)ToLua.CheckObject <FairyGUI.Utils.ByteBuffer>(L, 2);
         int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.Setup_AfterAdd(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #21
0
    static int get_values(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o;
            string[]           ret = obj.values;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index values on a nil value" : e.Message));
        }
    }
예제 #22
0
    static int set_popupDirection(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj  = (FairyGUI.GComboBox)o;
            string             arg0 = ToLua.CheckString(L, 2);
            obj.popupDirection = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index popupDirection on a nil value" : e.Message));
        }
    }
    static int set_value(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj  = (FairyGUI.GComboBox)o;
            string             arg0 = ToLua.CheckString(L, 2);
            obj.value = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index value on a nil value"));
        }
    }
예제 #24
0
    static int set_titleColor(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj  = (FairyGUI.GComboBox)o;
            UnityEngine.Color  arg0 = ToLua.ToColor(L, 2);
            obj.titleColor = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index titleColor on a nil value" : e.Message));
        }
    }
예제 #25
0
    static int set_selectedIndex(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o;
            int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
            obj.selectedIndex = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectedIndex on a nil value" : e.Message));
        }
    }
예제 #26
0
    static int set_dropdown(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox  obj  = (FairyGUI.GComboBox)o;
            FairyGUI.GComponent arg0 = (FairyGUI.GComponent)ToLua.CheckObject(L, 2, typeof(FairyGUI.GComponent));
            obj.dropdown = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dropdown on a nil value" : e.Message));
        }
    }
예제 #27
0
    static int get_popupDirection(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o;
            string             ret = obj.popupDirection;
            LuaDLL.lua_pushstring(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index popupDirection on a nil value" : e.Message));
        }
    }
예제 #28
0
    static int get_selectedIndex(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox obj = (FairyGUI.GComboBox)o;
            int ret = obj.selectedIndex;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectedIndex on a nil value" : e.Message));
        }
    }
예제 #29
0
    static int get_dropdown(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox  obj = (FairyGUI.GComboBox)o;
            FairyGUI.GComponent ret = obj.dropdown;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index dropdown on a nil value" : e.Message));
        }
    }
예제 #30
0
    static int get_onChanged(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GComboBox     obj = (FairyGUI.GComboBox)o;
            FairyGUI.EventListener ret = obj.onChanged;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onChanged on a nil value" : e.Message));
        }
    }