public static int set_FriendlyCareerMatchStats(IntPtr l) { int result; try { DataSectionRealTimePVP dataSectionRealTimePVP = (DataSectionRealTimePVP)LuaObject.checkSelf(l); RealTimePVPMatchStats friendlyCareerMatchStats; LuaObject.checkType <RealTimePVPMatchStats>(l, 2, out friendlyCareerMatchStats); dataSectionRealTimePVP.FriendlyCareerMatchStats = friendlyCareerMatchStats; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int AcquireWinsBonus(IntPtr l) { int result; try { DataSectionRealTimePVP dataSectionRealTimePVP = (DataSectionRealTimePVP)LuaObject.checkSelf(l); int bonusId; LuaObject.checkType(l, 2, out bonusId); dataSectionRealTimePVP.AcquireWinsBonus(bonusId); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Reports(IntPtr l) { int result; try { DataSectionRealTimePVP dataSectionRealTimePVP = (DataSectionRealTimePVP)LuaObject.checkSelf(l); LinkedList <RealTimePVPBattleReport> reports; LuaObject.checkType <LinkedList <RealTimePVPBattleReport> >(l, 2, out reports); dataSectionRealTimePVP.Reports = reports; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SaveReport(IntPtr l) { int result; try { DataSectionRealTimePVP dataSectionRealTimePVP = (DataSectionRealTimePVP)LuaObject.checkSelf(l); RealTimePVPBattleReport report; LuaObject.checkType <RealTimePVPBattleReport>(l, 2, out report); dataSectionRealTimePVP.SaveReport(report); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }