public static int DeInit(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); noviceComponent.DeInit(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_PostDeSerialize(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); noviceComponent.m_luaExportHelper.__callBase_PostDeSerialize(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { NoviceComponent o = new NoviceComponent(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetMissionsEndTime(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); TimeSpan timeSpan = noviceComponent.m_luaExportHelper.__callBase_GetMissionsEndTime(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, timeSpan); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetMissions(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); Dictionary <int, List <int> > o = noviceComponent.m_luaExportHelper.__callBase_GetMissions(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetDaysAfterCreation(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); int i = noviceComponent.m_luaExportHelper.__callBase_GetDaysAfterCreation(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetNovicePointsRewardsConfig(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); List <ConfigDataNoviceRewardInfo> o = noviceComponent.m_luaExportHelper.__callBase_GetNovicePointsRewardsConfig(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetDSVersion(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); ushort dsversion = noviceComponent.GetDSVersion(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dsversion); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_AddMissionPoints(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); int delta; LuaObject.checkType(l, 2, out delta); noviceComponent.m_luaExportHelper.__callBase_AddMissionPoints(delta); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int DeSerialize(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); DSNoviceNtf ntf; LuaObject.checkType <DSNoviceNtf>(l, 2, out ntf); noviceComponent.DeSerialize(ntf); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_GetMissionDay(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); ConfigDataMissionInfo mission; LuaObject.checkType <ConfigDataMissionInfo>(l, 2, out mission); int i = noviceComponent.m_luaExportHelper.__callBase_GetMissionDay(mission); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __callBase_CanClaimReward(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); int slot; LuaObject.checkType(l, 2, out slot); int i = noviceComponent.m_luaExportHelper.__callBase_CanClaimReward(slot); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }