// Token: 0x06007732 RID: 30514 RVA: 0x00208EB8 File Offset: 0x002070B8 public void DeSerialize(DSTeamNtf msg) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_DeSerializeDSTeamNtf_hotfix != null) { this.m_DeSerializeDSTeamNtf_hotfix.call(new object[] { this, msg }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_teamDS.ClearInitedData(); this.m_teamDS.RoomId = msg.RoomId; this.m_teamDS.GameFunctionTypeId = (GameFunctionType)msg.GameFunctionTypeId; this.m_teamDS.LocationId = msg.LocationId; this.m_teamDS.WaitingFunctionTypeId = (GameFunctionType)msg.WaitingFunctionTypeId; this.m_teamDS.WaitingLocationId = msg.WaitingLocationId; if (msg.LastInviteSendTime != 0L) { this.m_teamDS.LastInviteSendTime = new DateTime(msg.LastInviteSendTime); } foreach (ProTeamRoomInviteInfo pbInfo in msg.InviteInfos) { this.m_teamDS.SetTeamRoomInviteInfo(TeamRoomInviteInfo.PbTeamRoomInviteInfoToTeamRoomInviteInfo(pbInfo)); } }
public static int PbTeamRoomInviteInfoToTeamRoomInviteInfo_s(IntPtr l) { int result; try { ProTeamRoomInviteInfo pbInfo; LuaObject.checkType <ProTeamRoomInviteInfo>(l, 1, out pbInfo); TeamRoomInviteInfo o = TeamRoomInviteInfo.PbTeamRoomInviteInfoToTeamRoomInviteInfo(pbInfo); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }