Exemplo n.º 1
0
 public override Task Read(SourceBufferReader buf, SourceDemo demo)
 {
     Position          = buf.ReadVectorBitCoord();
     DecalTextureIndex = buf.ReadUBits(9);
     if (buf.ReadBoolean())
     {
         EntityIndex = buf.ReadUBits(11);
         ModelIndex  = buf.ReadUBits(11);
     }
     LowPriority = buf.ReadBoolean();
     return(Task.CompletedTask);
 }