public static int ReloadConfigData(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); cooperateBattle.ReloadConfigData(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_WhichBattleCollections(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, cooperateBattle.WhichBattleCollections); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_ConfigDataLoader(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, cooperateBattle.ConfigDataLoader); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_IsAvailableForDisplay(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, cooperateBattle.IsAvailableForDisplay); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { CooperateBattle o = new CooperateBattle(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_WhichBattleCollections(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); CooperateBattleCollections whichBattleCollections; LuaObject.checkType <CooperateBattleCollections>(l, 2, out whichBattleCollections); cooperateBattle.WhichBattleCollections = whichBattleCollections; 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 { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); IConfigDataLoader configDataLoader; LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader); cooperateBattle.ConfigDataLoader = configDataLoader; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_ChallengedNums(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); int challengedNums; LuaObject.checkType(l, 2, out challengedNums); cooperateBattle.ChallengedNums = challengedNums; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_ID(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); int id; LuaObject.checkType(l, 2, out id); cooperateBattle.ID = id; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Levels(IntPtr l) { int result; try { CooperateBattle cooperateBattle = (CooperateBattle)LuaObject.checkSelf(l); List <CooperateBattleLevel> levels; LuaObject.checkType <List <CooperateBattleLevel> >(l, 2, out levels); cooperateBattle.Levels = levels; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetCooperateBattle(IntPtr l) { int result; try { DataSectionCooperateBattle dataSectionCooperateBattle = (DataSectionCooperateBattle)LuaObject.checkSelf(l); int battleID; LuaObject.checkType(l, 2, out battleID); CooperateBattle cooperateBattle = dataSectionCooperateBattle.GetCooperateBattle(battleID); LuaObject.pushValue(l, true); LuaObject.pushValue(l, cooperateBattle); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }