How to get a list of an event's parameters

So as the title says, I need to know what parameters does an event have and put all of them inside a list. I need to do it inside of script and without using emitter player component. How can I do it?

You are able to get a list of all parameters in an event by using a combination of getParameterDescriptionCount() and getParameterById()