Class GameSessionStartPayload
java.lang.Object
live.crowdcontrol.cc4j.websocket.http.GameSessionStartPayload
Data returned by the server when trying to start a session.
-
Constructor Summary
ConstructorsConstructorDescriptionGameSessionStartPayload(@NotNull String gameSessionID) Creates data.GameSessionStartPayload(@NotNull String gameSessionID, @Nullable String createdAt) Creates data. -
Method Summary
-
Constructor Details
-
GameSessionStartPayload
public GameSessionStartPayload(@NotNull @NotNull String gameSessionID, @Nullable @Nullable String createdAt) Creates data.- Parameters:
gameSessionID- ID of the game sessioncreatedAt- when the session was started
-
GameSessionStartPayload
Creates data.- Parameters:
gameSessionID- ID of the game session
-
-
Method Details
-
getGameSessionId
Gets the ID of the game session.- Returns:
- gameSessionID
-
getCreatedAt
Gets the time the session started at.- Returns:
- createdAt
-