Class GameSessionStartData

java.lang.Object
live.crowdcontrol.cc4j.websocket.http.GameSessionStartData

public class GameSessionStartData extends Object
Data to be encoded as JSON and sent when starting a game session.
  • Constructor Details

    • GameSessionStartData

      public GameSessionStartData(@NotNull @NotNull String gamePackID, @Nullable @Nullable List<CCEffectReport> effectReportArgs)
      Creates data.
      Parameters:
      gamePackID - ID of your game pack
      effectReportArgs - optional effect reports
    • GameSessionStartData

      public GameSessionStartData(@NotNull @NotNull String gamePackID)
      Creates data.
      Parameters:
      gamePackID - ID of your game pack
  • Method Details

    • getGamePackId

      @NotNull public @NotNull String getGamePackId()
      Gets the ID of the game pack to load.
      Returns:
      gamePackID
    • getEffectReportArgs

      @Nullable public @Nullable List<CCEffectReport> getEffectReportArgs()
      Gets the optional list of effect report statuses.
      Returns:
      effect reports