Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 7b62fdd

Browse files
committed
[Constellation] Added support for the HelloEvent
1 parent f975400 commit 7b62fdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/mixer/api/resource/constellation/AbstractConstellationEvent.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.mixer.api.resource.constellation;
22

33
import com.google.gson.annotations.SerializedName;
4+
import com.mixer.api.resource.constellation.events.HelloEvent;
45
import com.mixer.api.resource.constellation.events.LiveEvent;
56

67
public abstract class AbstractConstellationEvent<T extends AbstractConstellationEvent.EventData> extends AbstractConstellationDatagram {
@@ -13,7 +14,8 @@ public AbstractConstellationEvent() {
1314

1415
public static abstract class EventData {}
1516
public static enum EventType {
16-
@SerializedName("live") LIVE (LiveEvent.class);
17+
@SerializedName("live") LIVE (LiveEvent.class),
18+
@SerializedName("hello") HELLO (HelloEvent.class),
1719

1820
private final Class<? extends AbstractConstellationEvent> correspondingClass;
1921

0 commit comments

Comments
 (0)