public static int get_Heroes(IntPtr l) { int result; try { BusinessCardInfoSet businessCardInfoSet = (BusinessCardInfoSet)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, businessCardInfoSet.Heroes); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { BusinessCardInfoSet o = new BusinessCardInfoSet(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FromProtocol_s(IntPtr l) { int result; try { ProBusinessCardInfoSet pbSet; LuaObject.checkType <ProBusinessCardInfoSet>(l, 1, out pbSet); BusinessCardInfoSet o = BusinessCardInfoSet.FromProtocol(pbSet); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_IsActionRandom(IntPtr l) { int result; try { BusinessCardInfoSet businessCardInfoSet = (BusinessCardInfoSet)LuaObject.checkSelf(l); bool isActionRandom; LuaObject.checkType(l, 2, out isActionRandom); businessCardInfoSet.IsActionRandom = isActionRandom; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Desc(IntPtr l) { int result; try { BusinessCardInfoSet businessCardInfoSet = (BusinessCardInfoSet)LuaObject.checkSelf(l); string desc; LuaObject.checkType(l, 2, out desc); businessCardInfoSet.Desc = desc; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Heroes(IntPtr l) { int result; try { BusinessCardInfoSet businessCardInfoSet = (BusinessCardInfoSet)LuaObject.checkSelf(l); List <BusinessCardHeroSet> heroes; LuaObject.checkType <List <BusinessCardHeroSet> >(l, 2, out heroes); businessCardInfoSet.Heroes = heroes; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06006F9D RID: 28573 RVA: 0x001F36D8 File Offset: 0x001F18D8 private void LoadFromPBData(DSFriendNtf pbFriendInfo) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_LoadFromPBDataDSFriendNtf_hotfix != null) { this.m_LoadFromPBDataDSFriendNtf_hotfix.call(new object[] { this, pbFriendInfo }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_friendDS.Likes = pbFriendInfo.Likes; this.m_friendDS.LikedUsers.AddRange(pbFriendInfo.LikedUsers); this.m_friendDS.BusinessCardSetInfo = BusinessCardInfoSet.FromProtocol(pbFriendInfo.SetInfo); this.m_friendDS.FriendshipPointsSent.AddRange(pbFriendInfo.FriendshipPointsSent); this.m_friendDS.FriendshipPointsReceived.AddRange(pbFriendInfo.FriendshipPointsReceived); this.m_friendDS.FriendshipPointsClaimedToday = pbFriendInfo.FriendshipPointsClaimedToday; this.m_friendDS.FriendshipPointsFromFightWithFriendsToday = pbFriendInfo.FriendshipPointsFromFightWithFriendsToday; this.m_friendDS.BannedTime = new DateTime(pbFriendInfo.BannedTime); this.m_friendDS.InitVersion((ushort)pbFriendInfo.Version, (ushort)pbFriendInfo.Version); }
// Token: 0x06006FE0 RID: 28640 RVA: 0x001F4968 File Offset: 0x001F2B68 public void __callBase_SetBusinessCardInfo(BusinessCardInfoSet setInfo) { this.m_owner.__callBase_SetBusinessCardInfo(setInfo); }
// Token: 0x06006FBE RID: 28606 RVA: 0x001F43E0 File Offset: 0x001F25E0 private void __callBase_SetBusinessCardInfo(BusinessCardInfoSet setInfo) { base.SetBusinessCardInfo(setInfo); }