code: func (e *GameEvent) getEventKey(name string) (*dota.CMsgSource1LegacyGameEventKeyT, error) {
  	f, ok := e.t.fields[name]
  	if !ok {
  		return nil, _errorf("field %s: missing", name)
  	}
  
  	if f.i > len(e.m.GetKeys()) {
  		return nil, _errorf("field %s: %d out of range", name, f.i)
  	}
  
  	return e.m.GetKeys()[f.i], nil
  }
docs: // Finds the key in the game event which corresponds to a given name.