// Token: 0x06003BA7 RID: 15271 RVA: 0x0010FE0C File Offset: 0x0010E00C public static GuildMember FromPb(ProGuildMember pb) { return(new GuildMember { UserId = pb.UserId, Name = pb.Name, Level = pb.Level, Title = (GuildTitle)pb.Title, TotalActivities = pb.TotalActivities, ThisWeekActivities = pb.ThisWeekActivities, Online = pb.Online, LogoutTime = new DateTime(pb.LogoutTime), TopHeroBattlePower = pb.TopHeroBattlePower, HeadIcon = pb.HeadIcon }); }
public static int ToPb_s(IntPtr l) { int result; try { GuildMember m; LuaObject.checkType <GuildMember>(l, 1, out m); ProGuildMember o = GuildMember.ToPb(m); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }