code: func (c *Callbacks) OnCUserMessageAmmoDenied(fn func(*dota.CUserMessageAmmoDenied) error) {
  	c.onCUserMessageAmmoDenied = append(c.onCUserMessageAmmoDenied, fn)
  }
docs: // OnCUserMessageAmmoDenied registers a callback for EBaseUserMessages_UM_AmmoDenied