public Boolean ShouldParseGameDataMessages(Byte frameType) { return(demo.ConvertNetworkProtocol() || frameType == 0 || (GameManager.CanRemoveFadeToBlack(demo) && demo.Perspective == Demo.Perspectives.Pov && Config.Settings.PlaybackRemoveFtb) || (GameManager.CanRemoveHltvAds(demo) && Config.Settings.PlaybackRemoveHltvAds) || (GameManager.CanRemoveHltvSlowMotion(demo) && Config.Settings.PlaybackRemoveHltvSlowMotion)); }
public void ProcessHeader(ref Byte[] header) { if (demo.ConvertToCurrentNetworkProtocol()) { header[12] = HalfLifeDemo.CurrentNetworkProtocol; } else if (demo.ConvertNetworkProtocol()) { header[12] = 47; } }