Class GameSessionStartData
java.lang.Object
live.crowdcontrol.cc4j.websocket.http.GameSessionStartData
Data to be encoded as JSON and sent when starting a game session.
-
Constructor Summary
ConstructorsConstructorDescriptionGameSessionStartData(@NotNull String gamePackID) Creates data.GameSessionStartData(@NotNull String gamePackID, @Nullable List<CCEffectReport> effectReportArgs) Creates data. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<CCEffectReport> Gets the optional list of effect report statuses.@NotNull StringGets the ID of the game pack to load.
-
Constructor Details
-
GameSessionStartData
public GameSessionStartData(@NotNull @NotNull String gamePackID, @Nullable @Nullable List<CCEffectReport> effectReportArgs) Creates data.- Parameters:
gamePackID- ID of your game packeffectReportArgs- optional effect reports
-
GameSessionStartData
Creates data.- Parameters:
gamePackID- ID of your game pack
-
-
Method Details
-
getGamePackId
Gets the ID of the game pack to load.- Returns:
- gamePackID
-
getEffectReportArgs
Gets the optional list of effect report statuses.- Returns:
- effect reports
-