Exemplo n.º 1
0
 // Token: 0x06003BAF RID: 15279 RVA: 0x0010FEE4 File Offset: 0x0010E0E4
 public static ProGuildLog ToPB(GuildLog log)
 {
     return(new ProGuildLog
     {
         GuildLogModeId = log.ModeId,
         Content = log.Content,
         SendTime = log.SendTime.Ticks
     });
 }
Exemplo n.º 2
0
        // Token: 0x06003BB1 RID: 15281 RVA: 0x0010FF8C File Offset: 0x0010E18C
        public static List <GuildLog> FromPBs(List <ProGuildLog> pbLogs)
        {
            List <GuildLog> list = new List <GuildLog>();

            foreach (ProGuildLog pbLog in pbLogs)
            {
                list.Add(GuildLog.FromPB(pbLog));
            }
            return(list);
        }
Exemplo n.º 3
0
        // Token: 0x06003BB0 RID: 15280 RVA: 0x0010FF28 File Offset: 0x0010E128
        public static List <ProGuildLog> ToPBs(List <GuildLog> logs)
        {
            List <ProGuildLog> list = new List <ProGuildLog>();

            foreach (GuildLog log in logs)
            {
                list.Add(GuildLog.ToPB(log));
            }
            return(list);
        }