// Token: 0x06004F78 RID: 20344 RVA: 0x0017F0B8 File Offset: 0x0017D2B8 public static ProPostDanmakuEntry PostDanmakuEntryToPBPostDanmakuEntry(PostDanmakuEntry entry) { return(new ProPostDanmakuEntry { Turn = entry.Turn, Content = entry.Content }); }
// Token: 0x06004041 RID: 16449 RVA: 0x0012AF48 File Offset: 0x00129148 protected void TruncateDanmakuOrNot(PostDanmakuEntry entry) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_TruncateDanmakuOrNotPostDanmakuEntry_hotfix != null) { this.m_TruncateDanmakuOrNotPostDanmakuEntry_hotfix.call(new object[] { this, entry }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (entry.Content.Length > this.m_configDataLoader.ConfigableConstId_MaxLevelDanmakuEntryLength) { entry.Content = entry.Content.Substring(0, this.m_configDataLoader.ConfigableConstId_ChatMessageMaxLength); } }
// Token: 0x06004049 RID: 16457 RVA: 0x0012B2E0 File Offset: 0x001294E0 public void TruncateDanmakuOrNot(PostDanmakuEntry entry) { this.m_owner.TruncateDanmakuOrNot(entry); }