Exemple #1
0
    public static int get_m_fx(IntPtr l)
    {
        int result;

        try
        {
            ClientActorBuff clientActorBuff = (ClientActorBuff)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, clientActorBuff.m_fx);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ClientActorBuff o = new ClientActorBuff();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #3
0
    public static int set_m_buffState(IntPtr l)
    {
        int result;

        try
        {
            ClientActorBuff clientActorBuff = (ClientActorBuff)LuaObject.checkSelf(l);
            BuffState       buffState;
            LuaObject.checkType <BuffState>(l, 2, out buffState);
            clientActorBuff.m_buffState = buffState;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #4
0
    public static int set_m_fx(IntPtr l)
    {
        int result;

        try
        {
            ClientActorBuff clientActorBuff = (ClientActorBuff)LuaObject.checkSelf(l);
            GenericGraphic  fx;
            LuaObject.checkType <GenericGraphic>(l, 2, out fx);
            clientActorBuff.m_fx = fx;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }