public static int constructor(IntPtr l) { int result; try { PlayerOutOfBagItem o = new PlayerOutOfBagItem(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_HeadFrames(IntPtr l) { int result; try { PlayerOutOfBagItem playerOutOfBagItem = (PlayerOutOfBagItem)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, playerOutOfBagItem.HeadFrames); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06007648 RID: 30280 RVA: 0x00205C94 File Offset: 0x00203E94 public void DeSerialize(DSResourceNtf msg) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_DeSerializeDSResourceNtf_hotfix != null) { this.m_DeSerializeDSResourceNtf_hotfix.call(new object[] { this, msg }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_resourceDS.ClearInitedData(); this.m_resourceDS.InitResource(PlayerOutOfBagItem.FromPB(msg.Resource)); this.m_resourceDS.InitVersion((ushort)msg.Version, (ushort)msg.Version); base.EffectValidMonthCard(); }
public static int FromPB_s(IntPtr l) { int result; try { ProResource pbResource; LuaObject.checkType <ProResource>(l, 1, out pbResource); PlayerOutOfBagItem o = PlayerOutOfBagItem.FromPB(pbResource); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_MonthCards(IntPtr l) { int result; try { PlayerOutOfBagItem playerOutOfBagItem = (PlayerOutOfBagItem)LuaObject.checkSelf(l); List <MonthCard> monthCards; LuaObject.checkType <List <MonthCard> >(l, 2, out monthCards); playerOutOfBagItem.MonthCards = monthCards; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_EquipmentIds(IntPtr l) { int result; try { PlayerOutOfBagItem playerOutOfBagItem = (PlayerOutOfBagItem)LuaObject.checkSelf(l); List <int> equipmentIds; LuaObject.checkType <List <int> >(l, 2, out equipmentIds); playerOutOfBagItem.EquipmentIds = equipmentIds; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_HeadFrames(IntPtr l) { int result; try { PlayerOutOfBagItem playerOutOfBagItem = (PlayerOutOfBagItem)LuaObject.checkSelf(l); List <int> headFrames; LuaObject.checkType <List <int> >(l, 2, out headFrames); playerOutOfBagItem.HeadFrames = headFrames; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }