public static int DeInit(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); surveyComponentCommon.DeInit(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_configDataLoader(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, surveyComponentCommon.m_luaExportHelper.m_configDataLoader); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { SurveyComponentCommon o = new SurveyComponentCommon(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FlushSurvey(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); surveyComponentCommon.m_luaExportHelper.FlushSurvey(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetName(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); string name = surveyComponentCommon.GetName(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, name); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int CanGainSurveyReward(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); int i = surveyComponentCommon.CanGainSurveyReward(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetCurrentSurveyStatus(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); SurveyStatus currentSurveyStatus = surveyComponentCommon.GetCurrentSurveyStatus(); LuaObject.pushValue(l, true); LuaObject.pushEnum(l, (int)currentSurveyStatus); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Owner(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); IComponentOwner owner; LuaObject.checkType <IComponentOwner>(l, 2, out owner); surveyComponentCommon.Owner = owner; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_survey(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); DataSectionSurvey survey; LuaObject.checkType <DataSectionSurvey>(l, 2, out survey); surveyComponentCommon.m_luaExportHelper.m_survey = survey; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_basicInfo(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); PlayerBasicInfoComponentCommon basicInfo; LuaObject.checkType <PlayerBasicInfoComponentCommon>(l, 2, out basicInfo); surveyComponentCommon.m_luaExportHelper.m_basicInfo = basicInfo; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SetCurrentSurvey(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); Survey currentSurvey; LuaObject.checkType <Survey>(l, 2, out currentSurvey); surveyComponentCommon.SetCurrentSurvey(currentSurvey); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SetSurveyStatus(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); SurveyStatus surveyStatus; LuaObject.checkEnum <SurveyStatus>(l, 2, out surveyStatus); surveyComponentCommon.SetSurveyStatus(surveyStatus); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
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); }
public static int GetSurveyStatus(IntPtr l) { int result; try { SurveyComponentCommon surveyComponentCommon = (SurveyComponentCommon)LuaObject.checkSelf(l); Survey survey; LuaObject.checkType <Survey>(l, 2, out survey); SurveyStatus surveyStatus = surveyComponentCommon.m_luaExportHelper.GetSurveyStatus(survey); LuaObject.pushValue(l, true); LuaObject.pushEnum(l, (int)surveyStatus); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }