Example #1
0
 static void svc_bspdecal(BitBuffer bb, TreeNode node)
 {
     node.Nodes.Add("Position: " + bb.ReadVecCoord());
     node.Nodes.Add("Decal texture index: " + bb.ReadBits(9));
     if (bb.ReadBool())
     {
         node.Nodes.Add("Entity index: " + bb.ReadBits(11));
         node.Nodes.Add("Model index: " + bb.ReadBits(12));
     }
     node.Nodes.Add("Low priority: " + bb.ReadBool());
 }
Example #2
0
 static void svc_bspdecal(BitBuffer bb, TreeNode node)
 {
     node.Nodes.Add("Position: " + bb.ReadVecCoord());
     node.Nodes.Add("Decal texture index: " + bb.ReadBits(9));
     if (bb.ReadBool())
     {
         node.Nodes.Add("Entity index: " + bb.ReadBits(11));
         node.Nodes.Add("Model index: " + bb.ReadBits(12));
     }
     node.Nodes.Add("Low priority: " + bb.ReadBool());
 }