mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 17:29:39 -05:00
Began rework to dynamic gifts. Did not fetch from url yet.
This commit is contained in:
@@ -23,18 +23,18 @@
|
||||
package io.github.jwdeveloper.tiktok;
|
||||
|
||||
import io.github.jwdeveloper.tiktok.data.events.common.TikTokEvent;
|
||||
import io.github.jwdeveloper.tiktok.data.models.gifts.GiftOld;
|
||||
import io.github.jwdeveloper.tiktok.data.models.gifts.*;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
public class CustomEventExample {
|
||||
@AllArgsConstructor
|
||||
public static class CheapGiftEvent extends TikTokEvent {
|
||||
GiftOld gift;
|
||||
Gift gift;
|
||||
}
|
||||
|
||||
@AllArgsConstructor
|
||||
public static class ExpensiveGiftEvent extends TikTokEvent {
|
||||
GiftOld gift;
|
||||
Gift gift;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
@@ -62,4 +62,4 @@ public class CustomEventExample {
|
||||
})
|
||||
.buildAndConnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user