Esempio n. 1
0
 public override Task Write(SourceBufferWriter buf, SourceDemo demo)
 {
     buf.Write(TransferId);
     buf.Write(FileName);
     buf.Write(FileRequested);
     return(Task.CompletedTask);
 }
Esempio n. 2
0
 public override Task Write(SourceBufferWriter buf, SourceDemo demo)
 {
     if (Rest != null)
     {
         buf.Write(Rest);
     }
     return(Task.CompletedTask);
 }
Esempio n. 3
0
 public override Task Write(SourceBufferWriter buf, SourceDemo demo)
 {
     foreach (var info in Info)
     {
         buf.Write((int)info.Flags);
         buf.Write(info.ViewOrigin);
         buf.Write(info.ViewAngles);
         buf.Write(info.LocalViewAngles);
         buf.Write(info.ViewOrigin2);
         buf.Write(info.ViewAngles2);
         buf.Write(info.LocalViewAngles2);
     }
     buf.Write(InSequence);
     buf.Write(OutSequence);
     buf.WriteBufferield(Buffer.Data);
     return(Task.CompletedTask);
 }
Esempio n. 4
0
 public override Task Write(SourceBufferWriter buf, SourceDemo demo)
 {
     buf.Write(CmdNumber);
     buf.WriteBufferield(Buffer.Data);
     return(Task.CompletedTask);
 }
 public override Task Write(SourceBufferWriter buf, SourceDemo demo)
 {
     buf.Write(VoiceCodec);
     buf.Write(Quality);
     return(Task.CompletedTask);
 }
 public override Task Write(SourceBufferWriter buf, SourceDemo demo)
 {
     buf.Write(Text);
     return(Task.CompletedTask);
 }