code: func (p *Parser) onCDemoClassInfo(m *dota.CDemoClassInfo) error {
  	for _, c := range m.GetClasses() {
  		classId := c.GetClassId()
  		networkName := c.GetNetworkName()
  
  		class := &class{
  			classId:    classId,
  			name:       networkName,
  			serializer: p.serializers[networkName],
  		}
  		p.classesById[class.classId] = class
  		p.classesByName[class.name] = class
  	}
  
  	p.classInfo = true
  
  	p.updateInstanceBaseline()
  
  	return nil
  }
docs: // Internal callback for OnCDemoClassInfo.