// Token: 0x06003CF4 RID: 15604 RVA: 0x0011388C File Offset: 0x00111A8C public static TeamRoomPlayer PbTeamRoomPlayerToTeamRoomPlayer(ProTeamRoomPlayer pbPlayer) { return(new TeamRoomPlayer { UserId = pbPlayer.UserId, SessionId = pbPlayer.SessionId, ChannelId = pbPlayer.ChannelId, Name = pbPlayer.Name, HeadIcon = pbPlayer.HeadIcon, ActiveHeroJobRelatedId = pbPlayer.ActiveHeroJobRelatedId, Level = pbPlayer.Level, Position = pbPlayer.Position, ModenSkinId = pbPlayer.ModenSkinId }); }
public static int TeamRoomPlayerToPbTeamRoomPlayer_s(IntPtr l) { int result; try { TeamRoomPlayer player; LuaObject.checkType <TeamRoomPlayer>(l, 1, out player); ProTeamRoomPlayer o = TeamRoomPlayer.TeamRoomPlayerToPbTeamRoomPlayer(player); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }