public static int get_GuaranteedStatus(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushEnum(l, (int)dataSectionSelectCard.GuaranteedStatus); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int ClearInitedData(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); dataSectionSelectCard.ClearInitedData(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_CardPools(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dataSectionSelectCard.CardPools); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { DataSectionSelectCard o = new DataSectionSelectCard(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SerializeToClient(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); object o = dataSectionSelectCard.SerializeToClient(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsCardPoolExistGuaranteedMechanism(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); bool b = dataSectionSelectCard.IsCardPoolExistGuaranteedMechanism(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsAboveGuaranteedAccumulatedValue(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); bool b = dataSectionSelectCard.IsAboveGuaranteedAccumulatedValue(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int InitCardPools(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); List <CardPool> cardPools; LuaObject.checkType <List <CardPool> >(l, 2, out cardPools); dataSectionSelectCard.InitCardPools(cardPools); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SetSelectCardGuaranteedStatus(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); SelectCardGuaranteedStatus selectCardGuaranteedStatus; LuaObject.checkEnum <SelectCardGuaranteedStatus>(l, 2, out selectCardGuaranteedStatus); dataSectionSelectCard.SetSelectCardGuaranteedStatus(selectCardGuaranteedStatus); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int InitGuaranteedSelectCardCount(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); int count; LuaObject.checkType(l, 2, out count); dataSectionSelectCard.InitGuaranteedSelectCardCount(count); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SetGuaranteedAccumulatedValue(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); int guaranteedAccumulatedValue; LuaObject.checkType(l, 2, out guaranteedAccumulatedValue); dataSectionSelectCard.SetGuaranteedAccumulatedValue(guaranteedAccumulatedValue); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FinishFirstTenSelect(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); CardPool cardPool; LuaObject.checkType <CardPool>(l, 2, out cardPool); dataSectionSelectCard.FinishFirstTenSelect(cardPool); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int RemoveCardPool(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); int cardPoolId; LuaObject.checkType(l, 2, out cardPoolId); dataSectionSelectCard.RemoveCardPool(cardPoolId); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int IsFirstSelectCard(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); CardPool cardPool; LuaObject.checkType <CardPool>(l, 2, out cardPool); bool b = dataSectionSelectCard.IsFirstSelectCard(cardPool); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int AddCardPool(IntPtr l) { int result; try { DataSectionSelectCard dataSectionSelectCard = (DataSectionSelectCard)LuaObject.checkSelf(l); CardPool newCardPool; LuaObject.checkType <CardPool>(l, 2, out newCardPool); CardPool o = dataSectionSelectCard.AddCardPool(newCardPool); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }