Esempio n. 1
0
 static StackObject *AssignFromStack_selectionMode_3(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
 {
     ILRuntime.Runtime.Enviorment.AppDomain __domain       = __intp.AppDomain;
     FairyGUI.ListSelectionMode             @selectionMode = (FairyGUI.ListSelectionMode) typeof(FairyGUI.ListSelectionMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 20);
     ((FairyGUI.GList)o).selectionMode = @selectionMode;
     return(ptr_of_this_method);
 }
    static int get_selectionMode(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GList             obj = (FairyGUI.GList)o;
            FairyGUI.ListSelectionMode ret = obj.selectionMode;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectionMode on a nil value" : e.Message));
        }
    }
    static int set_selectionMode(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FairyGUI.GList             obj  = (FairyGUI.GList)o;
            FairyGUI.ListSelectionMode arg0 = (FairyGUI.ListSelectionMode)ToLua.CheckObject(L, 2, typeof(FairyGUI.ListSelectionMode));
            obj.selectionMode = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectionMode on a nil value" : e.Message));
        }
    }