public static int constructor(IntPtr l) { int result; try { NoviceComponentCommon o = new NoviceComponentCommon(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int PostInit(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); noviceComponentCommon.PostInit(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_Owner(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, noviceComponentCommon.Owner); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_configDataLoader(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, noviceComponentCommon.m_luaExportHelper.m_configDataLoader); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetDaysAfterCreation(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); int daysAfterCreation = noviceComponentCommon.GetDaysAfterCreation(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, daysAfterCreation); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetNovicePointsRewardsConfig(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); List <ConfigDataNoviceRewardInfo> novicePointsRewardsConfig = noviceComponentCommon.GetNovicePointsRewardsConfig(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, novicePointsRewardsConfig); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetRewardClaimedSlots(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); List <int> rewardClaimedSlots = noviceComponentCommon.GetRewardClaimedSlots(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, rewardClaimedSlots); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetMissions(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); Dictionary <int, List <int> > missions = noviceComponentCommon.GetMissions(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, missions); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetMissionsEndTime(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); TimeSpan missionsEndTime = noviceComponentCommon.GetMissionsEndTime(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, missionsEndTime); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Tick(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); uint deltaMillisecond; LuaObject.checkType(l, 2, out deltaMillisecond); noviceComponentCommon.Tick(deltaMillisecond); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int AddMissionPoints(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); int delta; LuaObject.checkType(l, 2, out delta); noviceComponentCommon.AddMissionPoints(delta); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Owner(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); IComponentOwner owner; LuaObject.checkType <IComponentOwner>(l, 2, out owner); noviceComponentCommon.Owner = owner; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_mission(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); MissionComponentCommon mission; LuaObject.checkType <MissionComponentCommon>(l, 2, out mission); noviceComponentCommon.m_luaExportHelper.m_mission = mission; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_noviceDS(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); DataSectionNovice noviceDS; LuaObject.checkType <DataSectionNovice>(l, 2, out noviceDS); noviceComponentCommon.m_luaExportHelper.m_noviceDS = noviceDS; 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 { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); PlayerBasicInfoComponentCommon basicInfo; LuaObject.checkType <PlayerBasicInfoComponentCommon>(l, 2, out basicInfo); noviceComponentCommon.m_luaExportHelper.m_basicInfo = basicInfo; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_novicePointsRewards(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); List <ConfigDataNoviceRewardInfo> novicePointsRewards; LuaObject.checkType <List <ConfigDataNoviceRewardInfo> >(l, 2, out novicePointsRewards); noviceComponentCommon.m_luaExportHelper.m_novicePointsRewards = novicePointsRewards; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set__configDataLoader(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); IConfigDataLoader configDataLoader; LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader); noviceComponentCommon.m_luaExportHelper._configDataLoader = configDataLoader; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int CanClaimReward(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); int slot; LuaObject.checkType(l, 2, out slot); int i = noviceComponentCommon.CanClaimReward(slot); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetMissionDay(IntPtr l) { int result; try { NoviceComponentCommon noviceComponentCommon = (NoviceComponentCommon)LuaObject.checkSelf(l); ConfigDataMissionInfo mission; LuaObject.checkType <ConfigDataMissionInfo>(l, 2, out mission); int missionDay = noviceComponentCommon.GetMissionDay(mission); LuaObject.pushValue(l, true); LuaObject.pushValue(l, missionDay); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }