Пример #1
0
    public static int get_m_hideCountdown(IntPtr l)
    {
        int result;

        try
        {
            ClientBattleActor.GraphicState graphicState = (ClientBattleActor.GraphicState)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, graphicState.m_hideCountdown);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ClientBattleActor.GraphicState o = new ClientBattleActor.GraphicState();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #3
0
    public static int set_m_graphic(IntPtr l)
    {
        int result;

        try
        {
            ClientBattleActor.GraphicState graphicState = (ClientBattleActor.GraphicState)LuaObject.checkSelf(l);
            GenericGraphic graphic;
            LuaObject.checkType <GenericGraphic>(l, 2, out graphic);
            graphicState.m_graphic = graphic;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }