Ejemplo n.º 1
0
    static int get_FadeInSpeed(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FadeInOutEffect obj = (FadeInOutEffect)o;
            float           ret = obj.FadeInSpeed;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index FadeInSpeed on a nil value" : e.Message));
        }
    }
Ejemplo n.º 2
0
    static int get_ShaderColorName(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FadeInOutEffect obj = (FadeInOutEffect)o;
            string          ret = obj.ShaderColorName;
            LuaDLL.lua_pushstring(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index ShaderColorName on a nil value" : e.Message));
        }
    }
Ejemplo n.º 3
0
    static int set_UseHideStatus(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FadeInOutEffect obj  = (FadeInOutEffect)o;
            bool            arg0 = LuaDLL.luaL_checkboolean(L, 2);
            obj.UseHideStatus = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index UseHideStatus on a nil value" : e.Message));
        }
    }
Ejemplo n.º 4
0
    static int set_FadeOutSpeed(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FadeInOutEffect obj  = (FadeInOutEffect)o;
            float           arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.FadeOutSpeed = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index FadeOutSpeed on a nil value" : e.Message));
        }
    }
Ejemplo n.º 5
0
    static int set_ShaderColorName(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FadeInOutEffect obj  = (FadeInOutEffect)o;
            string          arg0 = ToLua.CheckString(L, 2);
            obj.ShaderColorName = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index ShaderColorName on a nil value" : e.Message));
        }
    }
Ejemplo n.º 6
0
    static int get_UseHideStatus(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            FadeInOutEffect obj = (FadeInOutEffect)o;
            bool            ret = obj.UseHideStatus;
            LuaDLL.lua_pushboolean(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index UseHideStatus on a nil value" : e.Message));
        }
    }