示例#1
0
    public static int Tick(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l);
            uint deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            surveyComponentCommon.Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }