| 6046 | } |
| 6047 | |
| 6048 | APIEvent EventBrowser::GetAPIEventForEID(uint32_t eid) |
| 6049 | { |
| 6050 | const ActionDescription *action = GetActionForEID(eid); |
| 6051 | |
| 6052 | if(action) |
| 6053 | { |
| 6054 | for(const APIEvent &ev : action->events) |
| 6055 | { |
| 6056 | if(ev.eventId == eid) |
| 6057 | return ev; |
| 6058 | } |
| 6059 | } |
| 6060 | |
| 6061 | return APIEvent(); |
| 6062 | } |
| 6063 | |
| 6064 | const ActionDescription *EventBrowser::GetActionForEID(uint32_t eid) |
| 6065 | { |