public static int get_SignRewards(IntPtr l) { int result; try { MonthSignRewardInfo monthSignRewardInfo = (MonthSignRewardInfo)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, monthSignRewardInfo.SignRewards); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { MonthSignRewardInfo o = new MonthSignRewardInfo(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Month(IntPtr l) { int result; try { MonthSignRewardInfo monthSignRewardInfo = (MonthSignRewardInfo)LuaObject.checkSelf(l); int month; LuaObject.checkType(l, 2, out month); monthSignRewardInfo.Month = month; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_SignRewards(IntPtr l) { int result; try { MonthSignRewardInfo monthSignRewardInfo = (MonthSignRewardInfo)LuaObject.checkSelf(l); Dictionary <int, List <Goods> > signRewards; LuaObject.checkType <Dictionary <int, List <Goods> > >(l, 2, out signRewards); monthSignRewardInfo.SignRewards = signRewards; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }