code: func (c *Callbacks) OnCNETMsg_Disconnect(fn func(*dota.CNETMsg_Disconnect) error) {
  	c.onCNETMsg_Disconnect = append(c.onCNETMsg_Disconnect, fn)
  }
docs: // OnCNETMsg_Disconnect registers a callback for NET_Messages_net_Disconnect