Class LobbyInfo.Builder
- java.lang.Object
-
- com.rivet.api.resources.matchmaker.common.types.LobbyInfo.Builder
-
- All Implemented Interfaces:
LobbyInfo._FinalStage,LobbyInfo.GameModeIdStage,LobbyInfo.LobbyIdStage,LobbyInfo.MaxPlayersDirectStage,LobbyInfo.MaxPlayersNormalStage,LobbyInfo.MaxPlayersPartyStage,LobbyInfo.RegionIdStage,LobbyInfo.TotalPlayerCountStage
- Enclosing class:
- LobbyInfo
public static final class LobbyInfo.Builder extends java.lang.Object implements LobbyInfo.RegionIdStage, LobbyInfo.GameModeIdStage, LobbyInfo.LobbyIdStage, LobbyInfo.MaxPlayersNormalStage, LobbyInfo.MaxPlayersDirectStage, LobbyInfo.MaxPlayersPartyStage, LobbyInfo.TotalPlayerCountStage, LobbyInfo._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LobbyInfobuild()LobbyInfo.Builderfrom(LobbyInfo other)LobbyInfo.LobbyIdStagegameModeId(java.lang.String gameModeId)LobbyInfo.MaxPlayersNormalStagelobbyId(java.util.UUID lobbyId)LobbyInfo.MaxPlayersPartyStagemaxPlayersDirect(int maxPlayersDirect)LobbyInfo.MaxPlayersDirectStagemaxPlayersNormal(int maxPlayersNormal)LobbyInfo.TotalPlayerCountStagemaxPlayersParty(int maxPlayersParty)LobbyInfo.GameModeIdStageregionId(java.lang.String regionId)LobbyInfo._FinalStagestate(java.lang.Object state)LobbyInfo._FinalStagestate(java.util.Optional<java.lang.Object> state)LobbyInfo._FinalStagetotalPlayerCount(int totalPlayerCount)
-
-
-
Method Detail
-
from
public LobbyInfo.Builder from(LobbyInfo other)
- Specified by:
fromin interfaceLobbyInfo.RegionIdStage
-
regionId
public LobbyInfo.GameModeIdStage regionId(java.lang.String regionId)
- Specified by:
regionIdin interfaceLobbyInfo.RegionIdStage
-
gameModeId
public LobbyInfo.LobbyIdStage gameModeId(java.lang.String gameModeId)
- Specified by:
gameModeIdin interfaceLobbyInfo.GameModeIdStage
-
lobbyId
public LobbyInfo.MaxPlayersNormalStage lobbyId(java.util.UUID lobbyId)
- Specified by:
lobbyIdin interfaceLobbyInfo.LobbyIdStage
-
maxPlayersNormal
public LobbyInfo.MaxPlayersDirectStage maxPlayersNormal(int maxPlayersNormal)
- Specified by:
maxPlayersNormalin interfaceLobbyInfo.MaxPlayersNormalStage
-
maxPlayersDirect
public LobbyInfo.MaxPlayersPartyStage maxPlayersDirect(int maxPlayersDirect)
- Specified by:
maxPlayersDirectin interfaceLobbyInfo.MaxPlayersDirectStage
-
maxPlayersParty
public LobbyInfo.TotalPlayerCountStage maxPlayersParty(int maxPlayersParty)
- Specified by:
maxPlayersPartyin interfaceLobbyInfo.MaxPlayersPartyStage
-
totalPlayerCount
public LobbyInfo._FinalStage totalPlayerCount(int totalPlayerCount)
- Specified by:
totalPlayerCountin interfaceLobbyInfo.TotalPlayerCountStage
-
state
public LobbyInfo._FinalStage state(java.lang.Object state)
- Specified by:
statein interfaceLobbyInfo._FinalStage
-
state
public LobbyInfo._FinalStage state(java.util.Optional<java.lang.Object> state)
- Specified by:
statein interfaceLobbyInfo._FinalStage
-
build
public LobbyInfo build()
- Specified by:
buildin interfaceLobbyInfo._FinalStage
-
-