// Token: 0x06004F71 RID: 20337 RVA: 0x0017F028 File Offset: 0x0017D228 public static ProDanmakuEntry LevelDanmakuToPBLevelDanmaku(DanmakuEntry entry) { return(new ProDanmakuEntry { UserId = entry.UserId, Content = entry.Content }); }
// Token: 0x06004F69 RID: 20329 RVA: 0x0017EF20 File Offset: 0x0017D120 public static ProTurnDanmaku TurnDanmakuToPBTurnDanmaku(TurnDanmaku turnDanmaku) { ProTurnDanmaku proTurnDanmaku = new ProTurnDanmaku { Turn = turnDanmaku.Turn, NextIndex = turnDanmaku.NextIndex }; foreach (DanmakuEntry entry in turnDanmaku.Entries) { proTurnDanmaku.Entries.Add(DanmakuEntry.LevelDanmakuToPBLevelDanmaku(entry)); } return(proTurnDanmaku); }
// Token: 0x06004F68 RID: 20328 RVA: 0x0017EE98 File Offset: 0x0017D098 public static TurnDanmaku PBTurnDanmakuToTurnDanmaku(ProTurnDanmaku pbTurnDanmaku) { TurnDanmaku turnDanmaku = new TurnDanmaku { Turn = pbTurnDanmaku.Turn, NextIndex = pbTurnDanmaku.NextIndex }; foreach (ProDanmakuEntry pbEntry in pbTurnDanmaku.Entries) { turnDanmaku.Entries.Add(DanmakuEntry.PBLevelDanmakuToLevelDanmaku(pbEntry)); } return(turnDanmaku); }
// Token: 0x06004F6B RID: 20331 RVA: 0x0017EFB0 File Offset: 0x0017D1B0 public DanmakuEntry(DanmakuEntry other) { this.UserId = other.UserId; this.Content = other.Content; }