Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public void ProcessHeader(ref Byte[] header)
 {
     if (demo.ConvertToCurrentNetworkProtocol())
     {
         header[12] = HalfLifeDemo.CurrentNetworkProtocol;
     }
     else if (demo.ConvertNetworkProtocol())
     {
         header[12] = 47;
     }
 }