Skip to content

Commit d47a55d

Browse files
authored
events: update docs on GenericGameEvent
signals any game-event, not just otherwise unhandled ones
1 parent 20b0897 commit d47a55d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

events/events.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,8 @@ type ParserWarn struct {
471471
Message string
472472
}
473473

474-
// GenericGameEvent signals a otherwise unhandled event.
474+
// GenericGameEvent signals any game-event.
475+
// It contains the raw data as received from the net-message.
475476
type GenericGameEvent struct {
476477
Name string
477478
Data map[string]*msg.CSVCMsg_GameEventKeyT

0 commit comments

Comments
 (0)