skadistats / clarity-examples

Example code for clarity
BSD 3-Clause "New" or "Revised" License
113 stars 37 forks source link

How do I know the meaning of num? #45

Closed zycjiemozyc closed 1 year ago

zycjiemozyc commented 4 years ago

Hello, your work is very helpful for me, but I still have some questions. For example in gameevents there is 'event type = 21' What does the number '21' mean? Is there any file show the numbers' meaning? Thanks!

spheenik commented 4 years ago

Content of GameEvents is defined by a GameEventDescriptor. See GameEvent.toString to see how the event and it's descriptor can be used to get a human readable representation of it.