예제 #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
     });
 }
예제 #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);
        }
예제 #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);
        }