// Token: 0x06004F2D RID: 20269 RVA: 0x0017E44C File Offset: 0x0017C64C
        public static ProPlayerHeroCommentEntry PlayerHeroCommentEntryToPBPlayerHeroCommentEntry(PlayerHeroCommentEntry entry)
        {
            ProPlayerHeroCommentEntry proPlayerHeroCommentEntry = new ProPlayerHeroCommentEntry();

            proPlayerHeroCommentEntry.HeroId = entry.HeroId;
            proPlayerHeroCommentEntry.CommentedEntryInstanceIds.AddRange(entry.CommentedEntryInstanceIds);
            proPlayerHeroCommentEntry.PraisedEntryInstanceIds.AddRange(entry.PraisedEntryInstanceIds);
            proPlayerHeroCommentEntry.CommentedNums = entry.CommentedNums;
            return(proPlayerHeroCommentEntry);
        }
    public static int PlayerHeroCommentEntryToPBPlayerHeroCommentEntry_s(IntPtr l)
    {
        int result;

        try
        {
            PlayerHeroCommentEntry entry;
            LuaObject.checkType <PlayerHeroCommentEntry>(l, 1, out entry);
            ProPlayerHeroCommentEntry o = PlayerHeroCommentEntry.PlayerHeroCommentEntryToPBPlayerHeroCommentEntry(entry);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
        // Token: 0x06004F2E RID: 20270 RVA: 0x0017E49C File Offset: 0x0017C69C
        public static PlayerHeroCommentEntry PBPlayerHeroCommentEntryToPlayerHeroCommentEntry(ProPlayerHeroCommentEntry pbEntry)
        {
            PlayerHeroCommentEntry playerHeroCommentEntry = new PlayerHeroCommentEntry();

            playerHeroCommentEntry.HeroId = pbEntry.HeroId;
            playerHeroCommentEntry.CommentedEntryInstanceIds.AddRange(pbEntry.CommentedEntryInstanceIds);
            foreach (ulong item in pbEntry.PraisedEntryInstanceIds)
            {
                playerHeroCommentEntry.PraisedEntryInstanceIds.Add(item);
            }
            playerHeroCommentEntry.CommentedNums = pbEntry.CommentedNums;
            return(playerHeroCommentEntry);
        }