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); }
public override Task Write(SourceBufferWriter buf, SourceDemo demo) { buf.WriteBufferield(Buffer.Data); return(Task.CompletedTask); }